Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.001995/0.001995, allocations: 88.31 kB / 20.96 MB, free: 3.473 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.002704/0.002704, allocations: 161.7 kB / 24.27 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.553/1.553, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3762/0.3762, allocations: 34.26 MB / 295.3 MB, free: 0.6641 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 377.4 MB, free: 2.867 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.573e-05/2.741e-05, allocations: 2.312 kB / 377.4 MB, free: 2.863 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003985/0.004013, allocations: 1.875 MB / 379.3 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002425/0.006437, allocations: 1.084 MB / 380.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001407/0.006578, allocations: 3.938 kB / 380.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005684/0.007147, allocations: 255.2 kB / 380.6 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006006/0.007747, allocations: 243.1 kB / 380.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003441/0.008091, allocations: 119.5 kB / 381 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004609/0.008552, allocations: 279.2 kB / 381.2 MB, free: 15 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.008665, allocations: 17.95 kB / 381.2 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003181/0.008983, allocations: 159.6 kB / 381.4 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000326/0.009309, allocations: 195.6 kB / 381.6 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.889e-05/0.009348, allocations: 8 kB / 381.6 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001851/0.009533, allocations: 67.91 kB / 381.7 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.009648, allocations: 67.77 kB / 381.7 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.604e-05/0.009744, allocations: 47.72 kB / 381.8 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004481/0.01019, allocations: 247.1 kB / 382 MB, free: 14.21 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.0102, allocations: 4 kB / 382 MB, free: 14.21 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.0102, allocations: 0 / 382 MB, free: 14.21 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.01021, allocations: 0 / 382 MB, free: 14.21 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001014/0.01123, allocations: 0.5157 MB / 382.5 MB, free: 13.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.01127, allocations: 12.03 kB / 382.5 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001253/0.0114, allocations: 44.7 kB / 382.6 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004282/0.01183, allocations: 232.1 kB / 382.8 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.01184, allocations: 4.375 kB / 382.8 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.269e-05/0.01188, allocations: 8.375 kB / 382.8 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002788/0.01215, allocations: 115.8 kB / 382.9 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.01217, allocations: 3.938 kB / 382.9 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.01218, allocations: 0 / 382.9 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.01219, allocations: 4 kB / 383 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001677/0.01236, allocations: 55.94 kB / 383 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006893/0.01305, allocations: 424.3 kB / 383.4 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004639/0.01351, allocations: 125.2 kB / 383.5 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.01363, allocations: 41.83 kB / 383.6 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.01365, allocations: 0 / 383.6 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002684/0.01392, allocations: 117.1 kB / 383.7 MB, free: 12.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.222e-06/0.01392, allocations: 0 / 383.7 MB, free: 12.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001638/0.01556, allocations: 0.5475 MB / 384.2 MB, free: 11.83 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.499e-05/0.01564, allocations: 81.05 kB / 384.3 MB, free: 11.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006658/0.0163, allocations: 0.4977 MB / 384.8 MB, free: 11.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.454e-05/0.01634, allocations: 33.7 kB / 384.9 MB, free: 11.19 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001588/0.01649, allocations: 168.6 kB / 385 MB, free: 11.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.585e-05/0.01659, allocations: 83.36 kB / 385.1 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.814e-05/0.01667, allocations: 41.7 kB / 385.1 MB, free: 10.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002176/0.01689, allocations: 350.8 kB / 385.5 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.01703, allocations: 55.97 kB / 385.5 MB, free: 10.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001926/0.01723, allocations: 99.33 kB / 385.6 MB, free: 10.37 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003338/0.01756, allocations: 167.4 kB / 385.8 MB, free: 10.2 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.01756, allocations: 0 / 385.8 MB, free: 10.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005119/0.01807, allocations: 249.3 kB / 386 MB, free: 9.945 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.01809, allocations: 4.062 kB / 386 MB, free: 9.941 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.0181, allocations: 4 kB / 386.1 MB, free: 9.938 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.01812, allocations: 4 kB / 386.1 MB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001812/0.0183, allocations: 43.92 kB / 386.1 MB, free: 9.891 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.01831, allocations: 7.938 kB / 386.1 MB, free: 9.883 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.517e-05/0.01841, allocations: 11.98 kB / 386.1 MB, free: 9.871 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.931e-05/0.01843, allocations: 8 kB / 386.1 MB, free: 9.863 MB / 362.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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 0.0002077/0.01863, allocations: 173.8 kB / 386.3 MB, free: 9.684 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.568e-05/0.01871, allocations: 39.77 kB / 386.3 MB, free: 9.645 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006507/0.01936, allocations: 289.3 kB / 386.6 MB, free: 9.355 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/0.01937, allocations: 4 kB / 386.6 MB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.01938, allocations: 3.938 kB / 386.6 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.01938, allocations: 3.984 kB / 386.6 MB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.02049, allocations: 0.6762 MB / 387.3 MB, free: 8.617 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.0205, allocations: 4 kB / 387.3 MB, free: 8.613 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.0206, allocations: 31.92 kB / 387.3 MB, free: 8.582 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.02061, allocations: 4 kB / 387.3 MB, free: 8.578 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.131e-05/0.02063, allocations: 12.12 kB / 387.4 MB, free: 8.566 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.02063, allocations: 3.984 kB / 387.4 MB, free: 8.562 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.02064, allocations: 4 kB / 387.4 MB, free: 8.559 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006673/0.0213, allocations: 453.7 kB / 387.8 MB, free: 8.086 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.987e-05/0.02135, allocations: 27.77 kB / 387.8 MB, free: 8.059 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.67e-05/0.0214, allocations: 12 kB / 387.8 MB, free: 8.047 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.02156, allocations: 15.92 kB / 387.9 MB, free: 8.031 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.691e-05/0.02163, allocations: 19.91 kB / 387.9 MB, free: 8.012 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.152e-05/0.02166, allocations: 16 kB / 387.9 MB, free: 7.996 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004688/0.02213, allocations: 387 kB / 388.3 MB, free: 7.621 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02213, allocations: 0 / 388.3 MB, free: 7.621 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003821/0.02251, allocations: 51.94 kB / 388.3 MB, free: 7.57 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * 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.002532/0.02504, allocations: 0.5442 MB / 388.9 MB, free: 7.266 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004166/0.02546, allocations: 167.5 kB / 389 MB, free: 7.102 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.02546, allocations: 3.938 kB / 389 MB, free: 7.098 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001851/0.02565, allocations: 76.03 kB / 389.1 MB, free: 7.023 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006137/0.02626, allocations: 69.45 kB / 389.2 MB, free: 6.957 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.02737, allocations: 0.6226 MB / 389.8 MB, free: 6.293 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002206/0.02759, allocations: 182.3 kB / 390 MB, free: 6.098 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001185/0.02771, allocations: 45.92 kB / 390 MB, free: 6.051 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.981e-05/0.02779, allocations: 32.48 kB / 390.1 MB, free: 6.02 MB / 362.7 MB Notification: Performance of SimCode: time 4.61e-07/0.02779, allocations: 0 / 390.1 MB, free: 6.02 MB / 362.7 MB Notification: Performance of Templates: time 0.008329/0.03612, allocations: 3.344 MB / 393.4 MB, free: 2.727 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.98370243399404]