Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001701/0.001701, allocations: 95.2 kB / 20.43 MB, free: 4.141 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002386/0.002386, allocations: 165 kB / 23.79 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9187/0.9187, allocations: 158.6 MB / 185.7 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1301/0.1301, allocations: 32.37 MB / 270.4 MB, free: 14.81 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12") translateModel(ModelicaTest.Tables.CombiTable2D.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.225e-06/2.225e-06, allocations: 0 / 347.7 MB, free: 9.449 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.626e-05/2.848e-05, allocations: 6.25 kB / 347.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test12): time 0.002006/0.002035, allocations: 1.664 MB / 349.3 MB, free: 7.77 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008807/0.002915, allocations: 1.052 MB / 350.4 MB, free: 6.711 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.292e-05/0.002978, allocations: 0 / 350.4 MB, free: 6.711 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002746/0.003253, allocations: 27.84 kB / 350.4 MB, free: 6.684 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002582/0.003511, allocations: 47.66 kB / 350.5 MB, free: 6.637 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002392/0.00375, allocations: 111.7 kB / 350.6 MB, free: 6.527 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000121/0.003871, allocations: 63.77 kB / 350.6 MB, free: 6.465 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.477e-05/0.003956, allocations: 12.17 kB / 350.7 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.206e-05/0.004008, allocations: 35.91 kB / 350.7 MB, free: 6.418 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.431e-05/0.004083, allocations: 19.91 kB / 350.7 MB, free: 6.398 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.004099, allocations: 7.938 kB / 350.7 MB, free: 6.391 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.253e-05/0.004181, allocations: 47.92 kB / 350.8 MB, free: 6.344 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.982e-05/0.004231, allocations: 15.97 kB / 350.8 MB, free: 6.328 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.024e-05/0.004251, allocations: 19.92 kB / 350.8 MB, free: 6.309 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.004394, allocations: 87.66 kB / 350.9 MB, free: 6.223 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.004396, allocations: 4 kB / 350.9 MB, free: 6.219 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.004397, allocations: 0 / 350.9 MB, free: 6.219 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.004401, allocations: 0 / 350.9 MB, free: 6.219 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003358/0.004737, allocations: 416.2 kB / 351.3 MB, free: 5.777 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.004772, allocations: 8.031 kB / 351.3 MB, free: 5.77 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.347e-05/0.004816, allocations: 4.938 kB / 351.3 MB, free: 5.766 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.004926, allocations: 136.4 kB / 351.4 MB, free: 5.605 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-06/0.004935, allocations: 4.375 kB / 351.4 MB, free: 5.602 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.004953, allocations: 384 / 351.4 MB, free: 5.602 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.005079, allocations: 116 kB / 351.6 MB, free: 5.465 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.005089, allocations: 192 / 351.6 MB, free: 5.465 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.005098, allocations: 3.938 kB / 351.6 MB, free: 5.461 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.005104, allocations: 3.938 kB / 351.6 MB, free: 5.457 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.206e-05/0.005136, allocations: 11.98 kB / 351.6 MB, free: 5.445 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002344/0.005371, allocations: 275.8 kB / 351.8 MB, free: 5.141 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.581e-05/0.005436, allocations: 39.09 kB / 351.9 MB, free: 5.09 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.377e-05/0.00546, allocations: 19.61 kB / 351.9 MB, free: 5.066 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.00548, allocations: 0 / 351.9 MB, free: 5.066 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.005505, allocations: 37.39 kB / 351.9 MB, free: 5.02 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 2.425e-06/0.005507, allocations: 4 kB / 351.9 MB, free: 5.016 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003785/0.005886, allocations: 121.4 kB / 352.1 MB, free: 4.891 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.37e-05/0.005909, allocations: 81.11 kB / 352.1 MB, free: 4.793 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.782e-05/0.005997, allocations: 181.9 kB / 352.3 MB, free: 4.598 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.194e-06/0.006004, allocations: 25.7 kB / 352.3 MB, free: 4.566 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.439e-05/0.006039, allocations: 142.8 kB / 352.5 MB, free: 4.422 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.023e-05/0.006059, allocations: 27.78 kB / 352.5 MB, free: 4.395 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-05/0.006086, allocations: 23.38 kB / 352.5 MB, free: 4.363 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.383e-05/0.00614, allocations: 0.4922 MB / 353 MB, free: 3.859 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.921e-05/0.006159, allocations: 8 kB / 353 MB, free: 3.852 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.999e-05/0.006189, allocations: 57.06 kB / 353.1 MB, free: 3.781 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.205e-05/0.006231, allocations: 35.86 kB / 353.1 MB, free: 3.742 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.006232, allocations: 0 / 353.1 MB, free: 3.742 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.294e-05/0.006305, allocations: 69.69 kB / 353.2 MB, free: 3.668 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.006318, allocations: 8 kB / 353.2 MB, free: 3.66 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.309e-06/0.006322, allocations: 0 / 353.2 MB, free: 3.66 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.006336, allocations: 0 / 353.2 MB, free: 3.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.845e-05/0.006415, allocations: 19.98 kB / 353.2 MB, free: 3.641 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.006419, allocations: 0 / 353.2 MB, free: 3.641 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.224e-05/0.006442, allocations: 4.281 kB / 353.2 MB, free: 3.637 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.006448, allocations: 8.031 kB / 353.2 MB, free: 3.629 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.398e-05/0.006492, allocations: 164.5 kB / 353.4 MB, free: 3.457 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.023e-05/0.006512, allocations: 15.94 kB / 353.4 MB, free: 3.441 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/0.006623, allocations: 82.03 kB / 353.5 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.006624, allocations: 4 kB / 353.5 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.006629, allocations: 0 / 353.5 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.006632, allocations: 0 / 353.5 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001959/0.006828, allocations: 333.3 kB / 353.8 MB, free: 2.988 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.006829, allocations: 0 / 353.8 MB, free: 2.988 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.632e-05/0.006866, allocations: 16 kB / 353.8 MB, free: 2.973 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.006868, allocations: 0 / 353.8 MB, free: 2.973 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.006876, allocations: 7.984 kB / 353.8 MB, free: 2.965 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.006876, allocations: 0 / 353.8 MB, free: 2.965 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.006877, allocations: 0 / 353.8 MB, free: 2.965 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.964e-05/0.006967, allocations: 219.8 kB / 354.1 MB, free: 2.73 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.766e-06/0.006976, allocations: 3.953 kB / 354.1 MB, free: 2.727 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.006989, allocations: 7.938 kB / 354.1 MB, free: 2.719 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.405e-05/0.007023, allocations: 4 kB / 354.1 MB, free: 2.715 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.007062, allocations: 3.984 kB / 354.1 MB, free: 2.711 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.007067, allocations: 8 kB / 354.1 MB, free: 2.703 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.932e-05/0.007107, allocations: 153.7 kB / 354.2 MB, free: 2.555 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007107, allocations: 0 / 354.2 MB, free: 2.555 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001727/0.007279, allocations: 23.88 kB / 354.3 MB, free: 2.531 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008614/0.008141, allocations: 424.1 kB / 354.7 MB, free: 2.203 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001145/0.008255, allocations: 43.61 kB / 354.7 MB, free: 2.156 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.008257, allocations: 0 / 354.7 MB, free: 2.156 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.552e-05/0.008282, allocations: 31.59 kB / 354.7 MB, free: 2.121 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.008498, allocations: 23.89 kB / 354.8 MB, free: 2.098 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003317/0.00883, allocations: 194.5 kB / 355 MB, free: 1.879 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.407e-05/0.008864, allocations: 63.34 kB / 355 MB, free: 1.797 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.101e-05/0.008905, allocations: 7.984 kB / 355 MB, free: 1.789 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.957e-05/0.008944, allocations: 16.5 kB / 355 MB, free: 1.773 MB / 282.7 MB Notification: Performance of SimCode: time 1.142e-06/0.008946, allocations: 0 / 355 MB, free: 1.773 MB / 282.7 MB Notification: Performance of Templates: time 0.00389/0.01284, allocations: 1.712 MB / 356.8 MB, free: 68 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test12/Test12.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2947656069882214]