Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.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.001006/0.001006, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001617/0.001617, allocations: 161 kB / 24.56 MB, free: 16 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 0.9859/0.9859, allocations: 177.1 MB / 205 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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.2865/0.2865, allocations: 34.25 MB / 295.7 MB, free: 0.7656 MB / 266.7 MB " [Timeout remaining time 180] 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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 378.1 MB, free: 2.586 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.84e-05/1.958e-05, allocations: 2.312 kB / 378.1 MB, free: 2.582 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.002294/0.002314, allocations: 1.77 MB / 379.9 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.003544, allocations: 1.009 MB / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.76e-05/0.003621, allocations: 0 / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002896/0.003911, allocations: 47.69 kB / 380.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003025/0.004213, allocations: 91.48 kB / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001726/0.004386, allocations: 83.59 kB / 381.1 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001575/0.004544, allocations: 111.6 kB / 381.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.26e-05/0.004626, allocations: 11.98 kB / 381.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.337e-05/0.00472, allocations: 47.84 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.779e-05/0.004787, allocations: 27.91 kB / 381.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.004803, allocations: 4 kB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.2e-05/0.004885, allocations: 43.92 kB / 381.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.478e-05/0.00494, allocations: 23.86 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.281e-05/0.004983, allocations: 23.91 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.00517, allocations: 99.66 kB / 381.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.005173, allocations: 0 / 381.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.3e-07/0.005173, allocations: 0 / 381.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.005177, allocations: 0 / 381.5 MB, free: 15.18 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.0004597/0.005637, allocations: 455.7 kB / 381.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.005678, allocations: 12.03 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.997e-05/0.005728, allocations: 16.84 kB / 382 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.005912, allocations: 157.1 kB / 382.1 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.005931, allocations: 384 / 382.1 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.005956, allocations: 4.375 kB / 382.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.00608, allocations: 58.94 kB / 382.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.00609, allocations: 3.938 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.006099, allocations: 0 / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.006108, allocations: 4 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.731e-05/0.006145, allocations: 19.92 kB / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003038/0.006449, allocations: 287.8 kB / 382.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.006555, allocations: 51.17 kB / 382.6 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.855e-05/0.006584, allocations: 19.61 kB / 382.6 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.006598, allocations: 0 / 382.6 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.293e-05/0.006691, allocations: 76.98 kB / 382.6 MB, free: 13.9 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 8.52e-07/0.006692, allocations: 0 / 382.6 MB, free: 13.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003709/0.007063, allocations: 153.4 kB / 382.8 MB, free: 13.74 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.00709, allocations: 59.41 kB / 382.9 MB, free: 13.67 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.007224, allocations: 238.3 kB / 383.1 MB, free: 13.42 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.007236, allocations: 25.7 kB / 383.1 MB, free: 13.39 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.627e-05/0.007292, allocations: 154.9 kB / 383.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.007318, allocations: 23.8 kB / 383.3 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.371e-05/0.007352, allocations: 27.36 kB / 383.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.007466, allocations: 0.5001 MB / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.486e-05/0.00749, allocations: 8 kB / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.474e-05/0.007525, allocations: 35.36 kB / 383.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.815e-05/0.007583, allocations: 59.22 kB / 383.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.007584, allocations: 4 kB / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001068/0.007691, allocations: 93.59 kB / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.007704, allocations: 7.938 kB / 384 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.007708, allocations: 0 / 384 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.007721, allocations: 0 / 384 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.183e-05/0.007793, allocations: 23.98 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.007798, allocations: 0 / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.84e-05/0.007826, allocations: 4 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.007832, allocations: 0 / 384 MB, free: 12.41 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 7.246e-05/0.007904, allocations: 168.5 kB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.553e-05/0.00792, allocations: 11.95 kB / 384.2 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001473/0.008067, allocations: 107.1 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.008069, allocations: 0 / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.008073, allocations: 0 / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.008076, allocations: 0 / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002683/0.008344, allocations: 396.9 kB / 384.7 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.008346, allocations: 0 / 384.7 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.269e-05/0.008378, allocations: 19.94 kB / 384.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.00838, allocations: 0 / 384.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/0.008388, allocations: 4.031 kB / 384.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.008389, allocations: 0 / 384.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.00839, allocations: 4 kB / 384.7 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001452/0.008535, allocations: 255.4 kB / 385 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.272e-05/0.008548, allocations: 15.89 kB / 385 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.008565, allocations: 4 kB / 385 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.196e-05/0.008607, allocations: 4.375 kB / 385 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.447e-05/0.008642, allocations: 3.984 kB / 385 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.008654, allocations: 4 kB / 385 MB, free: 11.35 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.92e-05/0.008733, allocations: 176.1 kB / 385.2 MB, free: 11.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008733, allocations: 4 kB / 385.2 MB, free: 11.17 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001741/0.008907, allocations: 27.92 kB / 385.2 MB, free: 11.14 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.0009314/0.009839, allocations: 441.1 kB / 385.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001229/0.009962, allocations: 55.59 kB / 385.7 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.009964, allocations: 4 kB / 385.7 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.259e-05/0.01001, allocations: 31.61 kB / 385.7 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.01024, allocations: 31.97 kB / 385.8 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003495/0.01059, allocations: 218.1 kB / 386 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.241e-05/0.01063, allocations: 75.31 kB / 386.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.407e-05/0.01066, allocations: 8.984 kB / 386.1 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.322e-05/0.0107, allocations: 20.48 kB / 386.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of SimCode: time 1.002e-06/0.0107, allocations: 0 / 386.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of Templates: time 0.003646/0.01435, allocations: 1.869 MB / 388 MB, free: 8.535 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.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.2877762466669083]