Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.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.001025/0.001025, allocations: 91.22 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.001923/0.001923, allocations: 169 kB / 23.8 MB, free: 0.7734 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.07/1.07, allocations: 158.6 MB / 185.7 MB, free: 2.898 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.186/0.186, allocations: 32.37 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.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.655e-06/2.655e-06, allocations: 0 / 347.7 MB, free: 9.371 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.513e-05/3.778e-05, allocations: 2.312 kB / 347.7 MB, free: 9.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003232/0.00327, allocations: 1.701 MB / 349.4 MB, free: 7.656 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.004612, allocations: 0.7804 MB / 350.2 MB, free: 6.867 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.281e-05/0.004705, allocations: 0 / 350.2 MB, free: 6.867 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003984/0.005103, allocations: 55.75 kB / 350.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002702/0.005373, allocations: 63.69 kB / 350.3 MB, free: 6.75 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002439/0.005617, allocations: 75.72 kB / 350.4 MB, free: 6.676 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002008/0.005818, allocations: 103.6 kB / 350.5 MB, free: 6.574 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.955e-05/0.005868, allocations: 4 kB / 350.5 MB, free: 6.57 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.005976, allocations: 43.84 kB / 350.6 MB, free: 6.527 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.145e-05/0.006067, allocations: 27.91 kB / 350.6 MB, free: 6.5 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.006092, allocations: 8 kB / 350.6 MB, free: 6.492 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.659e-05/0.006178, allocations: 35.86 kB / 350.6 MB, free: 6.457 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.043e-05/0.006239, allocations: 23.92 kB / 350.7 MB, free: 6.434 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.802e-05/0.006287, allocations: 15.94 kB / 350.7 MB, free: 6.418 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002137/0.006501, allocations: 99.59 kB / 350.8 MB, free: 6.32 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.006504, allocations: 0 / 350.8 MB, free: 6.32 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.006504, allocations: 0 / 350.8 MB, free: 6.32 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.006509, allocations: 0 / 350.8 MB, free: 6.32 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005131/0.007022, allocations: 463.8 kB / 351.2 MB, free: 5.832 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.007069, allocations: 8.031 kB / 351.2 MB, free: 5.824 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.412e-05/0.007133, allocations: 24.83 kB / 351.3 MB, free: 5.801 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.007368, allocations: 156.3 kB / 351.4 MB, free: 5.621 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.413e-05/0.007402, allocations: 4.375 kB / 351.4 MB, free: 5.617 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.007418, allocations: 384 / 351.4 MB, free: 5.617 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.007594, allocations: 54.95 kB / 351.5 MB, free: 5.555 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.007607, allocations: 7.922 kB / 351.5 MB, free: 5.547 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.00762, allocations: 0 / 351.5 MB, free: 5.547 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.007633, allocations: 7.938 kB / 351.5 MB, free: 5.539 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.178e-05/0.007674, allocations: 7.984 kB / 351.5 MB, free: 5.531 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002032/0.007878, allocations: 152.6 kB / 351.6 MB, free: 5.348 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/0.00803, allocations: 55.05 kB / 351.7 MB, free: 5.281 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.824e-05/0.008068, allocations: 15.69 kB / 351.7 MB, free: 5.262 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.515e-05/0.008083, allocations: 0 / 351.7 MB, free: 5.262 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001384/0.008222, allocations: 65.05 kB / 351.8 MB, free: 5.184 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.463e-06/0.008223, allocations: 0 / 351.8 MB, free: 5.184 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002597/0.008483, allocations: 93.45 kB / 351.9 MB, free: 5.086 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.008517, allocations: 51.41 kB / 351.9 MB, free: 5.023 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.008704, allocations: 273.4 kB / 352.2 MB, free: 4.738 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.008718, allocations: 25.7 kB / 352.2 MB, free: 4.707 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.983e-05/0.008778, allocations: 170.9 kB / 352.4 MB, free: 4.535 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.132e-05/0.008819, allocations: 15.83 kB / 352.4 MB, free: 4.52 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.051e-05/0.00886, allocations: 27.36 kB / 352.4 MB, free: 4.484 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.947e-05/0.008939, allocations: 0.5001 MB / 352.9 MB, free: 3.973 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.946e-05/0.008969, allocations: 8 kB / 352.9 MB, free: 3.965 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.723e-05/0.009006, allocations: 27.36 kB / 353 MB, free: 3.93 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.26e-05/0.009068, allocations: 43.56 kB / 353 MB, free: 3.879 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.009072, allocations: 4 kB / 353 MB, free: 3.875 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001242/0.009196, allocations: 77.59 kB / 353.1 MB, free: 3.793 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.009213, allocations: 4 kB / 353.1 MB, free: 3.789 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.00922, allocations: 3.938 kB / 353.1 MB, free: 3.785 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/0.009242, allocations: 0 / 353.1 MB, free: 3.785 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.039e-05/0.009333, allocations: 19.92 kB / 353.1 MB, free: 3.766 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.009339, allocations: 0 / 353.1 MB, free: 3.766 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.168e-05/0.00938, allocations: 0 / 353.1 MB, free: 3.766 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.009388, allocations: 4 kB / 353.1 MB, free: 3.762 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 7.251e-05/0.00946, allocations: 160.6 kB / 353.3 MB, free: 3.594 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.177e-05/0.009482, allocations: 15.91 kB / 353.3 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001766/0.009659, allocations: 90.78 kB / 353.4 MB, free: 3.48 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.009663, allocations: 4 kB / 353.4 MB, free: 3.477 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.009668, allocations: 3.938 kB / 353.4 MB, free: 3.473 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.009673, allocations: 0 / 353.4 MB, free: 3.473 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.009792, allocations: 152.6 kB / 353.5 MB, free: 3.289 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.009793, allocations: 0 / 353.5 MB, free: 3.289 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.951e-05/0.009822, allocations: 11.92 kB / 353.5 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.009825, allocations: 4 kB / 353.5 MB, free: 3.273 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.009835, allocations: 0 / 353.5 MB, free: 3.273 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.009838, allocations: 3.938 kB / 353.5 MB, free: 3.27 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.009839, allocations: 0 / 353.5 MB, free: 3.27 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001317/0.009971, allocations: 116.3 kB / 353.7 MB, free: 3.133 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.058e-05/0.009992, allocations: 19.89 kB / 353.7 MB, free: 3.113 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.01002, allocations: 192 / 353.7 MB, free: 3.113 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.694e-05/0.01005, allocations: 11.94 kB / 353.7 MB, free: 3.102 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.09e-05/0.0101, allocations: 3.984 kB / 353.7 MB, free: 3.098 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.01012, allocations: 4 kB / 353.7 MB, free: 3.094 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000131/0.01025, allocations: 192.3 kB / 353.9 MB, free: 2.906 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01025, allocations: 0 / 353.9 MB, free: 2.906 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002524/0.01051, allocations: 23.94 kB / 353.9 MB, free: 2.883 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001118/0.01162, allocations: 392.9 kB / 354.3 MB, free: 2.59 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001484/0.01177, allocations: 35.67 kB / 354.3 MB, free: 2.551 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.01177, allocations: 0 / 354.3 MB, free: 2.551 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.578e-05/0.01182, allocations: 27.61 kB / 354.3 MB, free: 2.52 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.0121, allocations: 37.16 kB / 354.4 MB, free: 2.484 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004813/0.01258, allocations: 229.7 kB / 354.6 MB, free: 2.234 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.739e-05/0.01263, allocations: 75.33 kB / 354.7 MB, free: 2.141 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.103e-05/0.01267, allocations: 4.5 kB / 354.7 MB, free: 2.137 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.751e-05/0.01271, allocations: 20.48 kB / 354.7 MB, free: 2.113 MB / 282.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01271, allocations: 0 / 354.7 MB, free: 2.113 MB / 282.7 MB Notification: Performance of Templates: time 0.005286/0.01799, allocations: 1.759 MB / 356.5 MB, free: 376 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.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.451572216115892]