Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.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.001144/0.001144, 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.001092/0.001092, 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 0.8706/0.8706, allocations: 158.6 MB / 185.7 MB, free: 2.91 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.1226/0.1226, allocations: 32.38 MB / 270.4 MB, free: 14.7 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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 347.7 MB, free: 9.383 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.014e-05/2.169e-05, allocations: 2.312 kB / 347.7 MB, free: 9.379 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.005589/0.00561, allocations: 1.825 MB / 349.6 MB, free: 7.547 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001112/0.006722, allocations: 0.8622 MB / 350.4 MB, free: 6.676 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.953e-05/0.006792, allocations: 7.938 kB / 350.4 MB, free: 6.668 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004077/0.007199, allocations: 311.2 kB / 350.7 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009715/0.01691, allocations: 219.1 kB / 351 MB, free: 6.148 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000276/0.01719, allocations: 139.6 kB / 351.1 MB, free: 6.012 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002191/0.01741, allocations: 251.2 kB / 351.3 MB, free: 5.766 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.796e-05/0.01745, allocations: 5.812 kB / 351.3 MB, free: 5.762 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.01758, allocations: 147.6 kB / 351.5 MB, free: 5.617 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.01774, allocations: 203.6 kB / 351.7 MB, free: 5.418 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.01776, allocations: 4 kB / 351.7 MB, free: 5.414 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.247e-05/0.01784, allocations: 51.91 kB / 351.7 MB, free: 5.363 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.317e-05/0.01794, allocations: 139.6 kB / 351.9 MB, free: 5.227 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.661e-05/0.018, allocations: 75.66 kB / 351.9 MB, free: 5.152 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002422/0.01825, allocations: 275 kB / 352.2 MB, free: 4.883 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.01825, allocations: 0 / 352.2 MB, free: 4.883 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.01825, allocations: 0 / 352.2 MB, free: 4.883 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.01825, allocations: 0 / 352.2 MB, free: 4.883 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005761/0.01883, allocations: 0.7864 MB / 353 MB, free: 4.059 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.01886, allocations: 8.031 kB / 353 MB, free: 4.051 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.509e-05/0.01893, allocations: 56.56 kB / 353.1 MB, free: 3.996 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002825/0.01921, allocations: 324.7 kB / 353.4 MB, free: 3.652 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.01923, allocations: 8.312 kB / 353.4 MB, free: 3.645 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.01924, allocations: 4.375 kB / 353.4 MB, free: 3.641 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.01938, allocations: 102.2 kB / 353.5 MB, free: 3.523 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.01938, allocations: 3.938 kB / 353.5 MB, free: 3.52 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.01939, allocations: 0 / 353.5 MB, free: 3.52 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.0194, allocations: 0 / 353.5 MB, free: 3.52 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.489e-05/0.01944, allocations: 19.98 kB / 353.5 MB, free: 3.5 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002366/0.01968, allocations: 308.2 kB / 353.8 MB, free: 3.16 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.01981, allocations: 106.1 kB / 353.9 MB, free: 3.031 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.188e-05/0.01985, allocations: 35.36 kB / 354 MB, free: 2.988 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.01987, allocations: 0 / 354 MB, free: 2.988 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001066/0.01997, allocations: 108.3 kB / 354.1 MB, free: 2.859 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 8.92e-07/0.01997, allocations: 0 / 354.1 MB, free: 2.859 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.009296/0.02927, allocations: 177.2 kB / 354.2 MB, free: 2.68 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.615e-05/0.0293, allocations: 85.11 kB / 354.3 MB, free: 2.578 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004772/0.02977, allocations: 0.6979 MB / 355 MB, free: 1.863 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.02978, allocations: 25.7 kB / 355 MB, free: 1.832 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.02991, allocations: 298.8 kB / 355.3 MB, free: 1.535 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.463e-05/0.02994, allocations: 43.72 kB / 355.4 MB, free: 1.492 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.843e-05/0.02998, allocations: 31.36 kB / 355.4 MB, free: 1.453 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.126e-05/0.03006, allocations: 0.5626 MB / 356 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.141e-05/0.03009, allocations: 8 kB / 356 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.329e-05/0.03014, allocations: 58.72 kB / 356 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.745e-05/0.03022, allocations: 75.19 kB / 356.1 MB, free: 0.707 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.03023, allocations: 0 / 356.1 MB, free: 0.707 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001975/0.03042, allocations: 161.2 kB / 356.3 MB, free: 0.543 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.03044, allocations: 4 kB / 356.3 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.03044, allocations: 3.938 kB / 356.3 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.03046, allocations: 4 kB / 356.3 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.03056, allocations: 19.98 kB / 356.3 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.03057, allocations: 0 / 356.3 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.475e-05/0.03064, allocations: 19.83 kB / 356.3 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.03065, allocations: 7.984 kB / 356.3 MB, free: 496 kB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.707e-05/0.03073, allocations: 172.5 kB / 356.5 MB, free: 312 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.086e-05/0.03078, allocations: 51.67 kB / 356.5 MB, free: 260 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002521/0.03103, allocations: 165.7 kB / 356.7 MB, free: 84 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.03104, allocations: 7.938 kB / 356.7 MB, free: 76 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.03105, allocations: 3.984 kB / 356.7 MB, free: 72 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.03105, allocations: 0 / 356.7 MB, free: 72 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003292/0.03138, allocations: 304.5 kB / 357 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.03138, allocations: 4.25 kB / 357 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.018e-05/0.03143, allocations: 12 kB / 357 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.03144, allocations: 0 / 357 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.03145, allocations: 7.984 kB / 357 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.03146, allocations: 7.938 kB / 357 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.03146, allocations: 0 / 357 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002857/0.03174, allocations: 215.7 kB / 357.3 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.952e-05/0.03184, allocations: 59.66 kB / 357.3 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.124e-05/0.03188, allocations: 0 / 357.3 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.626e-05/0.03196, allocations: 11.94 kB / 357.3 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006064/0.03802, allocations: 7.984 kB / 357.3 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-05/0.03804, allocations: 7.984 kB / 357.3 MB, free: 15.38 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004184/0.03846, allocations: 478.8 kB / 357.8 MB, free: 14.92 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.03846, allocations: 3.938 kB / 357.8 MB, free: 14.91 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002562/0.03872, allocations: 47.94 kB / 357.9 MB, free: 14.87 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001055/0.03977, allocations: 397.7 kB / 358.3 MB, free: 14.57 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002041/0.03998, allocations: 71.59 kB / 358.3 MB, free: 14.49 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.03998, allocations: 0 / 358.3 MB, free: 14.49 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.392e-05/0.04005, allocations: 39.66 kB / 358.4 MB, free: 14.45 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004037/0.04046, allocations: 78.52 kB / 358.4 MB, free: 14.38 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006921/0.04738, allocations: 0.6628 MB / 359.1 MB, free: 13.68 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.038e-05/0.04747, allocations: 124.2 kB / 359.2 MB, free: 13.54 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.779e-05/0.04754, allocations: 43.44 kB / 359.3 MB, free: 13.5 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.131e-05/0.04761, allocations: 36.5 kB / 359.3 MB, free: 13.46 MB / 298.7 MB Notification: Performance of SimCode: time 5.92e-07/0.04761, allocations: 0 / 359.3 MB, free: 13.46 MB / 298.7 MB Notification: Performance of Templates: time 0.02199/0.0696, allocations: 4.006 MB / 363.3 MB, free: 9.473 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.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.28874953975901]