Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.001285/0.001285, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002996/0.00428, allocations: 449.7 kB / 10.37 MB, free: 328 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.001597/0.001597, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002055/0.003652, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.091/1.091, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1036/1.194, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.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.3059/0.3059, allocations: 32.8 MB / 276.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02772/0.3336, allocations: 12.53 MB / 289.3 MB, free: 8.676 MB / 282.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.745e-06/2.745e-06, allocations: 0 / 290.7 MB, free: 7.586 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.172e-05/3.446e-05, allocations: 3.188 kB / 290.7 MB, free: 7.582 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.004555/0.00459, allocations: 2.009 MB / 292.7 MB, free: 5.961 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002238/0.006828, allocations: 1.048 MB / 293.7 MB, free: 5.148 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001785/0.007006, allocations: 7.938 kB / 293.8 MB, free: 5.141 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003321/0.007339, allocations: 43.64 kB / 293.8 MB, free: 5.098 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004302/0.007769, allocations: 99.41 kB / 293.9 MB, free: 5 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003562/0.008125, allocations: 99.58 kB / 294 MB, free: 4.902 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000308/0.008433, allocations: 151.5 kB / 294.1 MB, free: 4.754 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.008571, allocations: 22.45 kB / 294.2 MB, free: 4.73 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002329/0.008804, allocations: 111.6 kB / 294.3 MB, free: 4.621 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001289/0.008933, allocations: 35.84 kB / 294.3 MB, free: 4.586 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.884e-05/0.008962, allocations: 8 kB / 294.3 MB, free: 4.578 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001524/0.009114, allocations: 51.91 kB / 294.4 MB, free: 4.527 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.29e-05/0.009187, allocations: 19.88 kB / 294.4 MB, free: 4.508 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.752e-05/0.009245, allocations: 23.94 kB / 294.4 MB, free: 4.484 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003259/0.009571, allocations: 123.5 kB / 294.5 MB, free: 4.363 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.149e-05/0.009592, allocations: 4 kB / 294.5 MB, free: 4.359 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.009594, allocations: 0 / 294.5 MB, free: 4.359 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.216e-05/0.009616, allocations: 0 / 294.5 MB, free: 4.359 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007654/0.01038, allocations: 413.9 kB / 294.9 MB, free: 3.926 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.01042, allocations: 8.031 kB / 294.9 MB, free: 3.918 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.918e-05/0.01048, allocations: 16.92 kB / 295 MB, free: 3.902 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.01074, allocations: 154.4 kB / 295.1 MB, free: 3.723 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/0.01077, allocations: 4.375 kB / 295.1 MB, free: 3.719 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.867e-05/0.0108, allocations: 16.36 kB / 295.1 MB, free: 3.703 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002338/0.01103, allocations: 141.9 kB / 295.3 MB, free: 3.539 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.01104, allocations: 3.938 kB / 295.3 MB, free: 3.535 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.01106, allocations: 0 / 295.3 MB, free: 3.535 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.01106, allocations: 0 / 295.3 MB, free: 3.535 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.901e-05/0.01113, allocations: 30.75 kB / 295.3 MB, free: 3.504 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005697/0.0117, allocations: 370.1 kB / 295.7 MB, free: 3.117 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002679/0.01197, allocations: 101.3 kB / 295.8 MB, free: 3.008 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.705e-05/0.01201, allocations: 24.78 kB / 295.8 MB, free: 2.98 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.834e-05/0.01202, allocations: 4 kB / 295.8 MB, free: 2.977 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001883/0.01221, allocations: 91.91 kB / 295.9 MB, free: 2.867 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 2.465e-06/0.01222, allocations: 0 / 295.9 MB, free: 2.867 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002241/0.01244, allocations: 73.61 kB / 296 MB, free: 2.789 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/0.01248, allocations: 51.41 kB / 296 MB, free: 2.727 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001901/0.01267, allocations: 193.6 kB / 296.2 MB, free: 2.523 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.0127, allocations: 33.69 kB / 296.2 MB, free: 2.484 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.91e-05/0.01278, allocations: 108 kB / 296.3 MB, free: 2.375 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.602e-05/0.01281, allocations: 31.78 kB / 296.4 MB, free: 2.344 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.289e-05/0.01287, allocations: 29.69 kB / 296.4 MB, free: 2.309 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.01299, allocations: 330.7 kB / 296.7 MB, free: 1.977 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.293e-05/0.01302, allocations: 10.83 kB / 296.7 MB, free: 1.965 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.124e-05/0.01307, allocations: 45.22 kB / 296.8 MB, free: 1.906 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.01318, allocations: 81.88 kB / 296.8 MB, free: 1.809 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/0.01318, allocations: 4 kB / 296.9 MB, free: 1.805 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001617/0.01334, allocations: 88.36 kB / 296.9 MB, free: 1.711 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.01336, allocations: 4 kB / 296.9 MB, free: 1.707 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.01337, allocations: 4 kB / 296.9 MB, free: 1.703 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.01338, allocations: 0 / 296.9 MB, free: 1.703 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.0135, allocations: 35.86 kB / 297 MB, free: 1.668 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.0135, allocations: 4 kB / 297 MB, free: 1.664 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.764e-05/0.01356, allocations: 7.953 kB / 297 MB, free: 1.656 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.01357, allocations: 4 kB / 297 MB, free: 1.652 MB / 282.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 0.0001046/0.01368, allocations: 130.4 kB / 297.1 MB, free: 1.516 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/0.0137, allocations: 8 kB / 297.1 MB, free: 1.508 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001826/0.01388, allocations: 79.06 kB / 297.2 MB, free: 1.426 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.01389, allocations: 3.984 kB / 297.2 MB, free: 1.422 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.0139, allocations: 4 kB / 297.2 MB, free: 1.418 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.0139, allocations: 0 / 297.2 MB, free: 1.418 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.01406, allocations: 113.7 kB / 297.3 MB, free: 1.289 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.01406, allocations: 3.938 kB / 297.3 MB, free: 1.285 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.721e-05/0.01416, allocations: 15.98 kB / 297.3 MB, free: 1.27 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.409e-05/0.01418, allocations: 7.953 kB / 297.4 MB, free: 1.262 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.01419, allocations: 4 kB / 297.4 MB, free: 1.258 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.0142, allocations: 0 / 297.4 MB, free: 1.258 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.01421, allocations: 0 / 297.4 MB, free: 1.258 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.01421, allocations: 0 / 297.4 MB, free: 1.258 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002269/0.01443, allocations: 123.1 kB / 297.5 MB, free: 1.117 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.391e-05/0.01447, allocations: 8 kB / 297.5 MB, free: 1.109 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.457e-05/0.01452, allocations: 4 kB / 297.5 MB, free: 1.105 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.642e-05/0.01457, allocations: 7.922 kB / 297.5 MB, free: 1.098 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-05/0.01459, allocations: 8 kB / 297.5 MB, free: 1.09 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.629e-05/0.01468, allocations: 57.39 kB / 297.6 MB, free: 1.031 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01468, allocations: 32 / 297.6 MB, free: 1.031 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000238/0.01492, allocations: 31.94 kB / 297.6 MB, free: 1 MB / 282.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.002111/0.01703, allocations: 0.5461 MB / 298.1 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001622/0.01719, allocations: 52.77 kB / 298.2 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.838e-05/0.01721, allocations: 12.05 kB / 298.2 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.406e-05/0.01726, allocations: 24.8 kB / 298.2 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.01752, allocations: 56.14 kB / 298.3 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008123/0.01833, allocations: 254.6 kB / 298.5 MB, free: 348 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.081e-05/0.01839, allocations: 71.83 kB / 298.6 MB, free: 256 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.819e-05/0.01846, allocations: 13.48 kB / 298.6 MB, free: 244 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.01858, allocations: 79.3 kB / 298.7 MB, free: 164 kB / 282.7 MB Notification: Performance of SimCode: time 1.272e-06/0.01858, allocations: 0 / 298.7 MB, free: 164 kB / 282.7 MB Notification: Performance of Templates: time 0.006615/0.02519, allocations: 2.246 MB / 300.9 MB, free: 13.96 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.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.241410235874355]