Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.001407/0.001407, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.004356/0.004356, allocations: 165.7 kB / 24.99 MB, free: 8.789 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.044/1.044, allocations: 177.1 MB / 205.3 MB, free: 5.656 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.2797/0.2797, allocations: 32.8 MB / 294.6 MB, free: 1.285 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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.006e-06/3.006e-06, allocations: 0 / 376.1 MB, free: 4.914 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.11e-05/3.41e-05, allocations: 2.312 kB / 376.1 MB, free: 4.91 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.002638/0.002672, allocations: 1.758 MB / 377.8 MB, free: 3.137 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001861/0.004533, allocations: 1.73 MB / 379.6 MB, free: 1.398 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.474e-05/0.004628, allocations: 0 / 379.6 MB, free: 1.398 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003209/0.004948, allocations: 35.77 kB / 379.6 MB, free: 1.363 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004057/0.005354, allocations: 99.47 kB / 379.7 MB, free: 1.266 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002368/0.005591, allocations: 87.55 kB / 379.8 MB, free: 1.18 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000174/0.005765, allocations: 107.6 kB / 379.9 MB, free: 1.074 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.693e-05/0.005862, allocations: 11.98 kB / 379.9 MB, free: 1.062 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.172e-05/0.005954, allocations: 59.84 kB / 380 MB, free: 1.004 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.006062, allocations: 31.89 kB / 380 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.00608, allocations: 4 kB / 380 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001803/0.00626, allocations: 107.8 kB / 380.1 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.325e-05/0.006314, allocations: 19.86 kB / 380.1 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.514e-05/0.006359, allocations: 27.91 kB / 380.2 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002673/0.006626, allocations: 155.5 kB / 380.3 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.00663, allocations: 4 kB / 380.3 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.006632, allocations: 0 / 380.3 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.006636, allocations: 0 / 380.3 MB, free: 0.6602 MB / 346.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.0005073/0.007144, allocations: 459.7 kB / 380.8 MB, free: 180 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.00718, allocations: 8.031 kB / 380.8 MB, free: 172 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.392e-05/0.007244, allocations: 12.88 kB / 380.8 MB, free: 160 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.007472, allocations: 153 kB / 380.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.007492, allocations: 4.375 kB / 380.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.007512, allocations: 384 / 380.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.0077, allocations: 111.4 kB / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.007711, allocations: 3.953 kB / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.007722, allocations: 0 / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.007729, allocations: 0 / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.052e-05/0.00777, allocations: 23.92 kB / 381.1 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003151/0.008085, allocations: 283.8 kB / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.008197, allocations: 51.17 kB / 381.4 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.1e-05/0.008228, allocations: 19.67 kB / 381.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.00824, allocations: 0 / 381.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001464/0.008386, allocations: 68.98 kB / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.008387, allocations: 0 / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004118/0.008799, allocations: 161.3 kB / 381.6 MB, free: 15.17 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.008841, allocations: 77.11 kB / 381.7 MB, free: 15.08 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.00898, allocations: 228.8 kB / 381.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.008994, allocations: 25.7 kB / 382 MB, free: 14.81 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.996e-05/0.009044, allocations: 142.9 kB / 382.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.009071, allocations: 27.78 kB / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.07e-05/0.009112, allocations: 27.38 kB / 382.2 MB, free: 14.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001927/0.009305, allocations: 0.5 MB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.419e-05/0.009339, allocations: 11.98 kB / 382.7 MB, free: 14.08 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.836e-05/0.009387, allocations: 68.75 kB / 382.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.648e-05/0.009444, allocations: 47.31 kB / 382.8 MB, free: 13.94 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.009445, allocations: 4.031 kB / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001176/0.009562, allocations: 93.52 kB / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.009577, allocations: 4 kB / 382.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.009581, allocations: 3.938 kB / 382.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.009595, allocations: 4 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.276e-05/0.009678, allocations: 19.98 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.009684, allocations: 0 / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.603e-05/0.00972, allocations: 4 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.009726, allocations: 0 / 382.9 MB, free: 13.8 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 8.038e-05/0.009807, allocations: 172.2 kB / 383.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.034e-05/0.009827, allocations: 19.89 kB / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001655/0.009993, allocations: 102.6 kB / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.009996, allocations: 3.984 kB / 383.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.01, allocations: 0 / 383.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.01, allocations: 0 / 383.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000322/0.01033, allocations: 392.9 kB / 383.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.01033, allocations: 0 / 383.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.375e-05/0.01036, allocations: 15.92 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.01036, allocations: 0 / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.01037, allocations: 8.031 kB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.01038, allocations: 0 / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.01038, allocations: 0 / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.01053, allocations: 259.4 kB / 383.9 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.282e-05/0.01055, allocations: 7.953 kB / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.01057, allocations: 384 / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.048e-05/0.01062, allocations: 11.98 kB / 383.9 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.01065, allocations: 11.92 kB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.01067, allocations: 11.98 kB / 383.9 MB, free: 12.72 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002002/0.01087, allocations: 161.6 kB / 384.1 MB, free: 12.56 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01087, allocations: 0 / 384.1 MB, free: 12.56 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002182/0.01109, allocations: 51.86 kB / 384.1 MB, free: 12.51 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.001239/0.01232, allocations: 0.5392 MB / 384.7 MB, free: 12.17 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001811/0.01251, allocations: 55.61 kB / 384.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.01251, allocations: 0 / 384.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.361e-05/0.01256, allocations: 31.61 kB / 384.7 MB, free: 12.08 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.01286, allocations: 35.91 kB / 384.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005482/0.01341, allocations: 201.9 kB / 385 MB, free: 11.81 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.51e-05/0.01347, allocations: 67.47 kB / 385 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.784e-05/0.01352, allocations: 17.27 kB / 385.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.882e-05/0.01357, allocations: 24.5 kB / 385.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of SimCode: time 1.253e-06/0.01357, allocations: 0 / 385.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of Templates: time 0.004674/0.01825, allocations: 2.543 MB / 387.6 MB, free: 9.172 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.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.4633645289577544]