Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.001953/0.001953, allocations: 84.55 kB / 20.68 MB, free: 1.023 MB / 14.72 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.002286/0.002286, allocations: 163.9 kB / 23.95 MB, free: 4.156 MB / 14.72 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.561/1.561, allocations: 177.1 MB / 204.3 MB, free: 9.195 MB / 190.1 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.2273/0.2273, allocations: 34.29 MB / 295 MB, free: 14.58 MB / 286.1 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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.315e-06/2.315e-06, allocations: 0 / 442.8 MB, free: 5.332 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.757e-05/2.989e-05, allocations: 9.234 kB / 442.8 MB, free: 5.324 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003168/0.003197, allocations: 1.673 MB / 444.4 MB, free: 3.637 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001975/0.005172, allocations: 0.9548 MB / 445.4 MB, free: 2.676 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.557e-05/0.005258, allocations: 4 kB / 445.4 MB, free: 2.672 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003532/0.005611, allocations: 63.67 kB / 445.5 MB, free: 2.609 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003821/0.005993, allocations: 107.5 kB / 445.6 MB, free: 2.504 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001899/0.006183, allocations: 79.61 kB / 445.6 MB, free: 2.426 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002343/0.006417, allocations: 111.6 kB / 445.8 MB, free: 2.316 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.449e-05/0.006472, allocations: 4.234 kB / 445.8 MB, free: 2.312 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.006593, allocations: 55.81 kB / 445.8 MB, free: 2.258 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.006704, allocations: 39.91 kB / 445.8 MB, free: 2.219 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.006726, allocations: 4 kB / 445.9 MB, free: 2.215 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.777e-05/0.006823, allocations: 39.91 kB / 445.9 MB, free: 2.176 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.827e-05/0.006892, allocations: 27.86 kB / 445.9 MB, free: 2.148 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.116e-05/0.006943, allocations: 15.94 kB / 445.9 MB, free: 2.133 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002169/0.00716, allocations: 103.6 kB / 446 MB, free: 2.031 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.007164, allocations: 0 / 446 MB, free: 2.031 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.007165, allocations: 0 / 446 MB, free: 2.031 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.007175, allocations: 0 / 446 MB, free: 2.031 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000615/0.00779, allocations: 337.6 kB / 446.4 MB, free: 1.672 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.626e-05/0.007847, allocations: 11.97 kB / 446.4 MB, free: 1.66 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.521e-05/0.007902, allocations: 16.84 kB / 446.4 MB, free: 1.645 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000255/0.008157, allocations: 146.3 kB / 446.5 MB, free: 1.477 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.008169, allocations: 8.375 kB / 446.5 MB, free: 1.469 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.008187, allocations: 4.375 kB / 446.5 MB, free: 1.465 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.008347, allocations: 54.17 kB / 446.6 MB, free: 1.406 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.008358, allocations: 7.875 kB / 446.6 MB, free: 1.398 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.008368, allocations: 0 / 446.6 MB, free: 1.398 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.008372, allocations: 0 / 446.6 MB, free: 1.398 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.267e-05/0.008445, allocations: 15.98 kB / 446.6 MB, free: 1.383 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001919/0.008637, allocations: 129.3 kB / 446.8 MB, free: 1.227 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/0.008823, allocations: 50.61 kB / 446.8 MB, free: 1.168 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.263e-05/0.008886, allocations: 24.84 kB / 446.8 MB, free: 1.141 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.008898, allocations: 0 / 446.8 MB, free: 1.141 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001687/0.009067, allocations: 71.33 kB / 446.9 MB, free: 1.059 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.553e-06/0.009069, allocations: 0 / 446.9 MB, free: 1.059 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003177/0.009386, allocations: 101.5 kB / 447 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.00943, allocations: 51.41 kB / 447 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002323/0.009662, allocations: 202.3 kB / 447.2 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.009686, allocations: 29.7 kB / 447.3 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.306e-05/0.009759, allocations: 104.1 kB / 447.4 MB, free: 0.543 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.00979, allocations: 15.89 kB / 447.4 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.299e-05/0.009833, allocations: 21.72 kB / 447.4 MB, free: 0.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.01, allocations: 322.8 kB / 447.7 MB, free: 180 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.906e-05/0.01006, allocations: 19.98 kB / 447.7 MB, free: 160 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.973e-05/0.01012, allocations: 21.72 kB / 447.8 MB, free: 132 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.01023, allocations: 49.95 kB / 447.8 MB, free: 76 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.01023, allocations: 0 / 447.8 MB, free: 76 kB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.2114/0.2217, allocations: 82.41 kB / 447.9 MB, free: 19.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.963e-05/0.2217, allocations: 10.03 kB / 447.9 MB, free: 19.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.2217, allocations: 2.625 kB / 447.9 MB, free: 19.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/0.2217, allocations: 1.703 kB / 447.9 MB, free: 19.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.2219, allocations: 10.27 kB / 447.9 MB, free: 19.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.2219, allocations: 1.875 kB / 447.9 MB, free: 19.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.355e-05/0.2219, allocations: 12.06 kB / 447.9 MB, free: 19.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.2219, allocations: 1.5 kB / 447.9 MB, free: 19.16 MB / 366.1 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 (7): * Single equations (assignments): 7 * 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.0001003/0.222, allocations: 131.5 kB / 448.1 MB, free: 19.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.876e-05/0.2221, allocations: 8.547 kB / 448.1 MB, free: 19.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002416/0.2223, allocations: 102.1 kB / 448.2 MB, free: 19.01 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.2223, allocations: 1.062 kB / 448.2 MB, free: 19.01 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.2223, allocations: 1.156 kB / 448.2 MB, free: 19.01 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.2223, allocations: 0.6094 kB / 448.2 MB, free: 19.01 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001066/0.2224, allocations: 140 kB / 448.3 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.2224, allocations: 4.516 kB / 448.3 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.868e-05/0.2225, allocations: 5.453 kB / 448.3 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2225, allocations: 0 / 448.3 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.2225, allocations: 5.641 kB / 448.3 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.2225, allocations: 1.969 kB / 448.3 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2225, allocations: 0 / 448.3 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000178/0.2227, allocations: 122.2 kB / 448.4 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.183e-05/0.2227, allocations: 10.64 kB / 448.5 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.2227, allocations: 1.953 kB / 448.5 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.895e-05/0.2227, allocations: 6.672 kB / 448.5 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.603e-05/0.2228, allocations: 8.312 kB / 448.5 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.2228, allocations: 2.969 kB / 448.5 MB, free: 18.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001162/0.2229, allocations: 151.8 kB / 448.6 MB, free: 18.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2229, allocations: 0 / 448.6 MB, free: 18.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002609/0.2232, allocations: 15.03 kB / 448.6 MB, free: 18.75 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001807/0.225, allocations: 447.2 kB / 449.1 MB, free: 18.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001808/0.2252, allocations: 45.89 kB / 449.1 MB, free: 18.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2252, allocations: 0 / 449.1 MB, free: 18.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.467e-05/0.2252, allocations: 18.19 kB / 449.1 MB, free: 18.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002936/0.2255, allocations: 29.44 kB / 449.2 MB, free: 18.6 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004019/0.2259, allocations: 209.5 kB / 449.4 MB, free: 18.47 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.837e-05/0.226, allocations: 89.28 kB / 449.5 MB, free: 18.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.46e-05/0.226, allocations: 11.14 kB / 449.5 MB, free: 18.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.332e-05/0.2261, allocations: 19.56 kB / 449.5 MB, free: 18.38 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2261, allocations: 64 / 449.5 MB, free: 18.38 MB / 366.1 MB Notification: Performance of Templates: time 0.004903/0.231, allocations: 1.629 MB / 451.1 MB, free: 18.18 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.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: 5.054069302976131]