Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.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.0009532/0.0009532, allocations: 87.33 kB / 20.42 MB, free: 4.137 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.001181/0.001181, allocations: 169 kB / 23.8 MB, free: 0.7656 MB / 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.979/0.979, allocations: 158.6 MB / 185.7 MB, free: 2.898 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.1329/0.1329, allocations: 32.37 MB / 270.4 MB, free: 14.69 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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,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.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 3.938 kB / 347.7 MB, free: 9.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.048e-05/3.238e-05, allocations: 2.312 kB / 347.7 MB, free: 9.426 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.003048/0.00308, allocations: 1.599 MB / 349.3 MB, free: 7.82 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006091/0.003689, allocations: 315.5 kB / 349.6 MB, free: 7.508 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.272e-05/0.003752, allocations: 0 / 349.6 MB, free: 7.508 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003946/0.004147, allocations: 79.7 kB / 349.7 MB, free: 7.43 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002306/0.004377, allocations: 67.67 kB / 349.7 MB, free: 7.363 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002771/0.004654, allocations: 71.83 kB / 349.8 MB, free: 7.293 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001849/0.004839, allocations: 63.83 kB / 349.9 MB, free: 7.23 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.004951, allocations: 8 kB / 349.9 MB, free: 7.223 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.736e-05/0.005028, allocations: 47.81 kB / 349.9 MB, free: 7.176 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.005157, allocations: 51.88 kB / 350 MB, free: 7.125 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.143e-05/0.005178, allocations: 0 / 350 MB, free: 7.125 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.636e-05/0.005265, allocations: 35.92 kB / 350 MB, free: 7.09 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.377e-05/0.005328, allocations: 15.94 kB / 350 MB, free: 7.074 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.746e-05/0.005366, allocations: 15.92 kB / 350 MB, free: 7.059 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.005572, allocations: 71.73 kB / 350.1 MB, free: 6.988 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.005575, allocations: 0 / 350.1 MB, free: 6.988 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.005577, allocations: 0 / 350.1 MB, free: 6.988 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.005583, allocations: 0 / 350.1 MB, free: 6.988 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.0005473/0.006131, allocations: 431.9 kB / 350.5 MB, free: 6.531 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.661e-05/0.006187, allocations: 12.03 kB / 350.5 MB, free: 6.52 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.143e-05/0.006249, allocations: 12.89 kB / 350.6 MB, free: 6.508 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.006426, allocations: 136.4 kB / 350.7 MB, free: 6.348 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.006438, allocations: 8.375 kB / 350.7 MB, free: 6.34 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.181e-05/0.00647, allocations: 4.375 kB / 350.7 MB, free: 6.336 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.006628, allocations: 58.94 kB / 350.8 MB, free: 6.27 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.006643, allocations: 192 / 350.8 MB, free: 6.27 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.006657, allocations: 8.062 kB / 350.8 MB, free: 6.262 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.006668, allocations: 0 / 350.8 MB, free: 6.262 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.191e-05/0.00671, allocations: 11.92 kB / 350.8 MB, free: 6.25 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000478/0.007188, allocations: 283.8 kB / 351.1 MB, free: 5.938 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002367/0.007425, allocations: 39.05 kB / 351.1 MB, free: 5.887 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.112e-05/0.007456, allocations: 19.69 kB / 351.1 MB, free: 5.863 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.884e-05/0.007485, allocations: 3.938 kB / 351.1 MB, free: 5.859 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.007508, allocations: 33.39 kB / 351.1 MB, free: 5.816 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.624e-06/0.007509, allocations: 3.938 kB / 351.2 MB, free: 5.812 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004348/0.007944, allocations: 93.58 kB / 351.2 MB, free: 5.715 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/0.007979, allocations: 59.34 kB / 351.3 MB, free: 5.645 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.008155, allocations: 232.1 kB / 351.5 MB, free: 5.402 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.008167, allocations: 25.7 kB / 351.6 MB, free: 5.371 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.072e-05/0.008217, allocations: 150.8 kB / 351.7 MB, free: 5.219 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/0.008242, allocations: 15.89 kB / 351.7 MB, free: 5.203 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.09e-05/0.008293, allocations: 23.38 kB / 351.7 MB, free: 5.172 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.999e-05/0.008373, allocations: 0.5001 MB / 352.2 MB, free: 4.66 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.439e-05/0.008397, allocations: 4 kB / 352.2 MB, free: 4.656 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.883e-05/0.008416, allocations: 4 kB / 352.2 MB, free: 4.652 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.075e-05/0.008467, allocations: 23.88 kB / 352.3 MB, free: 4.625 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.008468, allocations: 0 / 352.3 MB, free: 4.625 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.728e-05/0.008566, allocations: 73.47 kB / 352.3 MB, free: 4.547 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.008583, allocations: 8 kB / 352.4 MB, free: 4.539 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.008589, allocations: 0 / 352.4 MB, free: 4.539 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.008607, allocations: 0 / 352.4 MB, free: 4.539 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.099e-05/0.008668, allocations: 11.98 kB / 352.4 MB, free: 4.527 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.008675, allocations: 4 kB / 352.4 MB, free: 4.523 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.279e-05/0.008698, allocations: 4 kB / 352.4 MB, free: 4.52 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.008704, allocations: 0 / 352.4 MB, free: 4.52 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.819e-05/0.008763, allocations: 160.6 kB / 352.5 MB, free: 4.352 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.881e-05/0.008791, allocations: 11.89 kB / 352.5 MB, free: 4.34 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001355/0.008927, allocations: 66.14 kB / 352.6 MB, free: 4.27 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.00893, allocations: 3.938 kB / 352.6 MB, free: 4.266 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.008934, allocations: 0 / 352.6 MB, free: 4.266 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.008938, allocations: 0 / 352.6 MB, free: 4.266 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002698/0.009208, allocations: 337.3 kB / 352.9 MB, free: 3.895 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.009211, allocations: 4 kB / 352.9 MB, free: 3.891 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.956e-05/0.009261, allocations: 8 kB / 352.9 MB, free: 3.883 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.009264, allocations: 3.984 kB / 353 MB, free: 3.879 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.009272, allocations: 0 / 353 MB, free: 3.879 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.009276, allocations: 192 / 353 MB, free: 3.879 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.009278, allocations: 4 kB / 353 MB, free: 3.875 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001197/0.009397, allocations: 215.8 kB / 353.2 MB, free: 3.645 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.214e-05/0.009409, allocations: 7.953 kB / 353.2 MB, free: 3.637 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.009426, allocations: 4 kB / 353.2 MB, free: 3.633 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.154e-05/0.009477, allocations: 0 / 353.2 MB, free: 3.633 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.406e-05/0.009531, allocations: 7.984 kB / 353.2 MB, free: 3.625 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.009536, allocations: 4 kB / 353.2 MB, free: 3.621 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001005/0.009637, allocations: 164 kB / 353.3 MB, free: 3.461 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.009637, allocations: 0 / 353.3 MB, free: 3.461 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002699/0.009907, allocations: 19.94 kB / 353.4 MB, free: 3.441 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.001091/0.011, allocations: 370.7 kB / 353.7 MB, free: 3.168 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001213/0.01112, allocations: 39.61 kB / 353.8 MB, free: 3.125 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.01112, allocations: 0 / 353.8 MB, free: 3.125 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.461e-05/0.01115, allocations: 15.69 kB / 353.8 MB, free: 3.105 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.01149, allocations: 33.05 kB / 353.8 MB, free: 3.074 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004417/0.01193, allocations: 186.3 kB / 354 MB, free: 2.863 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.096e-05/0.01197, allocations: 67.33 kB / 354.1 MB, free: 2.777 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.838e-05/0.01201, allocations: 11.98 kB / 354.1 MB, free: 2.766 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.663e-05/0.01204, allocations: 12.5 kB / 354.1 MB, free: 2.754 MB / 282.7 MB Notification: Performance of SimCode: time 1.162e-06/0.01204, allocations: 3.938 kB / 354.1 MB, free: 2.75 MB / 282.7 MB Notification: Performance of Templates: time 0.00405/0.01609, allocations: 1.166 MB / 355.3 MB, free: 1.594 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.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.3306894307024777]