Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test19.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.0009135/0.0009135, 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.0009808/0.0009808, allocations: 168.7 kB / 24.91 MB, free: 8.762 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.9593/0.9593, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.2768/0.2768, allocations: 34.26 MB / 296.1 MB, free: 0.6719 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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 325.3 MB, free: 7.633 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.607e-05/1.734e-05, allocations: 3.078 kB / 325.3 MB, free: 7.629 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test19): time 0.00206/0.002078, allocations: 1.681 MB / 327 MB, free: 5.934 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.003214, allocations: 1.297 MB / 328.3 MB, free: 4.629 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.568e-05/0.003259, allocations: 0 / 328.3 MB, free: 4.629 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002102/0.003469, allocations: 35.66 kB / 328.3 MB, free: 4.594 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000241/0.00371, allocations: 75.56 kB / 328.4 MB, free: 4.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002319/0.003942, allocations: 119.6 kB / 328.5 MB, free: 4.402 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.004061, allocations: 64.41 kB / 328.6 MB, free: 4.34 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.466e-05/0.004136, allocations: 11.98 kB / 328.6 MB, free: 4.328 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.922e-05/0.004195, allocations: 39.89 kB / 328.6 MB, free: 4.289 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.56e-05/0.004281, allocations: 23.92 kB / 328.6 MB, free: 4.266 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.004294, allocations: 4 kB / 328.6 MB, free: 4.262 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001517/0.004446, allocations: 91.88 kB / 328.7 MB, free: 4.172 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.088e-05/0.004486, allocations: 19.91 kB / 328.8 MB, free: 4.152 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.244e-05/0.004509, allocations: 11.94 kB / 328.8 MB, free: 4.141 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001766/0.004686, allocations: 127.6 kB / 328.9 MB, free: 4.016 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.004688, allocations: 3.984 kB / 328.9 MB, free: 4.012 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.004688, allocations: 0 / 328.9 MB, free: 4.012 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.004693, allocations: 4 kB / 328.9 MB, free: 4.008 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.0002791/0.004972, allocations: 305.6 kB / 329.2 MB, free: 3.688 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.648e-05/0.004998, allocations: 12.03 kB / 329.2 MB, free: 3.676 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.85e-05/0.005027, allocations: 12.88 kB / 329.2 MB, free: 3.664 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.005143, allocations: 126.6 kB / 329.3 MB, free: 3.516 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.132e-06/0.005149, allocations: 384 / 329.3 MB, free: 3.516 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/0.005163, allocations: 4.375 kB / 329.3 MB, free: 3.512 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.005264, allocations: 98.34 kB / 329.4 MB, free: 3.395 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.005271, allocations: 192 / 329.4 MB, free: 3.395 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.005279, allocations: 4.125 kB / 329.4 MB, free: 3.391 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.005283, allocations: 0 / 329.4 MB, free: 3.391 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.837e-05/0.005301, allocations: 7.938 kB / 329.5 MB, free: 3.383 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001873/0.005488, allocations: 163.1 kB / 329.6 MB, free: 3.207 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.005592, allocations: 41.39 kB / 329.7 MB, free: 3.156 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.534e-05/0.005607, allocations: 12.86 kB / 329.7 MB, free: 3.141 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.00562, allocations: 0 / 329.7 MB, free: 3.141 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.653e-05/0.005637, allocations: 30.56 kB / 329.7 MB, free: 3.102 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.005637, allocations: 0 / 329.7 MB, free: 3.102 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002181/0.005855, allocations: 90.05 kB / 329.8 MB, free: 3.008 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.00589, allocations: 81.09 kB / 329.9 MB, free: 2.91 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.321e-05/0.005973, allocations: 148.3 kB / 330 MB, free: 2.75 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.986e-06/0.005982, allocations: 25.7 kB / 330 MB, free: 2.719 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.829e-05/0.00601, allocations: 96.08 kB / 330.1 MB, free: 2.621 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.691e-05/0.006027, allocations: 19.78 kB / 330.1 MB, free: 2.602 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.586e-05/0.006053, allocations: 21.7 kB / 330.2 MB, free: 2.574 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.605e-05/0.006119, allocations: 318.8 kB / 330.5 MB, free: 2.254 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.053e-05/0.006129, allocations: 7.984 kB / 330.5 MB, free: 2.246 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.675e-05/0.006156, allocations: 43.42 kB / 330.5 MB, free: 2.191 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.706e-05/0.006183, allocations: 27.66 kB / 330.6 MB, free: 2.16 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.006184, allocations: 0 / 330.6 MB, free: 2.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.017e-05/0.006234, allocations: 49.62 kB / 330.6 MB, free: 2.105 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.177e-06/0.006243, allocations: 7.938 kB / 330.6 MB, free: 2.098 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.006247, allocations: 0 / 330.6 MB, free: 2.098 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.277e-06/0.006256, allocations: 8.031 kB / 330.6 MB, free: 2.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.575e-05/0.006302, allocations: 11.98 kB / 330.6 MB, free: 2.078 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.796e-06/0.006305, allocations: 0 / 330.6 MB, free: 2.078 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.792e-05/0.006323, allocations: 4 kB / 330.6 MB, free: 2.074 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.006329, allocations: 0 / 330.6 MB, free: 2.074 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.658e-05/0.006385, allocations: 112.7 kB / 330.7 MB, free: 1.953 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.023e-05/0.006405, allocations: 11.92 kB / 330.8 MB, free: 1.941 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.692e-05/0.006482, allocations: 58.14 kB / 330.8 MB, free: 1.879 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.006484, allocations: 0 / 330.8 MB, free: 1.879 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-06/0.006485, allocations: 0 / 330.8 MB, free: 1.879 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.006487, allocations: 7.938 kB / 330.8 MB, free: 1.871 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001807/0.006668, allocations: 207.1 kB / 331 MB, free: 1.645 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.00667, allocations: 4 kB / 331 MB, free: 1.641 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.004e-05/0.0067, allocations: 16 kB / 331 MB, free: 1.625 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.006702, allocations: 0 / 331 MB, free: 1.625 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.929e-06/0.006707, allocations: 3.984 kB / 331 MB, free: 1.621 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.006708, allocations: 0 / 331 MB, free: 1.621 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.006708, allocations: 0 / 331 MB, free: 1.621 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.086e-05/0.006779, allocations: 147.8 kB / 331.2 MB, free: 1.461 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.162e-05/0.006791, allocations: 15.89 kB / 331.2 MB, free: 1.445 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.006803, allocations: 11.97 kB / 331.2 MB, free: 1.434 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.318e-05/0.006836, allocations: 4 kB / 331.2 MB, free: 1.43 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.964e-05/0.006856, allocations: 0 / 331.2 MB, free: 1.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.006859, allocations: 0 / 331.2 MB, free: 1.43 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.481e-05/0.006894, allocations: 38.31 kB / 331.3 MB, free: 1.391 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006894, allocations: 0 / 331.3 MB, free: 1.391 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000156/0.00705, allocations: 39.81 kB / 331.3 MB, free: 1.352 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.00122/0.00827, allocations: 0.6236 MB / 331.9 MB, free: 1.047 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.382e-05/0.008344, allocations: 28.78 kB / 332 MB, free: 1.016 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.008346, allocations: 4 kB / 332 MB, free: 1.012 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.551e-05/0.008362, allocations: 12.86 kB / 332 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001452/0.008507, allocations: 27.86 kB / 332 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002333/0.00874, allocations: 166.5 kB / 332.2 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.104e-05/0.008771, allocations: 66.59 kB / 332.2 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.567e-05/0.008807, allocations: 15.97 kB / 332.2 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.893e-05/0.008866, allocations: 67.3 kB / 332.3 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of SimCode: time 4.11e-07/0.008866, allocations: 4 kB / 332.3 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of Templates: time 0.003222/0.01209, allocations: 1.994 MB / 334.3 MB, free: 14.63 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test19.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test19 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test19/Test19.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.879405382089317]