Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.0009652/0.0009652, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001102/0.002067, 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.0006851/0.0006851, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009291/0.001614, 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.107/1.107, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1188/1.226, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.3265/0.3265, allocations: 32.8 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03011/0.3566, allocations: 12.53 MB / 289.3 MB, free: 8.691 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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 290.7 MB, free: 7.594 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.926e-05/3.1e-05, allocations: 5.25 kB / 290.7 MB, free: 7.59 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.003033/0.003064, allocations: 1.804 MB / 292.5 MB, free: 6.125 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001633/0.004697, allocations: 1.019 MB / 293.5 MB, free: 5.359 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.00482, allocations: 0 / 293.5 MB, free: 5.359 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002858/0.005106, allocations: 48.8 kB / 293.6 MB, free: 5.324 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003189/0.005425, allocations: 88.41 kB / 293.7 MB, free: 5.258 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000252/0.005677, allocations: 87.59 kB / 293.7 MB, free: 5.172 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001905/0.005867, allocations: 103.7 kB / 293.8 MB, free: 5.07 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.005969, allocations: 12.73 kB / 293.9 MB, free: 5.059 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001406/0.006109, allocations: 83.75 kB / 293.9 MB, free: 4.977 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.242e-05/0.006202, allocations: 27.91 kB / 294 MB, free: 4.949 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.006218, allocations: 4 kB / 294 MB, free: 4.945 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.006321, allocations: 47.91 kB / 294 MB, free: 4.898 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.251e-05/0.006374, allocations: 15.94 kB / 294 MB, free: 4.883 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.018e-05/0.006414, allocations: 11.94 kB / 294 MB, free: 4.871 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.006586, allocations: 99.61 kB / 294.1 MB, free: 4.773 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.765e-05/0.006604, allocations: 3.938 kB / 294.1 MB, free: 4.77 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.006605, allocations: 0 / 294.1 MB, free: 4.77 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.689e-05/0.006622, allocations: 0 / 294.1 MB, free: 4.77 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.0004678/0.007089, allocations: 344.5 kB / 294.5 MB, free: 4.41 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.007133, allocations: 8.031 kB / 294.5 MB, free: 4.402 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.577e-05/0.007168, allocations: 12.92 kB / 294.5 MB, free: 4.391 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/0.007349, allocations: 150.1 kB / 294.6 MB, free: 4.219 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.007365, allocations: 4.375 kB / 294.7 MB, free: 4.215 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.007382, allocations: 384 / 294.7 MB, free: 4.215 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.007503, allocations: 69.75 kB / 294.7 MB, free: 4.137 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.007513, allocations: 3.938 kB / 294.7 MB, free: 4.133 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.724e-06/0.007521, allocations: 3.938 kB / 294.7 MB, free: 4.129 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.007526, allocations: 3.938 kB / 294.7 MB, free: 4.125 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.629e-05/0.007552, allocations: 12 kB / 294.7 MB, free: 4.113 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002253/0.007778, allocations: 169.8 kB / 294.9 MB, free: 3.93 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.884e-05/0.007876, allocations: 85.36 kB / 295 MB, free: 3.836 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.055e-05/0.007897, allocations: 12.86 kB / 295 MB, free: 3.82 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.00791, allocations: 0 / 295 MB, free: 3.82 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001176/0.008027, allocations: 78.06 kB / 295.1 MB, free: 3.73 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.008029, allocations: 0 / 295.1 MB, free: 3.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003291/0.008358, allocations: 105.8 kB / 295.2 MB, free: 3.621 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.008391, allocations: 59.39 kB / 295.2 MB, free: 3.551 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.008497, allocations: 180.8 kB / 295.4 MB, free: 3.359 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.008512, allocations: 29.7 kB / 295.4 MB, free: 3.324 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.308e-05/0.008545, allocations: 92.11 kB / 295.5 MB, free: 3.23 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.913e-05/0.008574, allocations: 31.73 kB / 295.6 MB, free: 3.199 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.598e-05/0.00861, allocations: 25.7 kB / 295.6 MB, free: 3.168 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.531e-05/0.008695, allocations: 326.8 kB / 295.9 MB, free: 2.84 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.721e-05/0.008712, allocations: 6.828 kB / 295.9 MB, free: 2.832 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.41e-05/0.008736, allocations: 25.7 kB / 295.9 MB, free: 2.801 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.132e-05/0.008778, allocations: 40.45 kB / 296 MB, free: 2.754 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.008779, allocations: 4 kB / 296 MB, free: 2.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.205e-05/0.008861, allocations: 76.38 kB / 296.1 MB, free: 2.668 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.008873, allocations: 8 kB / 296.1 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.008879, allocations: 0 / 296.1 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.406e-06/0.008887, allocations: 0 / 296.1 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.072e-05/0.008958, allocations: 19.98 kB / 296.1 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.327e-06/0.008961, allocations: 0 / 296.1 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.84e-05/0.008989, allocations: 4 kB / 296.1 MB, free: 2.637 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-06/0.008994, allocations: 0 / 296.1 MB, free: 2.637 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 7.554e-05/0.009069, allocations: 124.7 kB / 296.2 MB, free: 2.504 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.389e-05/0.009083, allocations: 11.94 kB / 296.2 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/0.009187, allocations: 79.06 kB / 296.3 MB, free: 2.41 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.009191, allocations: 3.984 kB / 296.3 MB, free: 2.406 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.009192, allocations: 0 / 296.3 MB, free: 2.406 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.009195, allocations: 0 / 296.3 MB, free: 2.406 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/0.009413, allocations: 295.6 kB / 296.6 MB, free: 2.09 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.009415, allocations: 0 / 296.6 MB, free: 2.09 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.2e-05/0.009447, allocations: 19.92 kB / 296.6 MB, free: 2.07 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.287e-05/0.00946, allocations: 15.91 kB / 296.6 MB, free: 2.055 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.009461, allocations: 4.031 kB / 296.6 MB, free: 2.051 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.009467, allocations: 0 / 296.6 MB, free: 2.051 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.009468, allocations: 7.938 kB / 296.6 MB, free: 2.043 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.009469, allocations: 0 / 296.6 MB, free: 2.043 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001015/0.009571, allocations: 219 kB / 296.9 MB, free: 1.809 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.009587, allocations: 8 kB / 296.9 MB, free: 1.801 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.734e-05/0.009624, allocations: 0 / 296.9 MB, free: 1.801 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.515e-05/0.009649, allocations: 11.92 kB / 296.9 MB, free: 1.789 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.009661, allocations: 4 kB / 296.9 MB, free: 1.785 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.389e-05/0.009705, allocations: 51.64 kB / 296.9 MB, free: 1.73 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009705, allocations: 4 kB / 296.9 MB, free: 1.727 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001447/0.00985, allocations: 23.94 kB / 297 MB, free: 1.703 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.001399/0.01125, allocations: 0.6362 MB / 297.6 MB, free: 1.422 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001001/0.01135, allocations: 48.7 kB / 297.6 MB, free: 1.371 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/0.01136, allocations: 4 kB / 297.6 MB, free: 1.367 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.855e-05/0.01139, allocations: 28.78 kB / 297.7 MB, free: 1.336 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001853/0.01157, allocations: 42.58 kB / 297.7 MB, free: 1.301 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004495/0.01202, allocations: 231.6 kB / 297.9 MB, free: 1.043 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.774e-05/0.01206, allocations: 71.34 kB / 298 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.883e-05/0.0121, allocations: 21.39 kB / 298 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.055e-05/0.01216, allocations: 67.36 kB / 298.1 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of SimCode: time 5e-07/0.01216, allocations: 0 / 298.1 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of Templates: time 0.003612/0.01577, allocations: 2.045 MB / 300.1 MB, free: 14.85 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.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.332861315459013]