Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.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.001256/0.001256, 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.001132/0.001132, 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 1.074/1.074, allocations: 158.6 MB / 185.7 MB, free: 2.914 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.1244/0.1244, allocations: 32.36 MB / 270.4 MB, free: 14.71 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.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 347.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.658e-05/2.886e-05, allocations: 8.219 kB / 347.7 MB, free: 9.434 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.001944/0.001973, allocations: 1.595 MB / 349.3 MB, free: 7.832 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005884/0.002562, allocations: 323.4 kB / 349.6 MB, free: 7.512 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.921e-05/0.002631, allocations: 0 / 349.6 MB, free: 7.512 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003058/0.002937, allocations: 19.86 kB / 349.6 MB, free: 7.492 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001979/0.003135, allocations: 47.7 kB / 349.7 MB, free: 7.445 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001963/0.003331, allocations: 67.78 kB / 349.7 MB, free: 7.379 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001397/0.003471, allocations: 59.78 kB / 349.8 MB, free: 7.32 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.003574, allocations: 7.984 kB / 349.8 MB, free: 7.312 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.482e-05/0.003629, allocations: 23.92 kB / 349.8 MB, free: 7.289 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.697e-05/0.003686, allocations: 15.98 kB / 349.8 MB, free: 7.273 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.003703, allocations: 8 kB / 349.8 MB, free: 7.266 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.028e-05/0.003774, allocations: 27.92 kB / 349.9 MB, free: 7.238 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.684e-05/0.00383, allocations: 11.98 kB / 349.9 MB, free: 7.227 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.76e-05/0.003858, allocations: 15.92 kB / 349.9 MB, free: 7.211 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001602/0.004018, allocations: 67.69 kB / 350 MB, free: 7.145 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.004021, allocations: 0 / 350 MB, free: 7.145 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.004022, allocations: 0 / 350 MB, free: 7.145 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.004028, allocations: 0 / 350 MB, free: 7.145 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004253/0.004453, allocations: 400.2 kB / 350.3 MB, free: 6.719 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.004496, allocations: 12.03 kB / 350.4 MB, free: 6.707 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.527e-05/0.004542, allocations: 16.83 kB / 350.4 MB, free: 6.691 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.004673, allocations: 144.3 kB / 350.5 MB, free: 6.523 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.004683, allocations: 4.375 kB / 350.5 MB, free: 6.52 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.00471, allocations: 4.375 kB / 350.5 MB, free: 6.516 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.004838, allocations: 54.89 kB / 350.6 MB, free: 6.453 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.004849, allocations: 4.188 kB / 350.6 MB, free: 6.449 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.004862, allocations: 4.125 kB / 350.6 MB, free: 6.445 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.00487, allocations: 0 / 350.6 MB, free: 6.445 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.988e-05/0.0049, allocations: 4 kB / 350.6 MB, free: 6.441 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002863/0.005186, allocations: 271.8 kB / 350.9 MB, free: 6.141 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.005361, allocations: 46.98 kB / 350.9 MB, free: 6.082 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.941e-05/0.00538, allocations: 11.69 kB / 350.9 MB, free: 6.066 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.005401, allocations: 3.938 kB / 350.9 MB, free: 6.062 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.005421, allocations: 37.39 kB / 351 MB, free: 6.016 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.954e-06/0.005423, allocations: 3.984 kB / 351 MB, free: 6.012 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003405/0.005764, allocations: 97.5 kB / 351.1 MB, free: 5.91 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/0.005788, allocations: 51.41 kB / 351.1 MB, free: 5.848 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.701e-05/0.005875, allocations: 204.2 kB / 351.3 MB, free: 5.633 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.39e-06/0.005881, allocations: 25.7 kB / 351.3 MB, free: 5.602 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.331e-05/0.005914, allocations: 142.8 kB / 351.5 MB, free: 5.457 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.005933, allocations: 15.91 kB / 351.5 MB, free: 5.441 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.793e-05/0.005961, allocations: 27.36 kB / 351.5 MB, free: 5.406 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.961e-05/0.00602, allocations: 0.4884 MB / 352 MB, free: 4.906 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.502e-05/0.006035, allocations: 7.984 kB / 352 MB, free: 4.898 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.253e-05/0.006048, allocations: 4 kB / 352 MB, free: 4.895 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.062e-05/0.006078, allocations: 31.81 kB / 352 MB, free: 4.859 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.006079, allocations: 0 / 352 MB, free: 4.859 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.757e-05/0.006137, allocations: 61.58 kB / 352.1 MB, free: 4.793 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.006149, allocations: 8 kB / 352.1 MB, free: 4.785 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.006154, allocations: 0 / 352.1 MB, free: 4.785 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.006168, allocations: 0 / 352.1 MB, free: 4.785 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.861e-05/0.006206, allocations: 12 kB / 352.1 MB, free: 4.773 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.006212, allocations: 3.984 kB / 352.1 MB, free: 4.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.565e-05/0.006228, allocations: 4 kB / 352.1 MB, free: 4.766 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-06/0.006233, allocations: 3.938 kB / 352.1 MB, free: 4.762 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 (5): * Single equations (assignments): 5 * 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.189e-05/0.006274, allocations: 160.6 kB / 352.3 MB, free: 4.594 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.663e-05/0.006291, allocations: 11.89 kB / 352.3 MB, free: 4.582 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.092e-05/0.006382, allocations: 66.08 kB / 352.4 MB, free: 4.512 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.006384, allocations: 0 / 352.4 MB, free: 4.512 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.006387, allocations: 0 / 352.4 MB, free: 4.512 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.006391, allocations: 4 kB / 352.4 MB, free: 4.508 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/0.006557, allocations: 321.4 kB / 352.7 MB, free: 4.152 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.006557, allocations: 0 / 352.7 MB, free: 4.152 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.458e-05/0.006582, allocations: 11.98 kB / 352.7 MB, free: 4.141 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.006583, allocations: 0 / 352.7 MB, free: 4.141 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.00659, allocations: 4 kB / 352.7 MB, free: 4.137 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.006591, allocations: 0 / 352.7 MB, free: 4.137 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.006592, allocations: 192 / 352.7 MB, free: 4.137 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.475e-05/0.006666, allocations: 215.8 kB / 352.9 MB, free: 3.906 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.573e-06/0.006673, allocations: 7.953 kB / 352.9 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.949e-06/0.006683, allocations: 0 / 352.9 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.765e-05/0.00671, allocations: 8 kB / 352.9 MB, free: 3.891 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.889e-05/0.006759, allocations: 7.984 kB / 352.9 MB, free: 3.883 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.006762, allocations: 0 / 352.9 MB, free: 3.883 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.642e-05/0.006798, allocations: 149.5 kB / 353.1 MB, free: 3.738 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006799, allocations: 0 / 353.1 MB, free: 3.738 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001655/0.006964, allocations: 23.92 kB / 353.1 MB, free: 3.715 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 (5): * Single equations (assignments): 5 * 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.000712/0.007676, allocations: 370.5 kB / 353.5 MB, free: 3.441 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.474e-05/0.007771, allocations: 31.67 kB / 353.5 MB, free: 3.406 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.007772, allocations: 0 / 353.5 MB, free: 3.406 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.905e-05/0.007791, allocations: 27.61 kB / 353.5 MB, free: 3.375 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002342/0.008025, allocations: 15.94 kB / 353.5 MB, free: 3.359 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002954/0.008321, allocations: 173.9 kB / 353.7 MB, free: 3.16 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.818e-05/0.008349, allocations: 67.28 kB / 353.8 MB, free: 3.074 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.359e-05/0.008373, allocations: 7.984 kB / 353.8 MB, free: 3.066 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.507e-05/0.008398, allocations: 12.5 kB / 353.8 MB, free: 3.055 MB / 282.7 MB Notification: Performance of SimCode: time 5.31e-07/0.008398, allocations: 0 / 353.8 MB, free: 3.055 MB / 282.7 MB Notification: Performance of Templates: time 0.003306/0.0117, allocations: 1.225 MB / 355 MB, free: 1.844 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.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.36142808618024]