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.001545/0.001545, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.001802/0.001802, allocations: 165.7 kB / 24.27 MB, free: 144 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.596/1.596, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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.3885/0.3885, allocations: 32.79 MB / 293.9 MB, free: 1.234 MB / 266.7 MB " [Timeout remaining time 179] 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.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.0.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.0.0_ModelicaTest.Tables.CombiTimeTable.Test78") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 375.4 MB, free: 4.895 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.715e-05/2.844e-05, allocations: 5.266 kB / 375.4 MB, free: 4.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003823/0.003852, allocations: 1.883 MB / 377.2 MB, free: 2.992 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002354/0.006205, allocations: 1.068 MB / 378.3 MB, free: 1.918 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.006345, allocations: 4 kB / 378.3 MB, free: 1.914 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000549/0.006894, allocations: 255.2 kB / 378.6 MB, free: 1.664 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006506/0.007544, allocations: 243.1 kB / 378.8 MB, free: 1.426 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004413/0.007986, allocations: 115.5 kB / 378.9 MB, free: 1.312 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005449/0.008531, allocations: 283.2 kB / 379.2 MB, free: 1.035 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.008655, allocations: 21.94 kB / 379.2 MB, free: 1.016 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003656/0.009021, allocations: 155.6 kB / 379.4 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003222/0.009343, allocations: 195.5 kB / 379.6 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.431e-05/0.009377, allocations: 12 kB / 379.6 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001865/0.009564, allocations: 63.92 kB / 379.6 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.009681, allocations: 67.7 kB / 379.7 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.009784, allocations: 51.78 kB / 379.7 MB, free: 492 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007641/0.01055, allocations: 243.1 kB / 380 MB, free: 248 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.01055, allocations: 7.922 kB / 380 MB, free: 240 kB / 346.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.01055, allocations: 0 / 380 MB, free: 240 kB / 346.7 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.01056, allocations: 4 kB / 380 MB, free: 236 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.0008784/0.01144, allocations: 0.508 MB / 380.5 MB, free: 15.69 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.01147, allocations: 12.03 kB / 380.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.201e-05/0.01156, allocations: 40.69 kB / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000418/0.01198, allocations: 236.1 kB / 380.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.012, allocations: 8.375 kB / 380.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.01203, allocations: 4.375 kB / 380.8 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002574/0.01229, allocations: 111.3 kB / 380.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.0123, allocations: 7.938 kB / 380.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.01232, allocations: 7.984 kB / 380.9 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.01232, allocations: 0 / 380.9 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001468/0.01247, allocations: 51.89 kB / 381 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006588/0.01313, allocations: 424.4 kB / 381.4 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000397/0.01353, allocations: 121.2 kB / 381.5 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/0.01366, allocations: 41.81 kB / 381.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.01367, allocations: 4 kB / 381.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002707/0.01394, allocations: 137.1 kB / 381.7 MB, free: 14.4 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.142e-06/0.01395, allocations: 0 / 381.7 MB, free: 14.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001537/0.01548, allocations: 0.5324 MB / 382.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.534e-05/0.01557, allocations: 85.05 kB / 382.3 MB, free: 13.76 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006465/0.01621, allocations: 0.4977 MB / 382.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.504e-05/0.01625, allocations: 33.7 kB / 382.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.0164, allocations: 164.6 kB / 383 MB, free: 13.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.785e-05/0.01649, allocations: 83.36 kB / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.389e-05/0.01657, allocations: 41.7 kB / 383.1 MB, free: 12.92 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002064/0.01678, allocations: 346.8 kB / 383.4 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.01692, allocations: 67.91 kB / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001723/0.0171, allocations: 91.41 kB / 383.6 MB, free: 12.4 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003197/0.01741, allocations: 159.3 kB / 383.8 MB, free: 12.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.01742, allocations: 4 kB / 383.8 MB, free: 12.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004983/0.01792, allocations: 253.4 kB / 384 MB, free: 11.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.01793, allocations: 10.34 kB / 384 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.01794, allocations: 4.062 kB / 384 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.01795, allocations: 4 kB / 384 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.0181, allocations: 39.98 kB / 384.1 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/0.01812, allocations: 15.86 kB / 384.1 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.368e-05/0.01821, allocations: 8 kB / 384.1 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.01823, allocations: 8 kB / 384.1 MB, free: 11.89 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.0001852/0.01841, allocations: 169.8 kB / 384.3 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.922e-05/0.0185, allocations: 39.77 kB / 384.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005856/0.01909, allocations: 280.4 kB / 384.6 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.01909, allocations: 8 kB / 384.6 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.0191, allocations: 3.938 kB / 384.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.01911, allocations: 3.984 kB / 384.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/0.02019, allocations: 0.6839 MB / 385.3 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.02019, allocations: 0 / 385.3 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.0203, allocations: 43.86 kB / 385.3 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.271e-06/0.0203, allocations: 4 kB / 385.3 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.02032, allocations: 12.11 kB / 385.3 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.02032, allocations: 240 / 385.3 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.02033, allocations: 4 kB / 385.3 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000619/0.02095, allocations: 452.5 kB / 385.8 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.238e-05/0.021, allocations: 31.77 kB / 385.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.613e-05/0.02105, allocations: 11.98 kB / 385.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/0.0212, allocations: 8 kB / 385.8 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.893e-05/0.02126, allocations: 19.97 kB / 385.9 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.547e-05/0.02128, allocations: 11.98 kB / 385.9 MB, free: 10.03 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004481/0.02173, allocations: 383.1 kB / 386.2 MB, free: 9.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02173, allocations: 4 kB / 386.2 MB, free: 9.656 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003794/0.02211, allocations: 51.94 kB / 386.3 MB, free: 9.605 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.002561/0.02467, allocations: 0.5506 MB / 386.8 MB, free: 9.289 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004141/0.02509, allocations: 155.7 kB / 387 MB, free: 9.137 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.02509, allocations: 4 kB / 387 MB, free: 9.133 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000515/0.0256, allocations: 84.14 kB / 387.1 MB, free: 9.051 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005829/0.02619, allocations: 69.83 kB / 387.1 MB, free: 8.98 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.02736, allocations: 0.6148 MB / 387.8 MB, free: 8.324 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000235/0.0276, allocations: 185.2 kB / 387.9 MB, free: 8.129 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001192/0.02772, allocations: 37.92 kB / 388 MB, free: 8.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.568e-05/0.02779, allocations: 32.48 kB / 388 MB, free: 8.059 MB / 362.7 MB Notification: Performance of SimCode: time 1.042e-06/0.02779, allocations: 0 / 388 MB, free: 8.059 MB / 362.7 MB Notification: Performance of Templates: time 0.008171/0.03597, allocations: 3.36 MB / 391.4 MB, free: 4.75 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.992633357993327]