Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.0009972/0.0009972, allocations: 83.58 kB / 21.19 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.001045/0.001045, allocations: 161 kB / 24.56 MB, free: 20 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.049/1.049, allocations: 177.1 MB / 205 MB, free: 5.617 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.2748/0.2748, allocations: 32.8 MB / 294.3 MB, free: 1.293 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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 376.1 MB, free: 4.594 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.306e-05/2.457e-05, allocations: 2.312 kB / 376.1 MB, free: 4.59 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003239/0.003264, allocations: 1.962 MB / 378.1 MB, free: 2.609 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001844/0.005108, allocations: 1.04 MB / 379.1 MB, free: 1.562 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.005244, allocations: 3.938 kB / 379.1 MB, free: 1.559 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003834/0.005628, allocations: 51.58 kB / 379.2 MB, free: 1.508 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003918/0.006019, allocations: 99.42 kB / 379.2 MB, free: 1.41 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002766/0.006296, allocations: 95.62 kB / 379.3 MB, free: 1.316 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002694/0.006565, allocations: 155.5 kB / 379.5 MB, free: 1.164 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.006696, allocations: 17.81 kB / 379.5 MB, free: 1.148 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001398/0.006836, allocations: 75.8 kB / 379.6 MB, free: 1.074 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.006951, allocations: 39.83 kB / 379.6 MB, free: 1.035 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.504e-05/0.006976, allocations: 8 kB / 379.6 MB, free: 1.027 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.007091, allocations: 51.86 kB / 379.7 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.808e-05/0.007169, allocations: 39.83 kB / 379.7 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.559e-05/0.007234, allocations: 23.94 kB / 379.7 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002992/0.007534, allocations: 123.5 kB / 379.9 MB, free: 0.793 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.007536, allocations: 4 kB / 379.9 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.007538, allocations: 0 / 379.9 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.992e-06/0.007544, allocations: 0 / 379.9 MB, free: 0.7891 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006329/0.008176, allocations: 0.5013 MB / 380.4 MB, free: 252 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.008217, allocations: 8.031 kB / 380.4 MB, free: 244 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.977e-05/0.008287, allocations: 24.8 kB / 380.4 MB, free: 220 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002453/0.008532, allocations: 177.1 kB / 380.6 MB, free: 12 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.008554, allocations: 384 / 380.6 MB, free: 12 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.87e-05/0.008613, allocations: 16.41 kB / 380.6 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002333/0.008846, allocations: 143.1 kB / 380.7 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.008858, allocations: 3.938 kB / 380.7 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.008871, allocations: 0 / 380.7 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.008884, allocations: 7.984 kB / 380.7 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.238e-05/0.008957, allocations: 35.91 kB / 380.8 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005706/0.009527, allocations: 0.5834 MB / 381.4 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002362/0.009763, allocations: 71.09 kB / 381.4 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.001e-05/0.009813, allocations: 27.67 kB / 381.5 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.009833, allocations: 4 kB / 381.5 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000145/0.009978, allocations: 94.75 kB / 381.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.754e-06/0.009979, allocations: 0 / 381.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002675/0.01025, allocations: 113.5 kB / 381.7 MB, free: 14.81 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.01028, allocations: 55.34 kB / 381.7 MB, free: 14.74 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001897/0.01047, allocations: 247.1 kB / 382 MB, free: 14.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.01049, allocations: 37.69 kB / 382 MB, free: 14.44 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.176e-05/0.01058, allocations: 162.8 kB / 382.2 MB, free: 14.28 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.714e-05/0.01061, allocations: 31.75 kB / 382.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.068e-05/0.01066, allocations: 35.36 kB / 382.2 MB, free: 14.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.0108, allocations: 0.5 MB / 382.7 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.028e-05/0.01085, allocations: 11.98 kB / 382.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.364e-05/0.01091, allocations: 66.36 kB / 382.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.01102, allocations: 82.38 kB / 382.9 MB, free: 13.49 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.01102, allocations: 0 / 382.9 MB, free: 13.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001795/0.0112, allocations: 117.4 kB / 383 MB, free: 13.37 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.01121, allocations: 8 kB / 383 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.01122, allocations: 0 / 383 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.01123, allocations: 0 / 383 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.837e-05/0.01132, allocations: 23.98 kB / 383 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.01133, allocations: 0 / 383 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.308e-05/0.01138, allocations: 20.05 kB / 383 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.01139, allocations: 8 kB / 383.1 MB, free: 13.31 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 9.61e-05/0.01149, allocations: 170 kB / 383.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.919e-05/0.01152, allocations: 19.91 kB / 383.2 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001885/0.01171, allocations: 103.1 kB / 383.3 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.01171, allocations: 4 kB / 383.3 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.01171, allocations: 0 / 383.3 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.01172, allocations: 0 / 383.3 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.01187, allocations: 164.5 kB / 383.5 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.01187, allocations: 0 / 383.5 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.833e-05/0.01194, allocations: 23.98 kB / 383.5 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.01194, allocations: 0 / 383.5 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.01195, allocations: 4 kB / 383.5 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.01195, allocations: 0 / 383.5 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01195, allocations: 0 / 383.5 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002377/0.01219, allocations: 160.8 kB / 383.7 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.13e-05/0.01221, allocations: 19.84 kB / 383.7 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.01223, allocations: 0 / 383.7 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.155e-05/0.01227, allocations: 4 kB / 383.7 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.463e-05/0.01232, allocations: 11.98 kB / 383.7 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.01234, allocations: 12.02 kB / 383.7 MB, free: 12.56 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001089/0.01244, allocations: 163.2 kB / 383.9 MB, free: 12.4 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01244, allocations: 7.938 kB / 383.9 MB, free: 12.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002557/0.0127, allocations: 27.98 kB / 383.9 MB, free: 12.37 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001088/0.01379, allocations: 393.2 kB / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001595/0.01395, allocations: 63.59 kB / 384.4 MB, free: 12.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01395, allocations: 0 / 384.4 MB, free: 12.05 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.372e-05/0.01401, allocations: 31.61 kB / 384.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.0143, allocations: 47.89 kB / 384.5 MB, free: 11.97 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004691/0.01477, allocations: 254.2 kB / 384.7 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.917e-05/0.01482, allocations: 71.84 kB / 384.8 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.644e-05/0.01487, allocations: 13.48 kB / 384.8 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.295e-05/0.01492, allocations: 20.48 kB / 384.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of SimCode: time 9.92e-07/0.01492, allocations: 0 / 384.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of Templates: time 0.004976/0.01989, allocations: 2.062 MB / 386.9 MB, free: 9.535 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.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.4204661273397505]