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.001409/0.001409, allocations: 83.58 kB / 21.18 MB, free: 3.387 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.001795/0.001795, allocations: 165 kB / 24.56 MB, free: 16 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.018/1.018, allocations: 177.1 MB / 205 MB, free: 5.613 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.2569/0.2569, allocations: 32.8 MB / 294.3 MB, free: 1.219 MB / 266.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.683e-06/1.683e-06, allocations: 0 / 376.1 MB, free: 4.547 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.256e-05/2.425e-05, allocations: 2.312 kB / 376.1 MB, free: 4.543 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003361/0.003385, allocations: 1.945 MB / 378.1 MB, free: 2.586 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001919/0.005304, allocations: 1.099 MB / 379.2 MB, free: 1.48 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.005412, allocations: 0 / 379.2 MB, free: 1.48 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005486/0.005961, allocations: 235.2 kB / 379.4 MB, free: 1.25 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005299/0.006491, allocations: 219.1 kB / 379.6 MB, free: 1.035 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003127/0.006803, allocations: 123.6 kB / 379.7 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003392/0.007142, allocations: 259.2 kB / 380 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.007271, allocations: 21.94 kB / 380 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001993/0.007471, allocations: 147.6 kB / 380.1 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002168/0.007688, allocations: 159.6 kB / 380.3 MB, free: 348 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.037e-05/0.007718, allocations: 8 kB / 380.3 MB, free: 340 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.007848, allocations: 59.92 kB / 380.4 MB, free: 280 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.139e-05/0.007939, allocations: 67.7 kB / 380.4 MB, free: 212 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.898e-05/0.008008, allocations: 47.78 kB / 380.5 MB, free: 164 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003133/0.008322, allocations: 191.2 kB / 380.7 MB, free: 15.97 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.008324, allocations: 3.938 kB / 380.7 MB, free: 15.97 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.008325, allocations: 3.938 kB / 380.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.00833, allocations: 0 / 380.7 MB, free: 15.96 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.0007659/0.009096, allocations: 0.608 MB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.009143, allocations: 12.03 kB / 381.3 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.649e-05/0.009229, allocations: 32.75 kB / 381.3 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003224/0.009552, allocations: 232.5 kB / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/0.009577, allocations: 384 / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.575e-05/0.009612, allocations: 12.38 kB / 381.6 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002342/0.009846, allocations: 114.3 kB / 381.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.009863, allocations: 7.891 kB / 381.7 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.009877, allocations: 0 / 381.7 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.009888, allocations: 4 kB / 381.7 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.059e-05/0.009969, allocations: 35.91 kB / 381.7 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005576/0.01053, allocations: 0.5102 MB / 382.2 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003208/0.01085, allocations: 122.1 kB / 382.4 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.034e-05/0.01092, allocations: 39.48 kB / 382.4 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.01093, allocations: 0 / 382.4 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001808/0.01111, allocations: 120.3 kB / 382.5 MB, free: 13.95 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.272e-06/0.01111, allocations: 3.938 kB / 382.5 MB, free: 13.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001104/0.01222, allocations: 465.1 kB / 383 MB, free: 13.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.01227, allocations: 85.05 kB / 383 MB, free: 13.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003737/0.01264, allocations: 398.3 kB / 383.4 MB, free: 12.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.01266, allocations: 33.7 kB / 383.5 MB, free: 12.94 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.01279, allocations: 219.2 kB / 383.7 MB, free: 12.72 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.742e-05/0.01286, allocations: 71.44 kB / 383.8 MB, free: 12.65 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.742e-05/0.01293, allocations: 47.36 kB / 383.8 MB, free: 12.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.01311, allocations: 0.5235 MB / 384.3 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.984e-05/0.01319, allocations: 35.98 kB / 384.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.01329, allocations: 82.66 kB / 384.4 MB, free: 11.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001868/0.01348, allocations: 122.8 kB / 384.6 MB, free: 11.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.01348, allocations: 4 kB / 384.6 MB, free: 11.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.00031/0.01379, allocations: 201.3 kB / 384.8 MB, free: 11.58 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.01381, allocations: 11.98 kB / 384.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.01381, allocations: 0 / 384.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.01383, allocations: 8.062 kB / 384.8 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.01397, allocations: 39.92 kB / 384.8 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.188e-06/0.01398, allocations: 7.938 kB / 384.8 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.118e-05/0.01405, allocations: 8 kB / 384.8 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.01406, allocations: 7.984 kB / 384.8 MB, free: 11.5 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.0001151/0.01418, allocations: 172.5 kB / 385 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.89e-05/0.01424, allocations: 43.77 kB / 385.1 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004055/0.01464, allocations: 233 kB / 385.3 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.01465, allocations: 4 kB / 385.3 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.01465, allocations: 3.938 kB / 385.3 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.01466, allocations: 7.984 kB / 385.3 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007933/0.01545, allocations: 0.7528 MB / 386 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.01545, allocations: 0 / 386 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.061e-05/0.01555, allocations: 31.98 kB / 386.1 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.01555, allocations: 3.938 kB / 386.1 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.01557, allocations: 8 kB / 386.1 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.01557, allocations: 7.938 kB / 386.1 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.01557, allocations: 128 / 386.1 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004129/0.01599, allocations: 0.5238 MB / 386.6 MB, free: 9.609 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.368e-05/0.01602, allocations: 27.77 kB / 386.7 MB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.773e-05/0.01606, allocations: 8 kB / 386.7 MB, free: 9.574 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.01619, allocations: 15.92 kB / 386.7 MB, free: 9.559 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.281e-05/0.01625, allocations: 15.97 kB / 386.7 MB, free: 9.543 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.593e-05/0.01627, allocations: 16 kB / 386.7 MB, free: 9.527 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002346/0.01651, allocations: 274.9 kB / 387 MB, free: 9.258 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01651, allocations: 4 kB / 387 MB, free: 9.254 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003903/0.0169, allocations: 51.92 kB / 387 MB, free: 9.203 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.001398/0.0183, allocations: 489.8 kB / 387.5 MB, free: 8.906 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002805/0.01858, allocations: 136 kB / 387.6 MB, free: 8.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.01858, allocations: 128 / 387.6 MB, free: 8.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.01869, allocations: 79.53 kB / 387.7 MB, free: 8.688 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005686/0.01926, allocations: 70.98 kB / 387.8 MB, free: 8.625 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007655/0.02003, allocations: 0.4973 MB / 388.3 MB, free: 8.074 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.998e-05/0.02012, allocations: 96.3 kB / 388.4 MB, free: 7.961 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.941e-05/0.02022, allocations: 42.17 kB / 388.4 MB, free: 7.922 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.973e-05/0.0203, allocations: 32.48 kB / 388.5 MB, free: 7.891 MB / 362.7 MB Notification: Performance of SimCode: time 7.92e-07/0.0203, allocations: 3.938 kB / 388.5 MB, free: 7.887 MB / 362.7 MB Notification: Performance of Templates: time 0.007448/0.02775, allocations: 3.605 MB / 392.1 MB, free: 4.332 MB / 362.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.1701476061716676]