Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.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.001001/0.001001, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.0016/0.0016, allocations: 174.2 kB / 24.91 MB, free: 9.195 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.028/1.028, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2527/0.2527, allocations: 34.26 MB / 296.1 MB, free: 0.7148 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.624e-06/1.624e-06, allocations: 0 / 325.3 MB, free: 7.625 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.449e-05/2.611e-05, allocations: 3.891 kB / 325.3 MB, free: 7.621 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.002735/0.002761, allocations: 1.702 MB / 327 MB, free: 5.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007788/0.00354, allocations: 0.5491 MB / 327.6 MB, free: 5.355 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.113e-05/0.003601, allocations: 4 kB / 327.6 MB, free: 5.352 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000251/0.003852, allocations: 83.64 kB / 327.6 MB, free: 5.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002585/0.00411, allocations: 95.58 kB / 327.7 MB, free: 5.176 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002736/0.004384, allocations: 115.6 kB / 327.9 MB, free: 5.062 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.004532, allocations: 84.38 kB / 327.9 MB, free: 4.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.259e-05/0.004614, allocations: 15.98 kB / 328 MB, free: 4.965 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.83e-05/0.004692, allocations: 43.89 kB / 328 MB, free: 4.922 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.827e-05/0.004791, allocations: 51.88 kB / 328 MB, free: 4.871 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.004803, allocations: 4 kB / 328 MB, free: 4.867 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.954e-05/0.004882, allocations: 51.91 kB / 328.1 MB, free: 4.816 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.001e-05/0.004922, allocations: 19.92 kB / 328.1 MB, free: 4.797 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.299e-05/0.004945, allocations: 11.94 kB / 328.1 MB, free: 4.785 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.00509, allocations: 99.53 kB / 328.2 MB, free: 4.688 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.005093, allocations: 0 / 328.2 MB, free: 4.688 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.005094, allocations: 0 / 328.2 MB, free: 4.688 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.409e-06/0.005099, allocations: 0 / 328.2 MB, free: 4.688 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003149/0.005414, allocations: 313.6 kB / 328.5 MB, free: 4.359 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.005444, allocations: 8.031 kB / 328.5 MB, free: 4.352 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.986e-05/0.005474, allocations: 16.92 kB / 328.6 MB, free: 4.336 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.005605, allocations: 139.4 kB / 328.7 MB, free: 4.172 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.065e-06/0.005613, allocations: 12.31 kB / 328.7 MB, free: 4.16 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.00563, allocations: 384 / 328.7 MB, free: 4.16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.44e-05/0.005714, allocations: 58.89 kB / 328.8 MB, free: 4.094 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.005722, allocations: 192 / 328.8 MB, free: 4.094 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.005731, allocations: 8.125 kB / 328.8 MB, free: 4.086 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.005735, allocations: 0 / 328.8 MB, free: 4.086 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.239e-05/0.005758, allocations: 11.98 kB / 328.8 MB, free: 4.074 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000219/0.005976, allocations: 175 kB / 329 MB, free: 3.887 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.717e-05/0.006024, allocations: 33.39 kB / 329 MB, free: 3.844 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.523e-05/0.006039, allocations: 8.859 kB / 329 MB, free: 3.832 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.006055, allocations: 0 / 329 MB, free: 3.832 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.006077, allocations: 38.5 kB / 329 MB, free: 3.785 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.006078, allocations: 0 / 329 MB, free: 3.785 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004296/0.006508, allocations: 142.1 kB / 329.2 MB, free: 3.641 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.006538, allocations: 59.34 kB / 329.2 MB, free: 3.57 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.006649, allocations: 181.5 kB / 329.4 MB, free: 3.379 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.006662, allocations: 29.7 kB / 329.4 MB, free: 3.344 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.005e-05/0.006702, allocations: 100.1 kB / 329.5 MB, free: 3.242 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.235e-05/0.006734, allocations: 31.73 kB / 329.6 MB, free: 3.211 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.82e-05/0.006772, allocations: 17.7 kB / 329.6 MB, free: 3.188 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.202e-05/0.006864, allocations: 322.8 kB / 329.9 MB, free: 2.863 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.141e-05/0.006886, allocations: 11.98 kB / 329.9 MB, free: 2.852 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.583e-05/0.006902, allocations: 4 kB / 329.9 MB, free: 2.848 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.132e-05/0.006953, allocations: 35.88 kB / 329.9 MB, free: 2.809 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.006954, allocations: 0 / 329.9 MB, free: 2.809 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.725e-05/0.007031, allocations: 61.61 kB / 330 MB, free: 2.742 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.007051, allocations: 11.94 kB / 330 MB, free: 2.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.007057, allocations: 8 kB / 330 MB, free: 2.723 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.007068, allocations: 0 / 330 MB, free: 2.723 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.959e-05/0.007138, allocations: 15.98 kB / 330 MB, free: 2.707 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-06/0.00714, allocations: 0 / 330 MB, free: 2.707 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.038e-05/0.007161, allocations: 4 kB / 330 MB, free: 2.703 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.007167, allocations: 432 / 330 MB, free: 2.703 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 (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 6.492e-05/0.007232, allocations: 116.7 kB / 330.2 MB, free: 2.578 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.256e-05/0.007254, allocations: 15.86 kB / 330.2 MB, free: 2.562 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.007362, allocations: 71.08 kB / 330.2 MB, free: 2.484 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.007367, allocations: 11.97 kB / 330.3 MB, free: 2.473 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.007369, allocations: 4 kB / 330.3 MB, free: 2.469 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.007371, allocations: 0 / 330.3 MB, free: 2.469 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002432/0.007614, allocations: 251.5 kB / 330.5 MB, free: 2.195 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.007617, allocations: 0 / 330.5 MB, free: 2.195 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.122e-05/0.007658, allocations: 19.98 kB / 330.5 MB, free: 2.176 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.00766, allocations: 4 kB / 330.5 MB, free: 2.172 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.488e-06/0.007665, allocations: 0 / 330.5 MB, free: 2.172 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.007667, allocations: 0 / 330.5 MB, free: 2.172 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.007668, allocations: 0 / 330.5 MB, free: 2.172 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001025/0.007771, allocations: 168.2 kB / 330.7 MB, free: 1.988 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.274e-05/0.007783, allocations: 15.94 kB / 330.7 MB, free: 1.973 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.007794, allocations: 4 kB / 330.7 MB, free: 1.969 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.438e-05/0.007829, allocations: 3.984 kB / 330.7 MB, free: 1.965 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.398e-05/0.007853, allocations: 4 kB / 330.7 MB, free: 1.961 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.007859, allocations: 4 kB / 330.7 MB, free: 1.957 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.457e-05/0.007903, allocations: 52.14 kB / 330.8 MB, free: 1.902 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007903, allocations: 0 / 330.8 MB, free: 1.902 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000157/0.00806, allocations: 19.98 kB / 330.8 MB, free: 1.883 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: 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.001395/0.009455, allocations: 0.5773 MB / 331.4 MB, free: 1.609 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.951e-05/0.009555, allocations: 40.7 kB / 331.4 MB, free: 1.566 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.009561, allocations: 4 kB / 331.4 MB, free: 1.562 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.381e-05/0.009585, allocations: 20.8 kB / 331.4 MB, free: 1.539 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001809/0.009765, allocations: 24.05 kB / 331.5 MB, free: 1.516 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003381/0.0101, allocations: 219.7 kB / 331.7 MB, free: 1.27 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.324e-05/0.01015, allocations: 75.27 kB / 331.8 MB, free: 1.176 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.92e-05/0.01019, allocations: 17.02 kB / 331.8 MB, free: 1.16 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.351e-05/0.01024, allocations: 59.36 kB / 331.8 MB, free: 1.102 MB / 298.7 MB Notification: Performance of SimCode: time 1.082e-06/0.01024, allocations: 4 kB / 331.8 MB, free: 1.098 MB / 298.7 MB Notification: Performance of Templates: time 0.003351/0.01359, allocations: 1.53 MB / 333.4 MB, free: 15.59 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/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: 2.9138164375908673]