Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.001317/0.001317, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 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.001633/0.001633, allocations: 169.9 kB / 24.91 MB, free: 9.199 MB / 18.57 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 0.9822/0.9822, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.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.2348/0.2348, allocations: 32.8 MB / 294.6 MB, free: 1.25 MB / 266.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.Test56,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.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,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.Test56") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 323.3 MB, free: 9.629 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.174e-05/2.304e-05, allocations: 5.359 kB / 323.3 MB, free: 9.625 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003404/0.003427, allocations: 1.764 MB / 325.1 MB, free: 7.848 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0025/0.005927, allocations: 1.734 MB / 326.8 MB, free: 6.105 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.475e-05/0.006011, allocations: 0 / 326.8 MB, free: 6.105 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002975/0.006309, allocations: 35.77 kB / 326.8 MB, free: 6.07 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004227/0.006732, allocations: 107.4 kB / 326.9 MB, free: 5.965 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002454/0.006977, allocations: 79.59 kB / 327 MB, free: 5.887 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001884/0.007165, allocations: 112.2 kB / 327.1 MB, free: 5.777 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.102e-05/0.007246, allocations: 4.75 kB / 327.1 MB, free: 5.773 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.007368, allocations: 63.81 kB / 327.2 MB, free: 5.711 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.007494, allocations: 35.89 kB / 327.2 MB, free: 5.676 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.007513, allocations: 7.938 kB / 327.2 MB, free: 5.668 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001918/0.007705, allocations: 111.8 kB / 327.3 MB, free: 5.559 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.066e-05/0.007756, allocations: 19.92 kB / 327.4 MB, free: 5.539 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.916e-05/0.007795, allocations: 15.94 kB / 327.4 MB, free: 5.523 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002624/0.008057, allocations: 155.5 kB / 327.5 MB, free: 5.371 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.008061, allocations: 0 / 327.5 MB, free: 5.371 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.008062, allocations: 0 / 327.5 MB, free: 5.371 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.008066, allocations: 3.938 kB / 327.5 MB, free: 5.367 MB / 298.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.0004515/0.008517, allocations: 333.3 kB / 327.9 MB, free: 5.02 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.00855, allocations: 8.031 kB / 327.9 MB, free: 5.012 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.844e-05/0.008588, allocations: 12.92 kB / 327.9 MB, free: 5 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.008778, allocations: 150.2 kB / 328 MB, free: 4.828 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.008793, allocations: 384 / 328 MB, free: 4.828 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.008814, allocations: 4.375 kB / 328 MB, free: 4.824 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.008967, allocations: 104.6 kB / 328.1 MB, free: 4.699 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.00898, allocations: 3.984 kB / 328.1 MB, free: 4.695 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.595e-06/0.008987, allocations: 0 / 328.1 MB, free: 4.695 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.008992, allocations: 0 / 328.1 MB, free: 4.695 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.519e-05/0.009028, allocations: 14.77 kB / 328.2 MB, free: 4.68 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002484/0.009276, allocations: 170 kB / 328.3 MB, free: 4.496 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.009391, allocations: 85.3 kB / 328.4 MB, free: 4.402 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.86e-05/0.009419, allocations: 20.78 kB / 328.4 MB, free: 4.379 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.00943, allocations: 3.938 kB / 328.4 MB, free: 4.375 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001121/0.009542, allocations: 70.14 kB / 328.5 MB, free: 4.293 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.009543, allocations: 0 / 328.5 MB, free: 4.293 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003636/0.009907, allocations: 113.5 kB / 328.6 MB, free: 4.176 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.009949, allocations: 77.11 kB / 328.7 MB, free: 4.082 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.01008, allocations: 158.7 kB / 328.8 MB, free: 3.914 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.0101, allocations: 29.7 kB / 328.9 MB, free: 3.879 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.155e-05/0.01014, allocations: 96.11 kB / 329 MB, free: 3.781 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.269e-05/0.01018, allocations: 31.73 kB / 329 MB, free: 3.75 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.022e-05/0.01022, allocations: 25.7 kB / 329 MB, free: 3.719 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.905e-05/0.0103, allocations: 318.8 kB / 329.3 MB, free: 3.398 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.541e-05/0.01033, allocations: 10.83 kB / 329.3 MB, free: 3.387 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.016e-05/0.01038, allocations: 60.25 kB / 329.4 MB, free: 3.312 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.037e-05/0.01044, allocations: 44.47 kB / 329.4 MB, free: 3.262 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.01044, allocations: 0 / 329.4 MB, free: 3.262 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000107/0.01055, allocations: 72.42 kB / 329.5 MB, free: 3.184 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.01056, allocations: 12.06 kB / 329.5 MB, free: 3.172 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.01057, allocations: 0 / 329.5 MB, free: 3.172 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.01058, allocations: 0 / 329.5 MB, free: 3.172 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.039e-05/0.01066, allocations: 20.36 kB / 329.5 MB, free: 3.152 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.317e-06/0.01067, allocations: 0 / 329.5 MB, free: 3.152 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.104e-05/0.01072, allocations: 4 kB / 329.6 MB, free: 3.148 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.779e-06/0.01073, allocations: 4 kB / 329.6 MB, free: 3.145 MB / 298.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 8.164e-05/0.01081, allocations: 131.2 kB / 329.7 MB, free: 3.008 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.186e-05/0.01083, allocations: 8 kB / 329.7 MB, free: 3 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001345/0.01096, allocations: 78.38 kB / 329.8 MB, free: 2.918 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.01097, allocations: 4 kB / 329.8 MB, free: 2.914 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-06/0.01097, allocations: 0 / 329.8 MB, free: 2.914 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.01097, allocations: 0 / 329.8 MB, free: 2.914 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003082/0.01128, allocations: 287.4 kB / 330.1 MB, free: 2.605 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.01128, allocations: 0 / 330.1 MB, free: 2.605 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.472e-05/0.01133, allocations: 15.98 kB / 330.1 MB, free: 2.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.01133, allocations: 0 / 330.1 MB, free: 2.59 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.01134, allocations: 4 kB / 330.1 MB, free: 2.586 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.01134, allocations: 3.938 kB / 330.1 MB, free: 2.582 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01134, allocations: 0 / 330.1 MB, free: 2.582 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001518/0.0115, allocations: 219 kB / 330.3 MB, free: 2.348 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.923e-05/0.01151, allocations: 11.94 kB / 330.3 MB, free: 2.336 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.754e-05/0.01154, allocations: 8 kB / 330.3 MB, free: 2.328 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.47e-05/0.01162, allocations: 0 / 330.3 MB, free: 2.328 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.217e-05/0.01165, allocations: 11.92 kB / 330.3 MB, free: 2.316 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.01167, allocations: 8 kB / 330.3 MB, free: 2.309 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.044e-05/0.01173, allocations: 42.69 kB / 330.4 MB, free: 2.266 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01173, allocations: 0 / 330.4 MB, free: 2.266 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002882/0.01202, allocations: 47.86 kB / 330.4 MB, free: 2.219 MB / 298.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.002259/0.01427, allocations: 0.7079 MB / 331.1 MB, free: 1.867 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000119/0.01439, allocations: 44.77 kB / 331.2 MB, free: 1.82 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.0144, allocations: 4 kB / 331.2 MB, free: 1.816 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.371e-05/0.01444, allocations: 24.78 kB / 331.2 MB, free: 1.789 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.0147, allocations: 43.36 kB / 331.2 MB, free: 1.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004089/0.01511, allocations: 199.7 kB / 331.4 MB, free: 1.523 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.829e-05/0.01516, allocations: 63.34 kB / 331.5 MB, free: 1.441 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.855e-05/0.01522, allocations: 16.91 kB / 331.5 MB, free: 1.422 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.01533, allocations: 87.33 kB / 331.6 MB, free: 1.336 MB / 298.7 MB Notification: Performance of SimCode: time 7.82e-07/0.01533, allocations: 0 / 331.6 MB, free: 1.336 MB / 298.7 MB Notification: Performance of Templates: time 0.004594/0.01993, allocations: 2.764 MB / 334.4 MB, free: 14.61 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.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: 2.96131586516276]