Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007298/0.0007298, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001228/0.001958, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006552/0.0006552, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009876/0.001643, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9283/0.9283, allocations: 173.4 MB / 186 MB, free: 7.52 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.201/1.129, allocations: 52.48 MB / 238.5 MB, free: 7.629 MB / 234.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.1379/0.1379, allocations: 32.8 MB / 272 MB, free: 6.305 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02355/0.1614, allocations: 12.54 MB / 284.5 MB, free: 9.727 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 285.9 MB, free: 8.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.303e-05/2.462e-05, allocations: 2.312 kB / 285.9 MB, free: 8.332 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003495/0.00352, allocations: 1.802 MB / 287.7 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00251/0.00603, allocations: 1.625 MB / 289.4 MB, free: 4.887 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.728e-05/0.006118, allocations: 0 / 289.4 MB, free: 4.887 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002719/0.006389, allocations: 47.58 kB / 289.4 MB, free: 4.84 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002475/0.006637, allocations: 63.62 kB / 289.5 MB, free: 4.777 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003684/0.007005, allocations: 115.5 kB / 289.6 MB, free: 4.664 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001956/0.007201, allocations: 91.7 kB / 289.7 MB, free: 4.574 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.485e-05/0.007296, allocations: 12.22 kB / 289.7 MB, free: 4.559 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001741/0.00747, allocations: 79.7 kB / 289.8 MB, free: 4.48 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001402/0.00761, allocations: 31.89 kB / 289.8 MB, free: 4.449 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.007631, allocations: 4 kB / 289.8 MB, free: 4.445 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001642/0.007795, allocations: 59.92 kB / 289.9 MB, free: 4.387 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.268e-05/0.007848, allocations: 11.94 kB / 289.9 MB, free: 4.375 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.024e-05/0.007888, allocations: 15.94 kB / 289.9 MB, free: 4.359 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002413/0.008129, allocations: 107.6 kB / 290 MB, free: 4.254 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.34e-05/0.008142, allocations: 4 kB / 290 MB, free: 4.25 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.008144, allocations: 0 / 290 MB, free: 4.25 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.008156, allocations: 0 / 290 MB, free: 4.25 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.0006105/0.008767, allocations: 323.9 kB / 290.3 MB, free: 3.91 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.008812, allocations: 8.031 kB / 290.3 MB, free: 3.902 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.327e-05/0.008865, allocations: 4.938 kB / 290.3 MB, free: 3.898 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002587/0.009124, allocations: 149.5 kB / 290.5 MB, free: 3.727 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.009146, allocations: 4.375 kB / 290.5 MB, free: 3.723 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.697e-05/0.009173, allocations: 384 / 290.5 MB, free: 3.723 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/0.00938, allocations: 109.2 kB / 290.6 MB, free: 3.594 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.009401, allocations: 3.938 kB / 290.6 MB, free: 3.59 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.009411, allocations: 0 / 290.6 MB, free: 3.59 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.009418, allocations: 4 kB / 290.6 MB, free: 3.586 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.615e-05/0.009464, allocations: 10.81 kB / 290.6 MB, free: 3.574 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002945/0.009759, allocations: 173.8 kB / 290.8 MB, free: 3.387 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.009883, allocations: 85.36 kB / 290.9 MB, free: 3.293 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.782e-05/0.00991, allocations: 8.859 kB / 290.9 MB, free: 3.281 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.009923, allocations: 0 / 290.9 MB, free: 3.281 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001236/0.01005, allocations: 74.14 kB / 290.9 MB, free: 3.195 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.01005, allocations: 0 / 290.9 MB, free: 3.195 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003963/0.01044, allocations: 105.6 kB / 291 MB, free: 3.086 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.01048, allocations: 55.41 kB / 291.1 MB, free: 3.02 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.01062, allocations: 159.2 kB / 291.2 MB, free: 2.852 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.01064, allocations: 29.7 kB / 291.3 MB, free: 2.816 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.088e-05/0.01068, allocations: 91.94 kB / 291.4 MB, free: 2.723 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.544e-05/0.01072, allocations: 23.83 kB / 291.4 MB, free: 2.699 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-05/0.01077, allocations: 33.64 kB / 291.4 MB, free: 2.66 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.702e-05/0.01086, allocations: 322.8 kB / 291.7 MB, free: 2.336 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.608e-05/0.01089, allocations: 14.83 kB / 291.8 MB, free: 2.32 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.825e-05/0.01094, allocations: 56.27 kB / 291.8 MB, free: 2.25 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.998e-05/0.011, allocations: 40.45 kB / 291.8 MB, free: 2.203 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.011, allocations: 4 kB / 291.9 MB, free: 2.199 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001167/0.01112, allocations: 72.44 kB / 291.9 MB, free: 2.121 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.01113, allocations: 8 kB / 291.9 MB, free: 2.113 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.01114, allocations: 0 / 291.9 MB, free: 2.113 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.01116, allocations: 0 / 291.9 MB, free: 2.113 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.01126, allocations: 23.92 kB / 292 MB, free: 2.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.01126, allocations: 4.062 kB / 292 MB, free: 2.086 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.098e-05/0.01131, allocations: 8 kB / 292 MB, free: 2.078 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.01132, allocations: 0 / 292 MB, free: 2.078 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 9.698e-05/0.01142, allocations: 120.7 kB / 292.1 MB, free: 1.949 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.01144, allocations: 7.938 kB / 292.1 MB, free: 1.941 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001751/0.01162, allocations: 74.38 kB / 292.2 MB, free: 1.863 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.01162, allocations: 4.375 kB / 292.2 MB, free: 1.859 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.01163, allocations: 3.984 kB / 292.2 MB, free: 1.855 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.01163, allocations: 0 / 292.2 MB, free: 1.855 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004123/0.01204, allocations: 299.4 kB / 292.5 MB, free: 1.535 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.01205, allocations: 0 / 292.5 MB, free: 1.535 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.79e-05/0.01211, allocations: 15.98 kB / 292.5 MB, free: 1.52 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.301e-05/0.01213, allocations: 15.84 kB / 292.5 MB, free: 1.504 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-06/0.01213, allocations: 0 / 292.5 MB, free: 1.504 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.01215, allocations: 4 kB / 292.5 MB, free: 1.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.01215, allocations: 0 / 292.5 MB, free: 1.5 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.01215, allocations: 4 kB / 292.5 MB, free: 1.496 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001867/0.01234, allocations: 211 kB / 292.7 MB, free: 1.27 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.951e-05/0.01237, allocations: 3.984 kB / 292.7 MB, free: 1.266 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.891e-05/0.01245, allocations: 8 kB / 292.7 MB, free: 1.258 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.803e-05/0.01249, allocations: 12.02 kB / 292.7 MB, free: 1.246 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.0125, allocations: 0 / 292.7 MB, free: 1.246 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.512e-05/0.01256, allocations: 35.66 kB / 292.8 MB, free: 1.207 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01256, allocations: 0 / 292.8 MB, free: 1.207 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000289/0.01285, allocations: 35.92 kB / 292.8 MB, free: 1.172 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.002329/0.01518, allocations: 0.7014 MB / 293.5 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001387/0.01531, allocations: 40.84 kB / 293.5 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.159e-05/0.01533, allocations: 8.078 kB / 293.5 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.3e-05/0.01537, allocations: 24.8 kB / 293.6 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.01562, allocations: 189.6 kB / 293.8 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005137/0.01613, allocations: 203 kB / 294 MB, free: 304 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.125e-05/0.01622, allocations: 63.34 kB / 294 MB, free: 220 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.922e-05/0.01627, allocations: 13.05 kB / 294 MB, free: 208 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.908e-05/0.01635, allocations: 87.33 kB / 294.1 MB, free: 120 kB / 282.7 MB Notification: Performance of SimCode: time 1.172e-06/0.01635, allocations: 0 / 294.1 MB, free: 120 kB / 282.7 MB Notification: Performance of Templates: time 0.00431/0.02066, allocations: 2.319 MB / 296.4 MB, free: 13.83 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.806305686943233]