Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.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.0009626/0.0009626, allocations: 81.86 kB / 21.44 MB, free: 3.062 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.0009507/0.0009507, allocations: 165.6 kB / 24.84 MB, free: 9.309 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8871/0.8871, allocations: 158.6 MB / 186.7 MB, free: 2.766 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1399/0.1399, allocations: 32.38 MB / 271.5 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 349 MB, free: 9.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.323e-05/2.534e-05, allocations: 2.312 kB / 349 MB, free: 9.098 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002162/0.002187, allocations: 1.719 MB / 350.7 MB, free: 7.367 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008708/0.003058, allocations: 0.7842 MB / 351.5 MB, free: 6.574 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.819e-05/0.003136, allocations: 0 / 351.5 MB, free: 6.574 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003261/0.003462, allocations: 47.69 kB / 351.5 MB, free: 6.527 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002305/0.003693, allocations: 59.7 kB / 351.6 MB, free: 6.469 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002131/0.003906, allocations: 91.69 kB / 351.7 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001257/0.004031, allocations: 95.62 kB / 351.8 MB, free: 6.285 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.138e-05/0.004113, allocations: 8.234 kB / 351.8 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.5e-05/0.004178, allocations: 47.89 kB / 351.8 MB, free: 6.23 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.131e-05/0.004239, allocations: 23.91 kB / 351.9 MB, free: 6.207 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.004254, allocations: 4 kB / 351.9 MB, free: 6.203 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.43e-05/0.004318, allocations: 43.92 kB / 351.9 MB, free: 6.16 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.022e-05/0.004369, allocations: 31.86 kB / 351.9 MB, free: 6.129 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.05e-05/0.004399, allocations: 19.92 kB / 352 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001354/0.004534, allocations: 99.59 kB / 352.1 MB, free: 6.012 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.004539, allocations: 3.984 kB / 352.1 MB, free: 6.008 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.00454, allocations: 0 / 352.1 MB, free: 6.008 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.004544, allocations: 0 / 352.1 MB, free: 6.008 MB / 282.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.0003673/0.004911, allocations: 435.9 kB / 352.5 MB, free: 5.547 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.004947, allocations: 12.03 kB / 352.5 MB, free: 5.535 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.338e-05/0.004991, allocations: 8.891 kB / 352.5 MB, free: 5.527 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/0.00516, allocations: 152.4 kB / 352.7 MB, free: 5.352 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.005185, allocations: 4.375 kB / 352.7 MB, free: 5.348 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.005205, allocations: 8.328 kB / 352.7 MB, free: 5.34 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.005323, allocations: 62.88 kB / 352.7 MB, free: 5.27 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.005339, allocations: 7.922 kB / 352.7 MB, free: 5.262 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.005348, allocations: 8 kB / 352.7 MB, free: 5.254 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.005353, allocations: 0 / 352.7 MB, free: 5.254 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.944e-05/0.005382, allocations: 8 kB / 352.8 MB, free: 5.246 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002762/0.005658, allocations: 256.4 kB / 353 MB, free: 4.969 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.005771, allocations: 59.08 kB / 353.1 MB, free: 4.898 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.25e-05/0.005793, allocations: 11.69 kB / 353.1 MB, free: 4.883 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.005812, allocations: 4 kB / 353.1 MB, free: 4.879 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001004/0.005912, allocations: 68.98 kB / 353.1 MB, free: 4.797 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 2.054e-06/0.005914, allocations: 4 kB / 353.1 MB, free: 4.793 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003689/0.006283, allocations: 137.4 kB / 353.3 MB, free: 4.652 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.286e-05/0.006306, allocations: 55.41 kB / 353.3 MB, free: 4.586 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.973e-05/0.006386, allocations: 216 kB / 353.5 MB, free: 4.359 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.807e-06/0.006394, allocations: 25.7 kB / 353.6 MB, free: 4.328 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.049e-05/0.006435, allocations: 154.8 kB / 353.7 MB, free: 4.172 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/0.006463, allocations: 27.78 kB / 353.8 MB, free: 4.145 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.399e-05/0.006507, allocations: 27.36 kB / 353.8 MB, free: 4.109 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.794e-05/0.006585, allocations: 0.5001 MB / 354.3 MB, free: 3.598 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.981e-05/0.006615, allocations: 11.94 kB / 354.3 MB, free: 3.586 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.572e-05/0.00665, allocations: 31.36 kB / 354.3 MB, free: 3.547 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.794e-05/0.006708, allocations: 43.34 kB / 354.4 MB, free: 3.496 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.00671, allocations: 0 / 354.4 MB, free: 3.496 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001012/0.006811, allocations: 97.53 kB / 354.5 MB, free: 3.395 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.006825, allocations: 4 kB / 354.5 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.00683, allocations: 0 / 354.5 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.308e-06/0.00684, allocations: 0 / 354.5 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.605e-05/0.006916, allocations: 24.02 kB / 354.5 MB, free: 3.367 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.885e-06/0.006918, allocations: 0 / 354.5 MB, free: 3.367 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.931e-05/0.006948, allocations: 4 kB / 354.5 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-06/0.006954, allocations: 7.938 kB / 354.5 MB, free: 3.355 MB / 282.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 5.409e-05/0.007008, allocations: 158.8 kB / 354.7 MB, free: 3.191 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.594e-05/0.007024, allocations: 23.84 kB / 354.7 MB, free: 3.168 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001247/0.007149, allocations: 98.31 kB / 354.8 MB, free: 3.066 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.007152, allocations: 4 kB / 354.8 MB, free: 3.062 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.007154, allocations: 0 / 354.8 MB, free: 3.062 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.007158, allocations: 0 / 354.8 MB, free: 3.062 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002606/0.007418, allocations: 361.6 kB / 355.1 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.00742, allocations: 384 / 355.1 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.682e-05/0.007467, allocations: 15.98 kB / 355.1 MB, free: 2.656 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.007472, allocations: 0 / 355.1 MB, free: 2.656 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.00748, allocations: 4 kB / 355.1 MB, free: 2.652 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.007484, allocations: 4 kB / 355.2 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.007486, allocations: 0 / 355.2 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.007645, allocations: 251.4 kB / 355.4 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.361e-05/0.007659, allocations: 11.95 kB / 355.4 MB, free: 2.367 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.007676, allocations: 3.984 kB / 355.4 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.91e-05/0.007725, allocations: 8.031 kB / 355.4 MB, free: 2.355 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.833e-05/0.007753, allocations: 7.984 kB / 355.4 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.007767, allocations: 8 kB / 355.4 MB, free: 2.34 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.368e-05/0.00781, allocations: 152 kB / 355.6 MB, free: 2.191 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00781, allocations: 0 / 355.6 MB, free: 2.191 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001682/0.007979, allocations: 27.94 kB / 355.6 MB, free: 2.164 MB / 282.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.000899/0.008877, allocations: 431.4 kB / 356 MB, free: 1.828 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.832e-05/0.008966, allocations: 55.5 kB / 356.1 MB, free: 1.77 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.008967, allocations: 8.062 kB / 356.1 MB, free: 1.762 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.146e-05/0.008999, allocations: 27.67 kB / 356.1 MB, free: 1.73 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.00923, allocations: 39.09 kB / 356.2 MB, free: 1.695 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002896/0.00952, allocations: 221.3 kB / 356.4 MB, free: 1.445 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.708e-05/0.009547, allocations: 63.34 kB / 356.4 MB, free: 1.363 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.139e-05/0.009578, allocations: 12.48 kB / 356.5 MB, free: 1.352 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.086e-05/0.009639, allocations: 98.25 kB / 356.5 MB, free: 1.254 MB / 282.7 MB Notification: Performance of SimCode: time 6.32e-07/0.00964, allocations: 3.938 kB / 356.5 MB, free: 1.25 MB / 282.7 MB Notification: Performance of Templates: time 0.003424/0.01306, allocations: 2.028 MB / 358.6 MB, free: 15.24 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.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.188084495253861]