Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.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.00147/0.00147, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.00185/0.00185, allocations: 172.8 kB / 24.91 MB, free: 9.148 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 1.037/1.037, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.2672/0.2672, allocations: 32.81 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.CombiTable1Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 323.3 MB, free: 9.656 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.922e-05/2.062e-05, allocations: 2.312 kB / 323.3 MB, free: 9.652 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.002376/0.002396, allocations: 1.681 MB / 325 MB, free: 7.961 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001331/0.003727, allocations: 1.282 MB / 326.3 MB, free: 6.672 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.11e-05/0.003778, allocations: 0 / 326.3 MB, free: 6.672 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002006/0.003979, allocations: 27.8 kB / 326.3 MB, free: 6.645 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002647/0.004244, allocations: 79.56 kB / 326.4 MB, free: 6.566 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003042/0.004548, allocations: 103.6 kB / 326.5 MB, free: 6.465 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001275/0.004675, allocations: 63.83 kB / 326.5 MB, free: 6.402 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.873e-05/0.004754, allocations: 11.98 kB / 326.5 MB, free: 6.391 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.426e-05/0.004818, allocations: 35.91 kB / 326.6 MB, free: 6.355 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.76e-05/0.004916, allocations: 23.91 kB / 326.6 MB, free: 6.332 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.004929, allocations: 4 kB / 326.6 MB, free: 6.328 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001718/0.005101, allocations: 91.83 kB / 326.7 MB, free: 6.238 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.487e-05/0.005146, allocations: 19.91 kB / 326.7 MB, free: 6.219 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.408e-05/0.00517, allocations: 11.94 kB / 326.7 MB, free: 6.207 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002054/0.005375, allocations: 143.5 kB / 326.9 MB, free: 6.066 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.005378, allocations: 4 kB / 326.9 MB, free: 6.062 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.005379, allocations: 0 / 326.9 MB, free: 6.062 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.005383, allocations: 0 / 326.9 MB, free: 6.062 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003049/0.005687, allocations: 297.5 kB / 327.2 MB, free: 5.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.867e-05/0.005716, allocations: 8.031 kB / 327.2 MB, free: 5.742 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.616e-05/0.005742, allocations: 4.938 kB / 327.2 MB, free: 5.738 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.005868, allocations: 129.7 kB / 327.3 MB, free: 5.586 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.433e-06/0.005874, allocations: 384 / 327.3 MB, free: 5.586 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.00589, allocations: 4.375 kB / 327.3 MB, free: 5.582 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.005991, allocations: 98.3 kB / 327.4 MB, free: 5.465 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.005998, allocations: 4.188 kB / 327.4 MB, free: 5.461 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.006006, allocations: 8.125 kB / 327.4 MB, free: 5.453 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.00601, allocations: 0 / 327.4 MB, free: 5.453 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.857e-05/0.006029, allocations: 4 kB / 327.4 MB, free: 5.449 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000216/0.006245, allocations: 163.8 kB / 327.6 MB, free: 5.273 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.006382, allocations: 42.48 kB / 327.6 MB, free: 5.223 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.469e-05/0.006397, allocations: 8.859 kB / 327.6 MB, free: 5.211 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.006412, allocations: 0 / 327.6 MB, free: 5.211 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.00643, allocations: 30.56 kB / 327.6 MB, free: 5.172 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.006431, allocations: 0 / 327.6 MB, free: 5.172 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002367/0.006668, allocations: 89.56 kB / 327.7 MB, free: 5.078 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.006699, allocations: 81.11 kB / 327.8 MB, free: 4.98 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.345e-05/0.006792, allocations: 142.8 kB / 328 MB, free: 4.828 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.377e-06/0.006802, allocations: 25.7 kB / 328 MB, free: 4.797 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.268e-05/0.006834, allocations: 96.06 kB / 328.1 MB, free: 4.699 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.73e-05/0.006852, allocations: 19.84 kB / 328.1 MB, free: 4.68 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000159/0.007011, allocations: 13.72 kB / 328.1 MB, free: 4.66 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.925e-05/0.00708, allocations: 322.8 kB / 328.4 MB, free: 4.336 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.538e-06/0.007089, allocations: 4 kB / 328.4 MB, free: 4.332 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.073e-05/0.00712, allocations: 51.39 kB / 328.5 MB, free: 4.27 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.801e-05/0.007148, allocations: 24.88 kB / 328.5 MB, free: 4.242 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.007149, allocations: 3.938 kB / 328.5 MB, free: 4.238 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.823e-05/0.007207, allocations: 53.81 kB / 328.6 MB, free: 4.18 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.007219, allocations: 4 kB / 328.6 MB, free: 4.176 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.007223, allocations: 3.984 kB / 328.6 MB, free: 4.172 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.255e-06/0.007232, allocations: 0 / 328.6 MB, free: 4.172 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.707e-05/0.007279, allocations: 12 kB / 328.6 MB, free: 4.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.007282, allocations: 3.984 kB / 328.6 MB, free: 4.156 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.819e-05/0.007301, allocations: 0 / 328.6 MB, free: 4.156 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.007307, allocations: 4 kB / 328.6 MB, free: 4.152 MB / 298.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.305e-05/0.00736, allocations: 116.7 kB / 328.7 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.937e-05/0.007379, allocations: 7.938 kB / 328.7 MB, free: 4.02 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.801e-05/0.007467, allocations: 58.08 kB / 328.8 MB, free: 3.957 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.00747, allocations: 4 kB / 328.8 MB, free: 3.953 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.007471, allocations: 0 / 328.8 MB, free: 3.953 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.007475, allocations: 0 / 328.8 MB, free: 3.953 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.007668, allocations: 206.8 kB / 329 MB, free: 3.727 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.00767, allocations: 7.875 kB / 329 MB, free: 3.719 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.276e-05/0.007702, allocations: 11.98 kB / 329 MB, free: 3.707 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.007705, allocations: 288 / 329 MB, free: 3.707 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.119e-06/0.00771, allocations: 8 kB / 329 MB, free: 3.699 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.007711, allocations: 0 / 329 MB, free: 3.699 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.007712, allocations: 0 / 329 MB, free: 3.699 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.185e-05/0.007794, allocations: 147.5 kB / 329.1 MB, free: 3.539 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.101e-05/0.007805, allocations: 19.88 kB / 329.2 MB, free: 3.52 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.022e-05/0.007815, allocations: 256 / 329.2 MB, free: 3.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.217e-05/0.007847, allocations: 0 / 329.2 MB, free: 3.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.137e-05/0.007869, allocations: 11.98 kB / 329.2 MB, free: 3.508 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.007872, allocations: 0 / 329.2 MB, free: 3.508 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.452e-05/0.007906, allocations: 31.67 kB / 329.2 MB, free: 3.473 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007906, allocations: 3.938 kB / 329.2 MB, free: 3.469 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001718/0.008078, allocations: 47.8 kB / 329.3 MB, free: 3.422 MB / 298.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.001359/0.009437, allocations: 0.6197 MB / 329.9 MB, free: 3.121 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.647e-05/0.009513, allocations: 24.84 kB / 329.9 MB, free: 3.094 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.009517, allocations: 0 / 329.9 MB, free: 3.094 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.746e-05/0.009535, allocations: 20.78 kB / 329.9 MB, free: 3.07 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001531/0.009688, allocations: 19.92 kB / 329.9 MB, free: 3.051 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002602/0.009948, allocations: 162.5 kB / 330.1 MB, free: 2.863 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.238e-05/0.00998, allocations: 63.34 kB / 330.2 MB, free: 2.781 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.927e-05/0.01002, allocations: 12.25 kB / 330.2 MB, free: 2.77 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.262e-05/0.01008, allocations: 67.36 kB / 330.2 MB, free: 2.703 MB / 298.7 MB Notification: Performance of SimCode: time 9.61e-07/0.01008, allocations: 0 / 330.2 MB, free: 2.703 MB / 298.7 MB Notification: Performance of Templates: time 0.003382/0.01346, allocations: 1.988 MB / 332.2 MB, free: 0.7266 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.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.93616577796638]