Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.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.00206/0.00206, allocations: 92.97 kB / 20.21 MB, free: 4.215 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.002256/0.002256, allocations: 165.2 kB / 23.52 MB, free: 0.9062 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 1.734/1.734, allocations: 158.6 MB / 185.3 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] 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.2461/0.2461, allocations: 32.37 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 346.9 MB, free: 9.801 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.7e-05/3.926e-05, allocations: 2.312 kB / 346.9 MB, free: 9.797 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.002899/0.002938, allocations: 1.588 MB / 348.5 MB, free: 8.203 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006738/0.003612, allocations: 323.4 kB / 348.8 MB, free: 7.883 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.159e-05/0.003673, allocations: 3.938 kB / 348.9 MB, free: 7.879 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003441/0.004017, allocations: 95.69 kB / 348.9 MB, free: 7.785 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002177/0.004235, allocations: 75.72 kB / 349 MB, free: 7.711 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002391/0.004474, allocations: 63.78 kB / 349.1 MB, free: 7.648 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001766/0.004651, allocations: 83.8 kB / 349.2 MB, free: 7.566 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.004777, allocations: 8.188 kB / 349.2 MB, free: 7.559 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.536e-05/0.004872, allocations: 55.81 kB / 349.2 MB, free: 7.504 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.004986, allocations: 59.86 kB / 349.3 MB, free: 7.445 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.827e-05/0.005014, allocations: 4 kB / 349.3 MB, free: 7.441 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.646e-05/0.005111, allocations: 27.94 kB / 349.3 MB, free: 7.414 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.198e-05/0.005173, allocations: 23.92 kB / 349.3 MB, free: 7.391 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.615e-05/0.005209, allocations: 19.92 kB / 349.4 MB, free: 7.371 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.005399, allocations: 95.64 kB / 349.5 MB, free: 7.277 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.005402, allocations: 0 / 349.5 MB, free: 7.277 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.005403, allocations: 0 / 349.5 MB, free: 7.277 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.005409, allocations: 0 / 349.5 MB, free: 7.277 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005393/0.005948, allocations: 455.5 kB / 349.9 MB, free: 6.797 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.005994, allocations: 16.03 kB / 349.9 MB, free: 6.781 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.507e-05/0.006069, allocations: 12.84 kB / 349.9 MB, free: 6.77 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.006242, allocations: 144.4 kB / 350.1 MB, free: 6.602 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.006257, allocations: 4.375 kB / 350.1 MB, free: 6.598 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/0.006281, allocations: 4.375 kB / 350.1 MB, free: 6.594 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.006418, allocations: 50.23 kB / 350.1 MB, free: 6.539 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.006434, allocations: 192 / 350.1 MB, free: 6.539 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.006447, allocations: 7.938 kB / 350.1 MB, free: 6.531 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.006454, allocations: 4 kB / 350.1 MB, free: 6.527 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.215e-05/0.006546, allocations: 23.92 kB / 350.2 MB, free: 6.504 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003487/0.006894, allocations: 315.8 kB / 350.5 MB, free: 6.16 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.007021, allocations: 58.98 kB / 350.5 MB, free: 6.09 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.366e-05/0.007065, allocations: 23.61 kB / 350.5 MB, free: 6.062 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.965e-05/0.007095, allocations: 0 / 350.5 MB, free: 6.062 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.007119, allocations: 41.52 kB / 350.6 MB, free: 6.012 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 7.72e-07/0.007119, allocations: 0 / 350.6 MB, free: 6.012 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005644/0.007684, allocations: 169.3 kB / 350.8 MB, free: 5.84 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/0.007712, allocations: 51.41 kB / 350.8 MB, free: 5.777 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.007877, allocations: 266.6 kB / 351.1 MB, free: 5.5 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.007889, allocations: 29.7 kB / 351.1 MB, free: 5.465 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.083e-05/0.00797, allocations: 162.8 kB / 351.3 MB, free: 5.301 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.842e-05/0.007998, allocations: 27.75 kB / 351.3 MB, free: 5.273 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.906e-05/0.008037, allocations: 27.38 kB / 351.3 MB, free: 5.238 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.994e-05/0.008137, allocations: 0.5117 MB / 351.8 MB, free: 4.715 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.94e-05/0.008197, allocations: 16 kB / 351.8 MB, free: 4.699 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.829e-05/0.008245, allocations: 24.05 kB / 351.9 MB, free: 4.676 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.008348, allocations: 55.67 kB / 351.9 MB, free: 4.617 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.008348, allocations: 7.938 kB / 351.9 MB, free: 4.609 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001525/0.008501, allocations: 97.84 kB / 352 MB, free: 4.508 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.008514, allocations: 4 kB / 352 MB, free: 4.504 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.008519, allocations: 0 / 352 MB, free: 4.504 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.008538, allocations: 0 / 352 MB, free: 4.504 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.00864, allocations: 15.98 kB / 352 MB, free: 4.488 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.008646, allocations: 0 / 352 MB, free: 4.488 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.183e-05/0.008678, allocations: 4 kB / 352 MB, free: 4.484 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.008687, allocations: 8 kB / 352 MB, free: 4.477 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.551e-05/0.008763, allocations: 168.5 kB / 352.2 MB, free: 4.301 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.561e-05/0.008798, allocations: 19.89 kB / 352.2 MB, free: 4.281 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002375/0.009036, allocations: 111.5 kB / 352.3 MB, free: 4.168 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.009038, allocations: 3.984 kB / 352.3 MB, free: 4.164 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.009042, allocations: 0 / 352.3 MB, free: 4.164 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.009046, allocations: 0 / 352.3 MB, free: 4.164 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003635/0.009409, allocations: 405.2 kB / 352.7 MB, free: 3.727 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.00941, allocations: 0 / 352.7 MB, free: 3.727 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.442e-05/0.009465, allocations: 16 kB / 352.8 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.009468, allocations: 7.984 kB / 352.8 MB, free: 3.703 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.009477, allocations: 0 / 352.8 MB, free: 3.703 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.009478, allocations: 0 / 352.8 MB, free: 3.703 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.00948, allocations: 4 kB / 352.8 MB, free: 3.699 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001858/0.009666, allocations: 251.7 kB / 353 MB, free: 3.434 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.684e-05/0.009682, allocations: 15.84 kB / 353 MB, free: 3.418 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.0097, allocations: 0 / 353 MB, free: 3.418 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.908e-05/0.009769, allocations: 0 / 353 MB, free: 3.418 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.037e-05/0.009819, allocations: 11.98 kB / 353 MB, free: 3.406 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.009825, allocations: 4 kB / 353 MB, free: 3.402 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.42e-05/0.009919, allocations: 183.1 kB / 353.2 MB, free: 3.223 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00992, allocations: 4 kB / 353.2 MB, free: 3.219 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002368/0.01016, allocations: 23.92 kB / 353.2 MB, free: 3.195 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.002825/0.01298, allocations: 426.8 kB / 353.7 MB, free: 2.879 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002055/0.01319, allocations: 67.59 kB / 353.7 MB, free: 2.809 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.01319, allocations: 0 / 353.7 MB, free: 2.809 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.303e-05/0.01326, allocations: 39.67 kB / 353.8 MB, free: 2.766 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.0136, allocations: 25.05 kB / 353.8 MB, free: 2.746 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000459/0.01406, allocations: 234.2 kB / 354 MB, free: 2.488 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.737e-05/0.01413, allocations: 92.81 kB / 354.1 MB, free: 2.375 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.44e-05/0.01419, allocations: 12.72 kB / 354.1 MB, free: 2.363 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.073e-05/0.01423, allocations: 12.5 kB / 354.1 MB, free: 2.352 MB / 282.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01423, allocations: 3.938 kB / 354.1 MB, free: 2.348 MB / 282.7 MB Notification: Performance of Templates: time 0.004988/0.01922, allocations: 1.245 MB / 355.4 MB, free: 1.105 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.637583374045789]