Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.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.001234/0.001234, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001589/0.002823, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.001143/0.001143, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001486/0.002629, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9647/0.9647, allocations: 158.6 MB / 171 MB, free: 2.586 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1445/1.109, allocations: 49.49 MB / 220.5 MB, free: 1.441 MB / 218.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.1193/0.1193, allocations: 32.35 MB / 253.6 MB, free: 324 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02291/0.1422, allocations: 12.3 MB / 265.9 MB, free: 3.98 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 267.3 MB, free: 2.617 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.192e-05/1.32e-05, allocations: 6.25 kB / 267.3 MB, free: 2.609 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.00228/0.002294, allocations: 1.774 MB / 269.1 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.003362, allocations: 0.8036 MB / 269.9 MB, free: 4 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.186e-05/0.003434, allocations: 3.938 kB / 269.9 MB, free: 0 / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002021/0.003636, allocations: 39.77 kB / 269.9 MB, free: 15.96 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001478/0.003783, allocations: 55.62 kB / 270 MB, free: 15.91 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002022/0.003986, allocations: 83.72 kB / 270 MB, free: 15.82 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001486/0.004134, allocations: 103.6 kB / 270.1 MB, free: 15.72 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.548e-05/0.0042, allocations: 4.234 kB / 270.2 MB, free: 15.72 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.004322, allocations: 75.81 kB / 270.2 MB, free: 15.64 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.075e-05/0.004393, allocations: 27.86 kB / 270.3 MB, free: 15.62 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.004409, allocations: 4 kB / 270.3 MB, free: 15.61 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.25e-05/0.004491, allocations: 43.92 kB / 270.3 MB, free: 15.57 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.769e-05/0.004529, allocations: 11.94 kB / 270.3 MB, free: 15.56 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.486e-05/0.004564, allocations: 15.94 kB / 270.3 MB, free: 15.54 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001539/0.004718, allocations: 91.66 kB / 270.4 MB, free: 15.45 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.342e-05/0.004731, allocations: 4 kB / 270.4 MB, free: 15.45 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.004732, allocations: 0 / 270.4 MB, free: 15.45 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.378e-05/0.004746, allocations: 0 / 270.4 MB, free: 15.45 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.0004107/0.005156, allocations: 316 kB / 270.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.829e-05/0.005185, allocations: 8.031 kB / 270.7 MB, free: 15.11 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.496e-05/0.00522, allocations: 16.88 kB / 270.8 MB, free: 15.09 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.005365, allocations: 134.2 kB / 270.9 MB, free: 14.94 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.005382, allocations: 8.359 kB / 270.9 MB, free: 14.93 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.005398, allocations: 4.375 kB / 270.9 MB, free: 14.93 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.0055, allocations: 65.14 kB / 271 MB, free: 14.85 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.005508, allocations: 4 kB / 271 MB, free: 14.85 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.422e-06/0.005514, allocations: 0 / 271 MB, free: 14.85 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.005519, allocations: 0 / 271 MB, free: 14.85 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.938e-05/0.005548, allocations: 12 kB / 271 MB, free: 14.84 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001982/0.005746, allocations: 169.9 kB / 271.1 MB, free: 14.65 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.309e-05/0.005839, allocations: 85.3 kB / 271.2 MB, free: 14.56 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.449e-05/0.005864, allocations: 20.78 kB / 271.2 MB, free: 14.54 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.889e-06/0.005874, allocations: 0 / 271.2 MB, free: 14.54 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.795e-05/0.005972, allocations: 70.2 kB / 271.3 MB, free: 14.45 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.52e-07/0.005973, allocations: 4 kB / 271.3 MB, free: 14.45 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004854/0.006458, allocations: 105.5 kB / 271.4 MB, free: 14.34 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.006492, allocations: 55.41 kB / 271.5 MB, free: 14.27 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002983/0.009475, allocations: 160.2 kB / 271.6 MB, free: 14.1 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.009492, allocations: 25.7 kB / 271.7 MB, free: 14.07 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.009598, allocations: 92.11 kB / 271.7 MB, free: 13.98 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.214e-05/0.00963, allocations: 23.81 kB / 271.8 MB, free: 13.95 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-05/0.009675, allocations: 29.69 kB / 271.8 MB, free: 13.92 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.982e-05/0.009755, allocations: 326.8 kB / 272.1 MB, free: 13.59 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.409e-05/0.009779, allocations: 6.828 kB / 272.1 MB, free: 13.58 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.801e-05/0.009807, allocations: 29.7 kB / 272.2 MB, free: 13.55 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.104e-05/0.009858, allocations: 40.58 kB / 272.2 MB, free: 13.5 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.009859, allocations: 4 kB / 272.2 MB, free: 13.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.933e-05/0.009949, allocations: 68.38 kB / 272.3 MB, free: 13.42 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.009961, allocations: 8 kB / 272.3 MB, free: 13.41 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.009966, allocations: 0 / 272.3 MB, free: 13.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.085e-06/0.009974, allocations: 0 / 272.3 MB, free: 13.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.823e-05/0.01005, allocations: 27.92 kB / 272.3 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.065e-06/0.01005, allocations: 0 / 272.3 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.777e-05/0.01009, allocations: 11.97 kB / 272.3 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.0101, allocations: 0 / 272.3 MB, free: 13.38 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 8.331e-05/0.01018, allocations: 124.6 kB / 272.4 MB, free: 13.24 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.46e-05/0.0102, allocations: 7.984 kB / 272.4 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001196/0.01032, allocations: 78.38 kB / 272.5 MB, free: 13.16 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.01032, allocations: 4 kB / 272.5 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.01032, allocations: 0 / 272.5 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.01033, allocations: 3.984 kB / 272.5 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001373/0.0117, allocations: 283.4 kB / 272.8 MB, free: 12.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.0117, allocations: 4.031 kB / 272.8 MB, free: 12.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.46e-05/0.01175, allocations: 12 kB / 272.8 MB, free: 12.83 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.252e-05/0.01176, allocations: 7.953 kB / 272.8 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.01176, allocations: 0 / 272.8 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-06/0.01177, allocations: 4 kB / 272.8 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.01177, allocations: 3.984 kB / 272.8 MB, free: 12.81 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.01178, allocations: 7.938 kB / 272.8 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001216/0.0119, allocations: 207.1 kB / 273 MB, free: 12.58 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.01192, allocations: 384 / 273 MB, free: 12.58 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.415e-05/0.01198, allocations: 8 kB / 273 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.442e-05/0.012, allocations: 7.984 kB / 273.1 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.01202, allocations: 11.94 kB / 273.1 MB, free: 12.55 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.146e-05/0.01206, allocations: 43.64 kB / 273.1 MB, free: 12.51 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01206, allocations: 0 / 273.1 MB, free: 12.51 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002053/0.01227, allocations: 20 kB / 273.1 MB, free: 12.49 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.001551/0.01382, allocations: 0.636 MB / 273.8 MB, free: 11.84 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.34e-05/0.01391, allocations: 52.77 kB / 273.8 MB, free: 11.78 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/0.01392, allocations: 0 / 273.8 MB, free: 11.78 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.793e-05/0.01397, allocations: 24.84 kB / 273.8 MB, free: 11.75 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001738/0.01414, allocations: 47.83 kB / 273.9 MB, free: 11.71 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004115/0.01456, allocations: 206.3 kB / 274.1 MB, free: 11.48 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.645e-05/0.01459, allocations: 67.34 kB / 274.2 MB, free: 11.39 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.501e-05/0.01463, allocations: 16.47 kB / 274.2 MB, free: 11.38 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.074e-05/0.01469, allocations: 67.36 kB / 274.2 MB, free: 11.31 MB / 282.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01469, allocations: 0 / 274.2 MB, free: 11.31 MB / 282.7 MB Notification: Performance of Templates: time 0.007/0.02169, allocations: 2.022 MB / 276.3 MB, free: 9.285 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.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: 2.7430654251948]