Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.001462/0.001462, allocations: 85.41 kB / 20.68 MB, free: 1.02 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.001742/0.001742, allocations: 167.8 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.398/1.398, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] 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.1965/0.1965, allocations: 32.81 MB / 293.5 MB, free: 40 kB / 270.1 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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 0 / 440.2 MB, free: 8.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.511e-05/2.664e-05, allocations: 2.281 kB / 440.2 MB, free: 8.086 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.00288/0.002906, allocations: 1.668 MB / 441.8 MB, free: 6.406 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001761/0.004668, allocations: 0.9509 MB / 442.8 MB, free: 5.449 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.437e-05/0.004742, allocations: 0 / 442.8 MB, free: 5.449 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003666/0.005109, allocations: 63.67 kB / 442.9 MB, free: 5.387 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003599/0.005469, allocations: 99.53 kB / 443 MB, free: 5.289 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002134/0.005682, allocations: 71.62 kB / 443 MB, free: 5.219 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001939/0.005876, allocations: 103.6 kB / 443.1 MB, free: 5.117 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.572e-05/0.005922, allocations: 4.234 kB / 443.1 MB, free: 5.113 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.006051, allocations: 55.78 kB / 443.2 MB, free: 5.059 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.006152, allocations: 31.89 kB / 443.2 MB, free: 5.027 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.006174, allocations: 4 kB / 443.2 MB, free: 5.023 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.739e-05/0.006261, allocations: 35.94 kB / 443.3 MB, free: 4.988 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.283e-05/0.006324, allocations: 19.92 kB / 443.3 MB, free: 4.969 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.543e-05/0.006379, allocations: 27.84 kB / 443.3 MB, free: 4.941 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002183/0.006598, allocations: 115.6 kB / 443.4 MB, free: 4.828 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.006601, allocations: 4 kB / 443.4 MB, free: 4.824 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.006602, allocations: 0 / 443.4 MB, free: 4.824 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.006607, allocations: 0 / 443.4 MB, free: 4.824 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.0005781/0.007185, allocations: 369.3 kB / 443.8 MB, free: 4.434 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.007217, allocations: 16.03 kB / 443.8 MB, free: 4.418 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.116e-05/0.007268, allocations: 16.84 kB / 443.8 MB, free: 4.402 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.007508, allocations: 162.4 kB / 444 MB, free: 4.215 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.00752, allocations: 384 / 444 MB, free: 4.215 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.007535, allocations: 8.375 kB / 444 MB, free: 4.207 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.007673, allocations: 46.23 kB / 444 MB, free: 4.156 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.007684, allocations: 3.938 kB / 444 MB, free: 4.152 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.007693, allocations: 0 / 444 MB, free: 4.152 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.007699, allocations: 4 kB / 444 MB, free: 4.148 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.239e-05/0.007771, allocations: 15.98 kB / 444 MB, free: 4.133 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001863/0.007957, allocations: 141.3 kB / 444.2 MB, free: 3.965 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001706/0.008128, allocations: 58.55 kB / 444.2 MB, free: 3.898 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.068e-05/0.008189, allocations: 20.84 kB / 444.3 MB, free: 3.875 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.008203, allocations: 0 / 444.3 MB, free: 3.875 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001544/0.008357, allocations: 63.39 kB / 444.3 MB, free: 3.801 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.008358, allocations: 0 / 444.3 MB, free: 3.801 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002973/0.008656, allocations: 113.4 kB / 444.4 MB, free: 3.684 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.008704, allocations: 51.41 kB / 444.5 MB, free: 3.621 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002773/0.008981, allocations: 276.1 kB / 444.8 MB, free: 3.344 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.009001, allocations: 25.7 kB / 444.8 MB, free: 3.312 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.646e-05/0.009077, allocations: 116.1 kB / 444.9 MB, free: 3.195 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.46e-05/0.009112, allocations: 23.83 kB / 444.9 MB, free: 3.172 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.812e-05/0.00915, allocations: 13.72 kB / 444.9 MB, free: 3.152 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.009293, allocations: 326.8 kB / 445.2 MB, free: 2.824 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.315e-05/0.009347, allocations: 15.98 kB / 445.3 MB, free: 2.809 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.026e-05/0.009407, allocations: 33.7 kB / 445.3 MB, free: 2.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.00951, allocations: 49.64 kB / 445.3 MB, free: 2.715 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.009511, allocations: 4 kB / 445.3 MB, free: 2.711 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001645/0.009676, allocations: 81.59 kB / 445.4 MB, free: 2.625 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.00969, allocations: 8 kB / 445.4 MB, free: 2.617 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.009696, allocations: 7.875 kB / 445.4 MB, free: 2.609 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.009707, allocations: 0 / 445.4 MB, free: 2.609 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.428e-05/0.009782, allocations: 15.92 kB / 445.5 MB, free: 2.594 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.009786, allocations: 480 / 445.5 MB, free: 2.594 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.541e-05/0.009831, allocations: 4 kB / 445.5 MB, free: 2.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.009843, allocations: 8 kB / 445.5 MB, free: 2.582 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.0001175/0.00996, allocations: 134.5 kB / 445.6 MB, free: 2.441 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.622e-05/0.009986, allocations: 15.91 kB / 445.6 MB, free: 2.426 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002235/0.01021, allocations: 114.7 kB / 445.7 MB, free: 2.309 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.01021, allocations: 0 / 445.7 MB, free: 2.309 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.01021, allocations: 0 / 445.7 MB, free: 2.309 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.01022, allocations: 0 / 445.7 MB, free: 2.309 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/0.01036, allocations: 149.2 kB / 445.9 MB, free: 2.133 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.01036, allocations: 0 / 445.9 MB, free: 2.133 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.586e-05/0.01038, allocations: 7.938 kB / 445.9 MB, free: 2.125 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.01039, allocations: 0 / 445.9 MB, free: 2.125 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.0104, allocations: 4 kB / 445.9 MB, free: 2.121 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.0104, allocations: 7.938 kB / 445.9 MB, free: 2.113 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.0104, allocations: 4 kB / 445.9 MB, free: 2.109 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002151/0.01061, allocations: 121 kB / 446 MB, free: 1.973 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.072e-05/0.01063, allocations: 11.91 kB / 446 MB, free: 1.961 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.01066, allocations: 0 / 446 MB, free: 1.961 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.995e-05/0.0107, allocations: 3.938 kB / 446 MB, free: 1.957 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.562e-05/0.01073, allocations: 11.92 kB / 446 MB, free: 1.945 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.01074, allocations: 0 / 446 MB, free: 1.945 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001892/0.01093, allocations: 208.4 kB / 446.2 MB, free: 1.742 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.01093, allocations: 4 kB / 446.3 MB, free: 1.738 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002123/0.01114, allocations: 27.92 kB / 446.3 MB, free: 1.711 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.001516/0.01266, allocations: 433.2 kB / 446.7 MB, free: 1.461 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001568/0.01282, allocations: 39.98 kB / 446.7 MB, free: 1.422 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.01282, allocations: 0 / 446.7 MB, free: 1.422 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.521e-05/0.01288, allocations: 27.92 kB / 446.8 MB, free: 1.395 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.01314, allocations: 22.61 kB / 446.8 MB, free: 1.375 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004862/0.01363, allocations: 273.6 kB / 447.1 MB, free: 1.082 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001009/0.01373, allocations: 113.8 kB / 447.2 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.11e-05/0.01377, allocations: 12.48 kB / 447.2 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.413e-05/0.0138, allocations: 16.5 kB / 447.2 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.0138, allocations: 0 / 447.2 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of Templates: time 0.1648/0.1786, allocations: 1.641 MB / 448.8 MB, free: 21.3 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.527581535279751]