Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001246/0.001246, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001478/0.001478, allocations: 168.8 kB / 24.99 MB, free: 8.793 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.9845/0.9845, allocations: 177.1 MB / 205.3 MB, free: 5.594 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.2602/0.2602, allocations: 32.8 MB / 294.6 MB, free: 1.164 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.Test78,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.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,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.Test78") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 376.1 MB, free: 4.879 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.835e-05/3.033e-05, allocations: 5.688 kB / 376.1 MB, free: 4.875 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.00624/0.00627, allocations: 1.949 MB / 378 MB, free: 2.91 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001679/0.007949, allocations: 1.103 MB / 379.1 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.008059, allocations: 0 / 379.1 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004652/0.008524, allocations: 255.2 kB / 379.4 MB, free: 1.551 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004546/0.008979, allocations: 235 kB / 379.6 MB, free: 1.32 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002768/0.009255, allocations: 127.5 kB / 379.7 MB, free: 1.195 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003339/0.009589, allocations: 279.2 kB / 380 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.00971, allocations: 13.97 kB / 380 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000201/0.009911, allocations: 167.5 kB / 380.2 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002166/0.01013, allocations: 187.6 kB / 380.4 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.569e-05/0.01015, allocations: 12 kB / 380.4 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.01028, allocations: 59.91 kB / 380.4 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.917e-05/0.01037, allocations: 75.7 kB / 380.5 MB, free: 428 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.101e-05/0.01044, allocations: 51.78 kB / 380.6 MB, free: 376 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002959/0.01073, allocations: 203.1 kB / 380.8 MB, free: 172 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.01074, allocations: 0 / 380.8 MB, free: 172 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.01074, allocations: 0 / 380.8 MB, free: 172 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.01074, allocations: 0 / 380.8 MB, free: 172 kB / 346.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.0009049/0.01165, allocations: 0.6196 MB / 381.4 MB, free: 15.51 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.01169, allocations: 12.02 kB / 381.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.335e-05/0.01177, allocations: 44.64 kB / 381.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002953/0.01207, allocations: 234.9 kB / 381.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.01209, allocations: 8.375 kB / 381.7 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.785e-05/0.01212, allocations: 8.375 kB / 381.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.01233, allocations: 114.2 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.01235, allocations: 7.875 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.01236, allocations: 4 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.01237, allocations: 4 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.293e-05/0.01245, allocations: 27.97 kB / 381.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005569/0.013, allocations: 0.5219 MB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000317/0.01332, allocations: 118.2 kB / 382.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.302e-05/0.01338, allocations: 43.42 kB / 382.5 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.0134, allocations: 0 / 382.5 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000182/0.01358, allocations: 116.4 kB / 382.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/0.01358, allocations: 0 / 382.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.00102/0.0146, allocations: 489.1 kB / 383.1 MB, free: 13.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/0.01465, allocations: 81.05 kB / 383.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003582/0.01501, allocations: 442.8 kB / 383.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.01503, allocations: 29.7 kB / 383.7 MB, free: 13.06 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.01515, allocations: 223.3 kB / 383.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.64e-05/0.01522, allocations: 79.38 kB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.096e-05/0.01528, allocations: 43.38 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.01543, allocations: 0.5274 MB / 384.5 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.312e-05/0.01551, allocations: 35.97 kB / 384.6 MB, free: 12.13 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.436e-05/0.0156, allocations: 78.72 kB / 384.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.01577, allocations: 122.7 kB / 384.8 MB, free: 11.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.01578, allocations: 0 / 384.8 MB, free: 11.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002913/0.01607, allocations: 209.5 kB / 385 MB, free: 11.69 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.01608, allocations: 5.875 kB / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.01609, allocations: 0 / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.01611, allocations: 7.938 kB / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.01624, allocations: 51.91 kB / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.01624, allocations: 3.938 kB / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.424e-05/0.01631, allocations: 4 kB / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.01632, allocations: 16.06 kB / 385 MB, free: 11.6 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.0001109/0.01643, allocations: 172.5 kB / 385.2 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.067e-05/0.01648, allocations: 39.77 kB / 385.3 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003805/0.01686, allocations: 232.9 kB / 385.5 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.01687, allocations: 0 / 385.5 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.01688, allocations: 7.938 kB / 385.5 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.01688, allocations: 7.922 kB / 385.5 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008153/0.0177, allocations: 0.7646 MB / 386.3 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.0177, allocations: 0 / 386.3 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.93e-05/0.01779, allocations: 39.92 kB / 386.3 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.01779, allocations: 0 / 386.3 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.01781, allocations: 4 kB / 386.3 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/0.01782, allocations: 7.984 kB / 386.3 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.01782, allocations: 3.984 kB / 386.3 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004262/0.01825, allocations: 0.5091 MB / 386.8 MB, free: 9.711 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.735e-05/0.01828, allocations: 31.77 kB / 386.9 MB, free: 9.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.988e-05/0.01832, allocations: 11.98 kB / 386.9 MB, free: 9.668 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.01845, allocations: 12.03 kB / 386.9 MB, free: 9.656 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.318e-05/0.01851, allocations: 23.97 kB / 386.9 MB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.634e-05/0.01853, allocations: 8 kB / 386.9 MB, free: 9.625 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002503/0.01879, allocations: 303 kB / 387.2 MB, free: 9.328 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01879, allocations: 0 / 387.2 MB, free: 9.328 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003685/0.01915, allocations: 55.92 kB / 387.3 MB, free: 9.273 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.001249/0.0204, allocations: 489.7 kB / 387.7 MB, free: 8.977 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002604/0.02066, allocations: 134.2 kB / 387.9 MB, free: 8.844 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.02066, allocations: 0 / 387.9 MB, free: 8.844 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.02077, allocations: 75.52 kB / 387.9 MB, free: 8.766 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004886/0.02126, allocations: 68.22 kB / 388 MB, free: 8.703 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009997/0.02226, allocations: 0.5283 MB / 388.5 MB, free: 8.117 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.904e-05/0.02235, allocations: 100.3 kB / 388.6 MB, free: 8 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.908e-05/0.02245, allocations: 49.91 kB / 388.7 MB, free: 7.949 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.651e-05/0.02251, allocations: 28.48 kB / 388.7 MB, free: 7.922 MB / 362.7 MB Notification: Performance of SimCode: time 1.633e-06/0.02251, allocations: 0 / 388.7 MB, free: 7.922 MB / 362.7 MB Notification: Performance of Templates: time 0.00674/0.02925, allocations: 3.355 MB / 392.1 MB, free: 4.617 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.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.4436733350157738]