Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.001762/0.001762, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.002094/0.002094, allocations: 161.7 kB / 24.27 MB, free: 176 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.535/1.535, allocations: 177.1 MB / 204.6 MB, free: 5.594 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.3586/0.3586, allocations: 34.26 MB / 295.3 MB, free: 0.6875 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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 377.4 MB, free: 2.883 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.632e-05/2.787e-05, allocations: 2.312 kB / 377.4 MB, free: 2.879 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.004331/0.004359, allocations: 1.722 MB / 379.1 MB, free: 1.145 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002255/0.006614, allocations: 0.9781 MB / 380.1 MB, free: 164 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.006731, allocations: 0 / 380.1 MB, free: 164 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003768/0.007108, allocations: 47.64 kB / 380.1 MB, free: 116 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004177/0.007525, allocations: 91.53 kB / 380.2 MB, free: 24 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003468/0.007872, allocations: 87.7 kB / 380.3 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002359/0.008108, allocations: 107.5 kB / 380.4 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.008212, allocations: 7.984 kB / 380.4 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.008349, allocations: 51.84 kB / 380.5 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.008458, allocations: 35.83 kB / 380.5 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.55e-05/0.008484, allocations: 8 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.008626, allocations: 43.92 kB / 380.5 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.94e-05/0.008696, allocations: 15.94 kB / 380.6 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.551e-05/0.008761, allocations: 23.91 kB / 380.6 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002764/0.009038, allocations: 111.6 kB / 380.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.009043, allocations: 0 / 380.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.009045, allocations: 3.938 kB / 380.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.009052, allocations: 0 / 380.7 MB, free: 15.54 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007447/0.009796, allocations: 345.6 kB / 381 MB, free: 15.17 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.009836, allocations: 8.031 kB / 381 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.776e-05/0.009914, allocations: 20.84 kB / 381.1 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003335/0.01025, allocations: 154.3 kB / 381.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.01026, allocations: 384 / 381.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.798e-05/0.01029, allocations: 4.375 kB / 381.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.01047, allocations: 54.23 kB / 381.3 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.01048, allocations: 3.938 kB / 381.3 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.01049, allocations: 4 kB / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.0105, allocations: 0 / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.0106, allocations: 27.92 kB / 381.3 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004456/0.01105, allocations: 236.5 kB / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.01125, allocations: 58.67 kB / 381.6 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.995e-05/0.01132, allocations: 24.8 kB / 381.6 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.01134, allocations: 3.984 kB / 381.6 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001898/0.01153, allocations: 71.33 kB / 381.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.01153, allocations: 0 / 381.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006577/0.01219, allocations: 181.6 kB / 381.9 MB, free: 14.24 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/0.01224, allocations: 51.41 kB / 381.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002472/0.01248, allocations: 206.7 kB / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.01251, allocations: 29.7 kB / 382.2 MB, free: 13.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.366e-05/0.01259, allocations: 108.1 kB / 382.3 MB, free: 13.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.171e-05/0.01263, allocations: 27.78 kB / 382.3 MB, free: 13.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.716e-05/0.01268, allocations: 25.66 kB / 382.3 MB, free: 13.76 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.01286, allocations: 322.8 kB / 382.6 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.814e-05/0.01293, allocations: 23.98 kB / 382.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.546e-05/0.013, allocations: 33.7 kB / 382.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.01315, allocations: 77.62 kB / 382.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.01315, allocations: 0 / 382.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002248/0.01337, allocations: 109.6 kB / 382.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.01339, allocations: 6.188 kB / 382.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.0134, allocations: 0 / 382.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.01342, allocations: 3.984 kB / 382.9 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.01352, allocations: 16 kB / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.01353, allocations: 0 / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.772e-05/0.01357, allocations: 0 / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.01359, allocations: 8 kB / 382.9 MB, free: 13.15 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001329/0.01372, allocations: 125.8 kB / 383 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.202e-05/0.01375, allocations: 19.94 kB / 383 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002878/0.01404, allocations: 127.1 kB / 383.2 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.01404, allocations: 0 / 383.2 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.01405, allocations: 3.984 kB / 383.2 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.01405, allocations: 0 / 383.2 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005357/0.01459, allocations: 350.9 kB / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.01459, allocations: 0 / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.987e-05/0.01464, allocations: 15.92 kB / 383.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.01465, allocations: 3.984 kB / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.01466, allocations: 8.031 kB / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.01466, allocations: 0 / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.01466, allocations: 0 / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003071/0.01497, allocations: 212.2 kB / 383.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.048e-05/0.015, allocations: 19.89 kB / 383.8 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.01502, allocations: 4 kB / 383.8 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.212e-05/0.0151, allocations: 0 / 383.8 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.358e-05/0.01515, allocations: 11.98 kB / 383.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.01517, allocations: 4 kB / 383.8 MB, free: 12.19 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001843/0.01535, allocations: 156.2 kB / 383.9 MB, free: 12.04 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01535, allocations: 0 / 383.9 MB, free: 12.04 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002766/0.01563, allocations: 27.94 kB / 384 MB, free: 12.01 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002293/0.01792, allocations: 498.1 kB / 384.4 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002191/0.01814, allocations: 63.92 kB / 384.5 MB, free: 11.67 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.01814, allocations: 0 / 384.5 MB, free: 11.67 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.923e-05/0.01824, allocations: 28.08 kB / 384.5 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003974/0.01864, allocations: 43.14 kB / 384.6 MB, free: 11.6 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005935/0.01923, allocations: 229.6 kB / 384.8 MB, free: 11.35 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/0.01935, allocations: 96.3 kB / 384.9 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.664e-05/0.01942, allocations: 17.09 kB / 384.9 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.822e-05/0.01947, allocations: 16.5 kB / 384.9 MB, free: 11.2 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01947, allocations: 0 / 384.9 MB, free: 11.2 MB / 362.7 MB Notification: Performance of Templates: time 0.006228/0.0257, allocations: 1.859 MB / 386.8 MB, free: 9.363 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.833533306024037]