Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.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.0009765/0.0009765, allocations: 81.95 kB / 21.44 MB, free: 3.051 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.001332/0.001332, allocations: 165.6 kB / 24.84 MB, free: 9.254 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9978/0.9978, allocations: 158.6 MB / 186.7 MB, free: 2.785 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1434/0.1434, allocations: 32.37 MB / 271.5 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 349 MB, free: 9.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.19e-05/2.341e-05, allocations: 4.281 kB / 349 MB, free: 9.094 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003057/0.00308, allocations: 1.722 MB / 350.7 MB, free: 7.359 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001135/0.004215, allocations: 0.7842 MB / 351.5 MB, free: 6.566 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.548e-05/0.004311, allocations: 0 / 351.5 MB, free: 6.566 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003322/0.004643, allocations: 43.77 kB / 351.5 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002584/0.004901, allocations: 47.7 kB / 351.6 MB, free: 6.477 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002961/0.005197, allocations: 99.62 kB / 351.7 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001758/0.005373, allocations: 91.7 kB / 351.8 MB, free: 6.289 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.92e-05/0.005463, allocations: 12.2 kB / 351.8 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.549e-05/0.005558, allocations: 51.84 kB / 351.8 MB, free: 6.227 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.155e-05/0.00564, allocations: 19.92 kB / 351.9 MB, free: 6.207 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.005658, allocations: 4 kB / 351.9 MB, free: 6.203 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.005771, allocations: 43.91 kB / 351.9 MB, free: 6.16 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.233e-05/0.005834, allocations: 31.86 kB / 351.9 MB, free: 6.129 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.54e-05/0.005869, allocations: 19.92 kB / 352 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.00601, allocations: 91.66 kB / 352 MB, free: 6.02 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.006013, allocations: 4 kB / 352.1 MB, free: 6.016 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.006014, allocations: 0 / 352.1 MB, free: 6.016 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.006017, allocations: 0 / 352.1 MB, free: 6.016 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.0002963/0.006314, allocations: 439.9 kB / 352.5 MB, free: 5.551 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.858e-05/0.006342, allocations: 8.031 kB / 352.5 MB, free: 5.543 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.126e-05/0.006374, allocations: 16.84 kB / 352.5 MB, free: 5.527 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.006476, allocations: 144.3 kB / 352.6 MB, free: 5.359 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.006488, allocations: 4.375 kB / 352.6 MB, free: 5.355 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.006502, allocations: 8.359 kB / 352.7 MB, free: 5.348 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.313e-05/0.006585, allocations: 58.94 kB / 352.7 MB, free: 5.281 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.006592, allocations: 11.94 kB / 352.7 MB, free: 5.27 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.0066, allocations: 3.984 kB / 352.7 MB, free: 5.266 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/0.006604, allocations: 3.938 kB / 352.7 MB, free: 5.262 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.194e-05/0.006626, allocations: 11.94 kB / 352.7 MB, free: 5.25 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001904/0.006816, allocations: 252.5 kB / 353 MB, free: 4.977 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.896e-05/0.006895, allocations: 55.14 kB / 353 MB, free: 4.91 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.923e-05/0.006914, allocations: 15.67 kB / 353.1 MB, free: 4.891 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.008e-05/0.006924, allocations: 4 kB / 353.1 MB, free: 4.887 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.843e-05/0.006993, allocations: 72.92 kB / 353.1 MB, free: 4.801 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 8.91e-07/0.006994, allocations: 0 / 353.1 MB, free: 4.801 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002621/0.007256, allocations: 129.5 kB / 353.3 MB, free: 4.668 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.887e-05/0.007275, allocations: 59.39 kB / 353.3 MB, free: 4.598 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.934e-05/0.007344, allocations: 214.9 kB / 353.5 MB, free: 4.371 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.175e-06/0.007352, allocations: 25.7 kB / 353.6 MB, free: 4.34 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.36e-05/0.007386, allocations: 150.8 kB / 353.7 MB, free: 4.188 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.007408, allocations: 27.77 kB / 353.7 MB, free: 4.16 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.798e-05/0.007436, allocations: 27.38 kB / 353.8 MB, free: 4.125 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.861e-05/0.007485, allocations: 0.5001 MB / 354.3 MB, free: 3.613 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.568e-05/0.0075, allocations: 15.98 kB / 354.3 MB, free: 3.598 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.192e-05/0.007522, allocations: 27.36 kB / 354.3 MB, free: 3.562 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.83e-05/0.007561, allocations: 47.3 kB / 354.3 MB, free: 3.508 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.007562, allocations: 0 / 354.3 MB, free: 3.508 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.211e-05/0.007644, allocations: 89.58 kB / 354.4 MB, free: 3.414 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.538e-06/0.007653, allocations: 4 kB / 354.4 MB, free: 3.41 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.007657, allocations: 4 kB / 354.4 MB, free: 3.406 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.073e-06/0.007664, allocations: 3.984 kB / 354.4 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.079e-05/0.007725, allocations: 12 kB / 354.5 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-06/0.007728, allocations: 4.031 kB / 354.5 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.745e-05/0.007755, allocations: 4 kB / 354.5 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.00776, allocations: 0 / 354.5 MB, free: 3.383 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 5.198e-05/0.007812, allocations: 164.6 kB / 354.6 MB, free: 3.211 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.489e-05/0.007827, allocations: 19.84 kB / 354.6 MB, free: 3.191 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001202/0.007947, allocations: 94.39 kB / 354.7 MB, free: 3.094 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.007951, allocations: 3.984 kB / 354.7 MB, free: 3.09 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.007953, allocations: 0 / 354.7 MB, free: 3.09 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.007957, allocations: 0 / 354.7 MB, free: 3.09 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002376/0.008194, allocations: 365.6 kB / 355.1 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.008198, allocations: 384 / 355.1 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.423e-05/0.008232, allocations: 15.88 kB / 355.1 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.008236, allocations: 0 / 355.1 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.938e-06/0.008246, allocations: 15.98 kB / 355.1 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.008248, allocations: 0 / 355.1 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.00825, allocations: 0 / 355.1 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001173/0.008367, allocations: 251.4 kB / 355.4 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.108e-05/0.008378, allocations: 7.953 kB / 355.4 MB, free: 2.387 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.008395, allocations: 4 kB / 355.4 MB, free: 2.383 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.218e-05/0.008438, allocations: 4 kB / 355.4 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.525e-05/0.008463, allocations: 12.02 kB / 355.4 MB, free: 2.367 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.008476, allocations: 4 kB / 355.4 MB, free: 2.363 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.429e-05/0.00852, allocations: 155.1 kB / 355.6 MB, free: 2.211 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00852, allocations: 0 / 355.6 MB, free: 2.211 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001979/0.008718, allocations: 27.92 kB / 355.6 MB, free: 2.184 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.0008676/0.009586, allocations: 431.9 kB / 356 MB, free: 1.852 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.506e-05/0.009681, allocations: 59.52 kB / 356.1 MB, free: 1.789 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.009682, allocations: 0 / 356.1 MB, free: 1.789 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.742e-05/0.00971, allocations: 35.67 kB / 356.1 MB, free: 1.75 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.009923, allocations: 39.75 kB / 356.1 MB, free: 1.711 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002482/0.01017, allocations: 205.5 kB / 356.3 MB, free: 1.477 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.659e-05/0.0102, allocations: 67.34 kB / 356.4 MB, free: 1.391 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.198e-05/0.01023, allocations: 12.48 kB / 356.4 MB, free: 1.379 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.284e-05/0.01028, allocations: 90.19 kB / 356.5 MB, free: 1.289 MB / 282.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01028, allocations: 4.062 kB / 356.5 MB, free: 1.285 MB / 282.7 MB Notification: Performance of Templates: time 0.003402/0.01369, allocations: 2.025 MB / 358.5 MB, free: 15.28 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.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.230873559601605]