Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.002494/0.002494, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002895/0.002895, allocations: 165.6 kB / 24.27 MB, free: 156 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.553/1.553, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.3746/0.3746, allocations: 34.26 MB / 295.3 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 179] 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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 377.4 MB, free: 2.895 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.009e-05/3.167e-05, allocations: 6.25 kB / 377.4 MB, free: 2.887 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.00367/0.003701, allocations: 1.75 MB / 379.1 MB, free: 1.125 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002177/0.005878, allocations: 1.005 MB / 380.1 MB, free: 116 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.858e-05/0.005957, allocations: 0 / 380.1 MB, free: 116 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003035/0.00626, allocations: 59.62 kB / 380.2 MB, free: 56 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000362/0.006622, allocations: 99.64 kB / 380.3 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002201/0.006842, allocations: 79.59 kB / 380.4 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002666/0.007109, allocations: 135.5 kB / 380.5 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.707e-05/0.007206, allocations: 11.92 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001492/0.007355, allocations: 71.81 kB / 380.6 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.007471, allocations: 43.89 kB / 380.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.647e-05/0.007498, allocations: 4 kB / 380.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.007626, allocations: 59.91 kB / 380.7 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.695e-05/0.007703, allocations: 31.86 kB / 380.7 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.868e-05/0.007762, allocations: 31.91 kB / 380.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002952/0.008057, allocations: 155.4 kB / 380.9 MB, free: 15.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.008062, allocations: 3.984 kB / 380.9 MB, free: 15.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.008063, allocations: 0 / 380.9 MB, free: 15.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.008069, allocations: 0 / 380.9 MB, free: 15.34 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007051/0.008774, allocations: 471.4 kB / 381.4 MB, free: 14.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.008821, allocations: 8.031 kB / 381.4 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.462e-05/0.008886, allocations: 12.89 kB / 381.4 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002751/0.009161, allocations: 168.8 kB / 381.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.009178, allocations: 4.375 kB / 381.6 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.009201, allocations: 8.375 kB / 381.6 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.009377, allocations: 66.22 kB / 381.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.009394, allocations: 3.938 kB / 381.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.009409, allocations: 8 kB / 381.6 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.009412, allocations: 0 / 381.6 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.00954, allocations: 43.89 kB / 381.7 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005389/0.01008, allocations: 331.6 kB / 382 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003264/0.01041, allocations: 82.97 kB / 382.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.949e-05/0.01048, allocations: 31.7 kB / 382.1 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.0105, allocations: 8 kB / 382.1 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001839/0.01069, allocations: 85.03 kB / 382.2 MB, free: 13.9 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.01069, allocations: 0 / 382.2 MB, free: 13.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009776/0.01167, allocations: 297.7 kB / 382.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.01172, allocations: 67.33 kB / 382.6 MB, free: 13.53 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000267/0.01199, allocations: 249.9 kB / 382.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/0.01201, allocations: 25.7 kB / 382.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.01213, allocations: 155.1 kB / 383 MB, free: 13.08 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.025e-05/0.01219, allocations: 47.64 kB / 383 MB, free: 13.03 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.25e-05/0.01226, allocations: 39.36 kB / 383.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002966/0.01256, allocations: 0.5118 MB / 383.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.553e-05/0.01266, allocations: 31.98 kB / 383.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.01277, allocations: 63.34 kB / 383.7 MB, free: 12.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001916/0.01296, allocations: 99.3 kB / 383.8 MB, free: 12.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-06/0.01297, allocations: 0 / 383.8 MB, free: 12.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003098/0.01327, allocations: 161.5 kB / 383.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.01329, allocations: 4 kB / 383.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.0133, allocations: 0 / 383.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.01331, allocations: 0 / 383.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.01342, allocations: 27.98 kB / 384 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.01343, allocations: 8.031 kB / 384 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.717e-05/0.01348, allocations: 0 / 384 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.01349, allocations: 8 kB / 384 MB, free: 12.04 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 (15): * Single equations (assignments): 15 * 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.0001717/0.01367, allocations: 176.4 kB / 384.1 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.483e-05/0.01371, allocations: 19.91 kB / 384.2 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004176/0.01413, allocations: 183 kB / 384.3 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.01413, allocations: 0 / 384.3 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.01413, allocations: 0 / 384.3 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.01414, allocations: 4 kB / 384.3 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008049/0.01495, allocations: 0.5119 MB / 384.9 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.155e-06/0.01495, allocations: 0 / 384.9 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.471e-05/0.01503, allocations: 23.98 kB / 384.9 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.01504, allocations: 0 / 384.9 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.01505, allocations: 4 kB / 384.9 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.01505, allocations: 0 / 384.9 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.01506, allocations: 3.938 kB / 384.9 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004639/0.01552, allocations: 346.4 kB / 385.2 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.617e-05/0.01555, allocations: 7.953 kB / 385.2 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.685e-05/0.01558, allocations: 8 kB / 385.2 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.008e-05/0.01566, allocations: 8.062 kB / 385.3 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.104e-05/0.01573, allocations: 19.91 kB / 385.3 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/0.01575, allocations: 4 kB / 385.3 MB, free: 10.65 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000173/0.01592, allocations: 188.2 kB / 385.5 MB, free: 10.47 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01592, allocations: 0 / 385.5 MB, free: 10.47 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002957/0.01622, allocations: 43.88 kB / 385.5 MB, free: 10.43 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.003928/0.02014, allocations: 0.5469 MB / 386.1 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003464/0.02049, allocations: 111.5 kB / 386.2 MB, free: 10 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.0205, allocations: 8.062 kB / 386.2 MB, free: 9.992 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.02063, allocations: 63.59 kB / 386.2 MB, free: 9.926 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000388/0.02102, allocations: 31.73 kB / 386.3 MB, free: 9.898 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000675/0.02169, allocations: 294.2 kB / 386.5 MB, free: 9.574 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001273/0.02182, allocations: 102.3 kB / 386.6 MB, free: 9.449 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.387e-05/0.0219, allocations: 29.59 kB / 386.7 MB, free: 9.418 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.152e-05/0.02196, allocations: 24.48 kB / 386.7 MB, free: 9.395 MB / 362.7 MB Notification: Performance of SimCode: time 9.12e-07/0.02197, allocations: 0 / 386.7 MB, free: 9.395 MB / 362.7 MB Notification: Performance of Templates: time 0.006737/0.0287, allocations: 2.373 MB / 389.1 MB, free: 7.051 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.933678220026195]