Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.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.001078/0.001078, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.00108/0.00108, allocations: 170.3 kB / 24.91 MB, free: 8.77 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 0.9512/0.9512, allocations: 177.1 MB / 205.3 MB, free: 5.113 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.2275/0.2275, allocations: 32.8 MB / 294.6 MB, free: 1.137 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.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 323.3 MB, free: 9.648 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.035e-05/2.188e-05, allocations: 4.703 kB / 323.3 MB, free: 9.645 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.002226/0.002248, allocations: 1.691 MB / 325 MB, free: 7.941 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007219/0.00297, allocations: 0.549 MB / 325.5 MB, free: 7.387 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.203e-05/0.003022, allocations: 4 kB / 325.5 MB, free: 7.383 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002337/0.003256, allocations: 71.7 kB / 325.6 MB, free: 7.312 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002207/0.003476, allocations: 103.5 kB / 325.7 MB, free: 7.211 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002197/0.003696, allocations: 107.7 kB / 325.8 MB, free: 7.105 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000132/0.003828, allocations: 95.75 kB / 325.9 MB, free: 7.012 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.014e-05/0.003918, allocations: 19.92 kB / 325.9 MB, free: 6.992 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.88e-05/0.003987, allocations: 51.81 kB / 326 MB, free: 6.941 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.517e-05/0.004082, allocations: 43.94 kB / 326 MB, free: 6.898 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.004095, allocations: 4 kB / 326 MB, free: 6.895 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.179e-05/0.004167, allocations: 35.98 kB / 326.1 MB, free: 6.859 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.388e-05/0.004211, allocations: 23.88 kB / 326.1 MB, free: 6.836 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.489e-05/0.004236, allocations: 23.91 kB / 326.1 MB, free: 6.812 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001481/0.004384, allocations: 87.61 kB / 326.2 MB, free: 6.727 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.004386, allocations: 8 kB / 326.2 MB, free: 6.719 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.004387, allocations: 0 / 326.2 MB, free: 6.719 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.004392, allocations: 3.984 kB / 326.2 MB, free: 6.715 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.0003184/0.00471, allocations: 305.4 kB / 326.5 MB, free: 6.395 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.004741, allocations: 12.03 kB / 326.5 MB, free: 6.383 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.684e-05/0.004768, allocations: 8.938 kB / 326.5 MB, free: 6.375 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.004907, allocations: 147.4 kB / 326.7 MB, free: 6.203 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.602e-06/0.004913, allocations: 384 / 326.7 MB, free: 6.203 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.004932, allocations: 16.36 kB / 326.7 MB, free: 6.188 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.295e-05/0.005015, allocations: 54.94 kB / 326.7 MB, free: 6.125 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.005024, allocations: 192 / 326.7 MB, free: 6.125 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.005034, allocations: 12.12 kB / 326.8 MB, free: 6.113 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.005039, allocations: 4 kB / 326.8 MB, free: 6.109 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.115e-05/0.005061, allocations: 7.984 kB / 326.8 MB, free: 6.102 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000199/0.00526, allocations: 171.7 kB / 326.9 MB, free: 5.918 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.396e-05/0.005304, allocations: 33.41 kB / 327 MB, free: 5.875 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.529e-05/0.005319, allocations: 12.94 kB / 327 MB, free: 5.859 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.005334, allocations: 0 / 327 MB, free: 5.859 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.005356, allocations: 34.5 kB / 327 MB, free: 5.816 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.005357, allocations: 0 / 327 MB, free: 5.816 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003775/0.005734, allocations: 145.4 kB / 327.2 MB, free: 5.668 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.478e-05/0.005759, allocations: 55.42 kB / 327.2 MB, free: 5.602 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.005867, allocations: 180.8 kB / 327.4 MB, free: 5.41 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.005877, allocations: 29.7 kB / 327.4 MB, free: 5.375 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.244e-05/0.00591, allocations: 100.8 kB / 327.5 MB, free: 5.273 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.005932, allocations: 31.72 kB / 327.5 MB, free: 5.242 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.707e-05/0.005959, allocations: 17.72 kB / 327.6 MB, free: 5.219 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.279e-05/0.006032, allocations: 326.8 kB / 327.9 MB, free: 4.891 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.262e-05/0.006045, allocations: 4 kB / 327.9 MB, free: 4.887 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.282e-05/0.006058, allocations: 19.92 kB / 327.9 MB, free: 4.867 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.338e-05/0.006091, allocations: 23.67 kB / 327.9 MB, free: 4.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.006092, allocations: 0 / 327.9 MB, free: 4.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.307e-05/0.006155, allocations: 73.53 kB / 328 MB, free: 4.762 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.006165, allocations: 4 kB / 328 MB, free: 4.758 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.006169, allocations: 0 / 328 MB, free: 4.758 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.586e-06/0.006177, allocations: 0 / 328 MB, free: 4.758 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.215e-05/0.006229, allocations: 19.98 kB / 328 MB, free: 4.738 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.415e-06/0.006232, allocations: 0 / 328 MB, free: 4.738 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.592e-05/0.006248, allocations: 432 / 328 MB, free: 4.738 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.006254, allocations: 8 kB / 328 MB, free: 4.73 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 5.146e-05/0.006305, allocations: 112.7 kB / 328.1 MB, free: 4.609 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.003e-05/0.006325, allocations: 15.92 kB / 328.2 MB, free: 4.594 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.682e-05/0.006422, allocations: 79.31 kB / 328.2 MB, free: 4.508 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.006426, allocations: 3.984 kB / 328.2 MB, free: 4.504 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.006427, allocations: 0 / 328.2 MB, free: 4.504 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.006432, allocations: 3.984 kB / 328.2 MB, free: 4.5 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002167/0.006648, allocations: 251.5 kB / 328.5 MB, free: 4.227 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.00665, allocations: 0 / 328.5 MB, free: 4.227 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.614e-05/0.006686, allocations: 15.98 kB / 328.5 MB, free: 4.211 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.006687, allocations: 4.031 kB / 328.5 MB, free: 4.207 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.006695, allocations: 12 kB / 328.5 MB, free: 4.195 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.006696, allocations: 0 / 328.5 MB, free: 4.195 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.006698, allocations: 0 / 328.5 MB, free: 4.195 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.922e-05/0.006787, allocations: 160.3 kB / 328.7 MB, free: 4.02 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.036e-05/0.006797, allocations: 11.91 kB / 328.7 MB, free: 4.008 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.628e-06/0.006807, allocations: 0 / 328.7 MB, free: 4.008 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.212e-05/0.006839, allocations: 8 kB / 328.7 MB, free: 4 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.274e-05/0.006862, allocations: 7.984 kB / 328.7 MB, free: 3.992 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.006865, allocations: 0 / 328.7 MB, free: 3.992 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.167e-05/0.006907, allocations: 63.62 kB / 328.8 MB, free: 3.926 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.006907, allocations: 0 / 328.8 MB, free: 3.926 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001329/0.00704, allocations: 20 kB / 328.8 MB, free: 3.906 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.001143/0.008183, allocations: 0.5732 MB / 329.4 MB, free: 3.641 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.674e-05/0.008269, allocations: 40.72 kB / 329.4 MB, free: 3.598 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.008274, allocations: 0 / 329.4 MB, free: 3.598 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.401e-05/0.008298, allocations: 28.92 kB / 329.4 MB, free: 3.566 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001578/0.008455, allocations: 15.98 kB / 329.4 MB, free: 3.551 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002909/0.008746, allocations: 227.7 kB / 329.7 MB, free: 3.297 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.958e-05/0.008786, allocations: 71.33 kB / 329.7 MB, free: 3.207 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.193e-05/0.008818, allocations: 12.78 kB / 329.7 MB, free: 3.195 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.934e-05/0.008867, allocations: 59.38 kB / 329.8 MB, free: 3.137 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.008868, allocations: 0 / 329.8 MB, free: 3.137 MB / 298.7 MB Notification: Performance of Templates: time 0.002853/0.01172, allocations: 1.529 MB / 331.3 MB, free: 1.621 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.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.7429157523438334]