Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.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.001113/0.001113, 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.001299/0.001299, allocations: 165.8 kB / 24.99 MB, free: 8.336 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 1.018/1.018, 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.2604/0.2604, allocations: 32.81 MB / 294.6 MB, free: 1.188 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.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.[0-9,]+.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.[0-9,]+.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.[0-9,]+.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.[0-9,]+.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 376.1 MB, free: 4.898 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.131e-05/2.28e-05, allocations: 2.312 kB / 376.1 MB, free: 4.895 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.002554/0.002577, allocations: 2.264 MB / 378.4 MB, free: 2.617 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002024/0.004601, allocations: 1.294 MB / 379.7 MB, free: 1.316 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.004727, allocations: 7.938 kB / 379.7 MB, free: 1.309 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003889/0.005116, allocations: 119.3 kB / 379.8 MB, free: 1.191 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003742/0.00549, allocations: 266.7 kB / 380 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002308/0.005721, allocations: 191.5 kB / 380.2 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003438/0.006064, allocations: 470.5 kB / 380.7 MB, free: 288 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.006183, allocations: 41.25 kB / 380.7 MB, free: 244 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002853/0.006469, allocations: 343.2 kB / 381.1 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.006593, allocations: 131.5 kB / 381.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.945e-05/0.006622, allocations: 20 kB / 381.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.006728, allocations: 79.89 kB / 381.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.006833, allocations: 139.5 kB / 381.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.914e-05/0.006922, allocations: 99.5 kB / 381.5 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003031/0.007225, allocations: 346.5 kB / 381.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.007228, allocations: 0 / 381.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.007228, allocations: 0 / 381.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.007233, allocations: 0 / 381.9 MB, free: 15.1 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007362/0.007969, allocations: 0.8759 MB / 382.7 MB, free: 14.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.008004, allocations: 8.031 kB / 382.7 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.537e-05/0.008089, allocations: 80.52 kB / 382.8 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003079/0.008397, allocations: 353.2 kB / 383.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.00842, allocations: 8.375 kB / 383.2 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.064e-05/0.008451, allocations: 16.38 kB / 383.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002449/0.008695, allocations: 193.5 kB / 383.4 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.008712, allocations: 7.891 kB / 383.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.008728, allocations: 8 kB / 383.4 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.008736, allocations: 0 / 383.4 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.008838, allocations: 63.88 kB / 383.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006272/0.009465, allocations: 0.9336 MB / 384.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003509/0.009816, allocations: 232.4 kB / 384.6 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.178e-05/0.009898, allocations: 78.78 kB / 384.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.009917, allocations: 11.98 kB / 384.7 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001998/0.01012, allocations: 197.2 kB / 384.9 MB, free: 11.82 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 1.342e-06/0.01012, allocations: 0 / 384.9 MB, free: 11.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.001613/0.01173, allocations: 1.051 MB / 385.9 MB, free: 10.76 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.011e-05/0.01179, allocations: 136.5 kB / 386.1 MB, free: 10.6 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004616/0.01225, allocations: 0.6598 MB / 386.7 MB, free: 9.918 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.01228, allocations: 37.7 kB / 386.8 MB, free: 9.875 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.01242, allocations: 311.7 kB / 387.1 MB, free: 9.566 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.567e-05/0.01251, allocations: 146.8 kB / 387.2 MB, free: 9.422 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.347e-05/0.01258, allocations: 83.8 kB / 387.3 MB, free: 9.332 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.01275, allocations: 0.5625 MB / 387.9 MB, free: 8.758 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.01285, allocations: 68.95 kB / 387.9 MB, free: 8.691 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.01299, allocations: 162.4 kB / 388.1 MB, free: 8.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002454/0.01323, allocations: 257.6 kB / 388.3 MB, free: 8.215 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.01324, allocations: 0 / 388.3 MB, free: 8.215 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003806/0.01362, allocations: 373 kB / 388.7 MB, free: 7.844 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.01363, allocations: 4 kB / 388.7 MB, free: 7.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.01364, allocations: 4 kB / 388.7 MB, free: 7.836 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.01366, allocations: 4 kB / 388.7 MB, free: 7.832 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.01382, allocations: 88.02 kB / 388.8 MB, free: 7.746 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.01382, allocations: 8 kB / 388.8 MB, free: 7.738 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.8e-05/0.0139, allocations: 19.98 kB / 388.8 MB, free: 7.719 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.703e-05/0.01392, allocations: 19.94 kB / 388.9 MB, free: 7.699 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0001217/0.01404, allocations: 198.8 kB / 389 MB, free: 7.496 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.877e-05/0.01411, allocations: 83.58 kB / 389.1 MB, free: 7.414 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000494/0.0146, allocations: 430.4 kB / 389.6 MB, free: 6.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.01461, allocations: 8 kB / 389.6 MB, free: 6.973 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.01461, allocations: 0 / 389.6 MB, free: 6.973 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.01462, allocations: 7.984 kB / 389.6 MB, free: 6.965 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00125/0.01587, allocations: 1.39 MB / 391 MB, free: 5.496 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.01588, allocations: 4 kB / 391 MB, free: 5.492 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001469/0.01602, allocations: 67.91 kB / 391 MB, free: 5.426 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.75e-06/0.01603, allocations: 4 kB / 391 MB, free: 5.422 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.338e-05/0.01605, allocations: 15.98 kB / 391 MB, free: 5.406 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.01606, allocations: 8.25 kB / 391.1 MB, free: 5.398 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.01606, allocations: 7.938 kB / 391.1 MB, free: 5.391 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006857/0.01675, allocations: 0.9655 MB / 392 MB, free: 4.363 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/0.01688, allocations: 99.5 kB / 392.1 MB, free: 4.266 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.854e-05/0.01694, allocations: 19.98 kB / 392.1 MB, free: 4.246 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/0.01717, allocations: 15.98 kB / 392.2 MB, free: 4.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.788e-05/0.01726, allocations: 47.88 kB / 392.2 MB, free: 4.184 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.512e-05/0.01729, allocations: 16 kB / 392.2 MB, free: 4.168 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003972/0.01769, allocations: 450.9 kB / 392.7 MB, free: 3.734 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01769, allocations: 4 kB / 392.7 MB, free: 3.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000485/0.01817, allocations: 87.92 kB / 392.8 MB, free: 3.645 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001516/0.01969, allocations: 0.5025 MB / 393.3 MB, free: 3.324 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003831/0.02007, allocations: 251.8 kB / 393.5 MB, free: 3.074 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.02007, allocations: 0 / 393.5 MB, free: 3.074 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001843/0.02026, allocations: 140.4 kB / 393.6 MB, free: 2.934 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007948/0.02105, allocations: 152.6 kB / 393.8 MB, free: 2.797 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.02218, allocations: 0.9444 MB / 394.7 MB, free: 1.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001328/0.02231, allocations: 150.1 kB / 394.9 MB, free: 1.605 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001544/0.02246, allocations: 75.25 kB / 395 MB, free: 1.531 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.991e-05/0.02256, allocations: 56.48 kB / 395 MB, free: 1.477 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.02257, allocations: 0 / 395 MB, free: 1.477 MB / 362.7 MB Notification: Performance of Templates: time 0.009683/0.03225, allocations: 5.77 MB / 400.8 MB, free: 11.79 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.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.2979074909817427]