Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.0009836/0.0009836, allocations: 80.31 kB / 22.21 MB, free: 2.285 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.001189/0.001189, allocations: 166 kB / 25.61 MB, free: 8.871 MB / 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 0.9123/0.9123, allocations: 177.1 MB / 206 MB, free: 4.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1557/0.1557, allocations: 32.8 MB / 295.4 MB, free: 15.39 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 377.4 MB, free: 25.51 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.421e-05/1.539e-05, allocations: 9.547 kB / 377.4 MB, free: 25.5 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.008285/0.008301, allocations: 1.918 MB / 379.3 MB, free: 23.57 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.009583, allocations: 1.091 MB / 380.4 MB, free: 22.47 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.586e-05/0.009669, allocations: 7.938 kB / 380.4 MB, free: 22.46 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000343/0.01001, allocations: 231.2 kB / 380.6 MB, free: 22.24 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003284/0.01034, allocations: 215.1 kB / 380.8 MB, free: 22.03 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002015/0.01054, allocations: 123.5 kB / 380.9 MB, free: 21.91 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002584/0.0108, allocations: 263.2 kB / 381.2 MB, free: 21.65 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.01091, allocations: 21.94 kB / 381.2 MB, free: 21.63 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001724/0.01108, allocations: 143.6 kB / 381.4 MB, free: 21.49 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001631/0.01125, allocations: 155.6 kB / 381.5 MB, free: 21.34 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.277e-05/0.01127, allocations: 8 kB / 381.5 MB, free: 21.33 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.01138, allocations: 71.91 kB / 381.6 MB, free: 21.26 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.341e-05/0.01145, allocations: 63.77 kB / 381.6 MB, free: 21.2 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.953e-05/0.01151, allocations: 47.78 kB / 381.7 MB, free: 21.15 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002395/0.01175, allocations: 199.1 kB / 381.9 MB, free: 20.95 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.01176, allocations: 0 / 381.9 MB, free: 20.95 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.01176, allocations: 0 / 381.9 MB, free: 20.95 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.01176, allocations: 0 / 381.9 MB, free: 20.95 MB / 314.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.0005012/0.01226, allocations: 0.6002 MB / 382.5 MB, free: 20.32 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.01229, allocations: 15.98 kB / 382.5 MB, free: 20.3 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.884e-05/0.01235, allocations: 32.75 kB / 382.5 MB, free: 20.27 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/0.01257, allocations: 232.5 kB / 382.8 MB, free: 20.01 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.01259, allocations: 8.375 kB / 382.8 MB, free: 20 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.01261, allocations: 4.375 kB / 382.8 MB, free: 20 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.01276, allocations: 114.2 kB / 382.9 MB, free: 19.87 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.01278, allocations: 3.938 kB / 382.9 MB, free: 19.87 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.01279, allocations: 4 kB / 382.9 MB, free: 19.86 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.01279, allocations: 7.938 kB / 382.9 MB, free: 19.86 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.71e-05/0.01284, allocations: 23.97 kB / 382.9 MB, free: 19.83 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003029/0.01314, allocations: 467.1 kB / 383.4 MB, free: 19.34 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.01332, allocations: 118 kB / 383.5 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.598e-05/0.01335, allocations: 39.55 kB / 383.5 MB, free: 19.16 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.01337, allocations: 7.938 kB / 383.5 MB, free: 19.15 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003492/0.01371, allocations: 108.4 kB / 383.6 MB, free: 19.02 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 1.763e-06/0.01372, allocations: 0 / 383.6 MB, free: 19.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007968/0.01451, allocations: 377.1 kB / 384 MB, free: 18.65 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.01454, allocations: 85.09 kB / 384.1 MB, free: 18.55 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002525/0.0148, allocations: 390.1 kB / 384.5 MB, free: 18.15 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.01482, allocations: 33.7 kB / 384.5 MB, free: 18.11 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.864e-05/0.0149, allocations: 219.2 kB / 384.7 MB, free: 17.89 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.17e-05/0.01496, allocations: 71.41 kB / 384.8 MB, free: 17.82 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.955e-05/0.01502, allocations: 55.28 kB / 384.9 MB, free: 17.76 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.937e-05/0.01509, allocations: 0.5235 MB / 385.4 MB, free: 17.23 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.504e-05/0.01514, allocations: 27.97 kB / 385.4 MB, free: 17.2 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.502e-05/0.0152, allocations: 70.7 kB / 385.5 MB, free: 17.11 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.01533, allocations: 110.7 kB / 385.6 MB, free: 16.99 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.01533, allocations: 4 kB / 385.6 MB, free: 16.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002331/0.01556, allocations: 188.9 kB / 385.8 MB, free: 16.8 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.01557, allocations: 4 kB / 385.8 MB, free: 16.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.01558, allocations: 0 / 385.8 MB, free: 16.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.01559, allocations: 4 kB / 385.8 MB, free: 16.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.01572, allocations: 47.91 kB / 385.8 MB, free: 16.74 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.01572, allocations: 4 kB / 385.8 MB, free: 16.74 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.308e-05/0.01579, allocations: 19.95 kB / 385.8 MB, free: 16.72 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.01581, allocations: 4 kB / 385.8 MB, free: 16.71 MB / 314.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 8.786e-05/0.01589, allocations: 176.5 kB / 386 MB, free: 16.53 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.129e-05/0.01595, allocations: 39.8 kB / 386.1 MB, free: 16.49 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002988/0.01624, allocations: 213.3 kB / 386.3 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.01625, allocations: 4 kB / 386.3 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.01625, allocations: 0 / 386.3 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.01626, allocations: 7.922 kB / 386.3 MB, free: 16.26 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005436/0.0168, allocations: 0.7025 MB / 387 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.0168, allocations: 4 kB / 387 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.084e-05/0.01688, allocations: 31.92 kB / 387 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.01688, allocations: 7.938 kB / 387 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.01689, allocations: 8 kB / 387 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.0169, allocations: 7.984 kB / 387 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.0169, allocations: 0 / 387 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002678/0.01717, allocations: 0.4926 MB / 387.5 MB, free: 14.92 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.728e-05/0.01719, allocations: 31.83 kB / 387.6 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.209e-05/0.01723, allocations: 15.98 kB / 387.6 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.01735, allocations: 8 kB / 387.6 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.233e-05/0.01739, allocations: 19.97 kB / 387.6 MB, free: 14.85 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.01741, allocations: 8 kB / 387.6 MB, free: 14.84 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001403/0.01755, allocations: 262.9 kB / 387.9 MB, free: 14.58 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01755, allocations: 0 / 387.9 MB, free: 14.58 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003238/0.01788, allocations: 47.94 kB / 387.9 MB, free: 14.54 MB / 314.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.001133/0.01901, allocations: 0.4897 MB / 388.4 MB, free: 14.23 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001602/0.01917, allocations: 115.5 kB / 388.5 MB, free: 14.12 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01917, allocations: 0 / 388.5 MB, free: 14.12 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.394e-05/0.01925, allocations: 63.53 kB / 388.6 MB, free: 14.05 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004348/0.01968, allocations: 74.47 kB / 388.7 MB, free: 13.98 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005356/0.02022, allocations: 0.4956 MB / 389.2 MB, free: 13.44 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.091e-05/0.02028, allocations: 108.1 kB / 389.3 MB, free: 13.32 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.907e-05/0.02036, allocations: 41.92 kB / 389.3 MB, free: 13.28 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.02046, allocations: 114.2 kB / 389.4 MB, free: 13.16 MB / 314.7 MB Notification: Performance of SimCode: time 3.81e-07/0.02046, allocations: 0 / 389.4 MB, free: 13.16 MB / 314.7 MB Notification: Performance of Templates: time 0.005052/0.02552, allocations: 3.735 MB / 393.1 MB, free: 9.496 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.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.1525084292516112]