Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.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.001036/0.001036, allocations: 81.08 kB / 20.65 MB, free: 3.84 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.001654/0.001654, allocations: 173.4 kB / 24.05 MB, free: 456 kB / 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.9641/0.9641, allocations: 158.6 MB / 186 MB, free: 2.805 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.1365/0.1365, allocations: 32.37 MB / 270.7 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.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 348.1 MB, free: 9.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.531e-05, allocations: 6.25 kB / 348.1 MB, free: 9.172 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.002246/0.002271, allocations: 1.592 MB / 349.7 MB, free: 7.574 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005564/0.002827, allocations: 315.4 kB / 350 MB, free: 7.262 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.553e-05/0.002903, allocations: 0 / 350 MB, free: 7.262 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00034/0.003243, allocations: 123.6 kB / 350.2 MB, free: 7.141 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002001/0.003443, allocations: 87.64 kB / 350.2 MB, free: 7.055 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002124/0.003656, allocations: 75.78 kB / 350.3 MB, free: 6.98 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.003788, allocations: 83.8 kB / 350.4 MB, free: 6.898 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.867e-05/0.003876, allocations: 4 kB / 350.4 MB, free: 6.895 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.682e-05/0.003943, allocations: 55.8 kB / 350.5 MB, free: 6.84 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.582e-05/0.004039, allocations: 83.84 kB / 350.5 MB, free: 6.758 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.004054, allocations: 0 / 350.5 MB, free: 6.758 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.392e-05/0.004118, allocations: 31.92 kB / 350.6 MB, free: 6.727 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.292e-05/0.004161, allocations: 31.91 kB / 350.6 MB, free: 6.695 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.543e-05/0.004187, allocations: 15.88 kB / 350.6 MB, free: 6.68 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.004317, allocations: 79.73 kB / 350.7 MB, free: 6.602 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.004319, allocations: 0 / 350.7 MB, free: 6.602 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.004321, allocations: 0 / 350.7 MB, free: 6.602 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.004325, allocations: 4 kB / 350.7 MB, free: 6.598 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003129/0.004638, allocations: 447.8 kB / 351.1 MB, free: 6.125 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.004678, allocations: 19.91 kB / 351.2 MB, free: 6.105 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.531e-05/0.004713, allocations: 12.84 kB / 351.2 MB, free: 6.094 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.00482, allocations: 152.2 kB / 351.3 MB, free: 5.918 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.00483, allocations: 384 / 351.3 MB, free: 5.918 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.004848, allocations: 8.375 kB / 351.3 MB, free: 5.91 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.644e-05/0.004945, allocations: 54.94 kB / 351.4 MB, free: 5.848 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.004956, allocations: 4.188 kB / 351.4 MB, free: 5.844 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.004965, allocations: 4.125 kB / 351.4 MB, free: 5.84 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.004971, allocations: 0 / 351.4 MB, free: 5.84 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.057e-05/0.004992, allocations: 4 kB / 351.4 MB, free: 5.836 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000205/0.005197, allocations: 272.3 kB / 351.7 MB, free: 5.543 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.005322, allocations: 39.05 kB / 351.7 MB, free: 5.492 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.355e-05/0.005336, allocations: 11.77 kB / 351.7 MB, free: 5.477 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.759e-05/0.005363, allocations: 4 kB / 351.7 MB, free: 5.473 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.005381, allocations: 45.33 kB / 351.8 MB, free: 5.418 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.463e-06/0.005383, allocations: 3.984 kB / 351.8 MB, free: 5.414 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003026/0.005685, allocations: 89.52 kB / 351.8 MB, free: 5.32 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.392e-05/0.005709, allocations: 51.41 kB / 351.9 MB, free: 5.258 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.005822, allocations: 257.6 kB / 352.1 MB, free: 4.988 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.372e-06/0.005828, allocations: 25.7 kB / 352.2 MB, free: 4.957 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.108e-05/0.00588, allocations: 170.8 kB / 352.3 MB, free: 4.785 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.005905, allocations: 23.84 kB / 352.4 MB, free: 4.762 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-05/0.005939, allocations: 19.38 kB / 352.4 MB, free: 4.734 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.127e-05/0.00602, allocations: 0.5001 MB / 352.9 MB, free: 4.223 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.475e-05/0.006035, allocations: 8 kB / 352.9 MB, free: 4.215 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.428e-05/0.006049, allocations: 7.984 kB / 352.9 MB, free: 4.207 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.815e-05/0.006087, allocations: 19.69 kB / 352.9 MB, free: 4.184 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.006089, allocations: 0 / 352.9 MB, free: 4.184 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.377e-05/0.006172, allocations: 61.58 kB / 353 MB, free: 4.117 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.006189, allocations: 4 kB / 353 MB, free: 4.113 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.006194, allocations: 7.938 kB / 353 MB, free: 4.105 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.006208, allocations: 0 / 353 MB, free: 4.105 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.257e-05/0.006261, allocations: 8 kB / 353 MB, free: 4.098 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.006264, allocations: 0 / 353 MB, free: 4.098 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.526e-05/0.006289, allocations: 15.89 kB / 353 MB, free: 4.082 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.006294, allocations: 3.984 kB / 353 MB, free: 4.078 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 (5): * Single equations (assignments): 5 * 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.536e-05/0.006349, allocations: 156.6 kB / 353.2 MB, free: 3.914 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.211e-05/0.006372, allocations: 15.89 kB / 353.2 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001288/0.0065, allocations: 67.14 kB / 353.2 MB, free: 3.824 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.006503, allocations: 4 kB / 353.3 MB, free: 3.82 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.006506, allocations: 0 / 353.3 MB, free: 3.82 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.006511, allocations: 0 / 353.3 MB, free: 3.82 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002165/0.006727, allocations: 317.9 kB / 353.6 MB, free: 3.477 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.00673, allocations: 0 / 353.6 MB, free: 3.477 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.983e-05/0.00677, allocations: 16 kB / 353.6 MB, free: 3.461 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.006773, allocations: 0 / 353.6 MB, free: 3.461 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-06/0.006779, allocations: 3.984 kB / 353.6 MB, free: 3.457 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.006781, allocations: 0 / 353.6 MB, free: 3.457 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.11e-07/0.006781, allocations: 0 / 353.6 MB, free: 3.457 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.438e-05/0.006876, allocations: 211.8 kB / 353.8 MB, free: 3.23 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.109e-05/0.006887, allocations: 15.91 kB / 353.8 MB, free: 3.215 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.108e-05/0.006898, allocations: 4 kB / 353.8 MB, free: 3.211 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.845e-05/0.006926, allocations: 0 / 353.8 MB, free: 3.211 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.51e-05/0.006961, allocations: 7.984 kB / 353.8 MB, free: 3.203 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.006966, allocations: 0 / 353.8 MB, free: 3.203 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.234e-05/0.007028, allocations: 180.2 kB / 354 MB, free: 3.027 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007028, allocations: 4 kB / 354 MB, free: 3.023 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001589/0.007187, allocations: 19.92 kB / 354 MB, free: 3.004 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 (5): * Single equations (assignments): 5 * 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.0008413/0.008029, allocations: 382.5 kB / 354.4 MB, free: 2.719 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.607e-05/0.008125, allocations: 31.61 kB / 354.4 MB, free: 2.684 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.008127, allocations: 0 / 354.4 MB, free: 2.684 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.802e-05/0.008145, allocations: 19.8 kB / 354.4 MB, free: 2.66 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002366/0.008382, allocations: 21.3 kB / 354.5 MB, free: 2.641 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003036/0.008686, allocations: 218.8 kB / 354.7 MB, free: 2.398 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.21e-05/0.008718, allocations: 83.27 kB / 354.8 MB, free: 2.297 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.566e-05/0.008743, allocations: 4 kB / 354.8 MB, free: 2.293 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.241e-05/0.008786, allocations: 78.19 kB / 354.8 MB, free: 2.215 MB / 282.7 MB Notification: Performance of SimCode: time 7.42e-07/0.008786, allocations: 0 / 354.8 MB, free: 2.215 MB / 282.7 MB Notification: Performance of Templates: time 0.003044/0.01183, allocations: 1.28 MB / 356.1 MB, free: 0.9453 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.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.1716206930577755]