Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.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.001093/0.001093, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.0009962/0.0009962, allocations: 169 kB / 24.24 MB, free: 312 kB / 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 1.06/1.06, allocations: 158.6 MB / 186 MB, free: 2.91 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.164/0.164, allocations: 32.37 MB / 270.7 MB, free: 14.77 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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,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.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 347.7 MB, free: 9.777 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.156e-05/2.294e-05, allocations: 8.219 kB / 347.7 MB, free: 9.77 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.001707/0.00173, allocations: 1.603 MB / 349.3 MB, free: 8.16 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004055/0.002135, allocations: 315.5 kB / 349.6 MB, free: 7.848 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.906e-05/0.002174, allocations: 0 / 349.6 MB, free: 7.848 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002247/0.002399, allocations: 127.6 kB / 349.7 MB, free: 7.723 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000119/0.002518, allocations: 91.64 kB / 349.8 MB, free: 7.633 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001414/0.002659, allocations: 63.78 kB / 349.9 MB, free: 7.57 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001108/0.00277, allocations: 83.8 kB / 349.9 MB, free: 7.488 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.15e-05/0.002832, allocations: 15.92 kB / 350 MB, free: 7.473 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.81e-05/0.00288, allocations: 55.88 kB / 350 MB, free: 7.418 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.633e-05/0.002956, allocations: 79.83 kB / 350.1 MB, free: 7.34 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.002968, allocations: 0 / 350.1 MB, free: 7.34 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.609e-05/0.003014, allocations: 35.92 kB / 350.1 MB, free: 7.305 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.247e-05/0.003046, allocations: 19.94 kB / 350.1 MB, free: 7.285 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.185e-05/0.003068, allocations: 15.92 kB / 350.2 MB, free: 7.27 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001139/0.003182, allocations: 83.67 kB / 350.2 MB, free: 7.188 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.003184, allocations: 4 kB / 350.2 MB, free: 7.184 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.003185, allocations: 0 / 350.2 MB, free: 7.184 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.216e-06/0.003188, allocations: 4 kB / 350.2 MB, free: 7.18 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.0002498/0.003438, allocations: 447.8 kB / 350.7 MB, free: 6.707 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.667e-05/0.003464, allocations: 12.02 kB / 350.7 MB, free: 6.695 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.892e-05/0.003493, allocations: 16.84 kB / 350.7 MB, free: 6.68 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.111e-05/0.003584, allocations: 152.2 kB / 350.9 MB, free: 6.504 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.154e-06/0.003591, allocations: 384 / 350.9 MB, free: 6.504 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.003605, allocations: 8.375 kB / 350.9 MB, free: 6.496 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.202e-05/0.003677, allocations: 50.95 kB / 350.9 MB, free: 6.438 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.003685, allocations: 192 / 350.9 MB, free: 6.438 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.003692, allocations: 8.125 kB / 350.9 MB, free: 6.43 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.003698, allocations: 4 kB / 350.9 MB, free: 6.426 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.335e-05/0.003721, allocations: 11.92 kB / 350.9 MB, free: 6.414 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00018/0.003901, allocations: 291.8 kB / 351.2 MB, free: 6.094 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.004012, allocations: 42.98 kB / 351.3 MB, free: 6.039 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.568e-05/0.004028, allocations: 15.69 kB / 351.3 MB, free: 6.02 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/0.004041, allocations: 3.938 kB / 351.3 MB, free: 6.016 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.25e-05/0.004053, allocations: 41.33 kB / 351.3 MB, free: 5.965 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.004054, allocations: 0 / 351.3 MB, free: 5.965 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002393/0.004293, allocations: 105.6 kB / 351.4 MB, free: 5.855 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.996e-05/0.004313, allocations: 63.34 kB / 351.5 MB, free: 5.781 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.955e-05/0.004413, allocations: 261.7 kB / 351.8 MB, free: 5.508 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.467e-06/0.004416, allocations: 25.7 kB / 351.8 MB, free: 5.477 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.414e-05/0.00445, allocations: 166.8 kB / 351.9 MB, free: 5.309 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.239e-05/0.004463, allocations: 15.86 kB / 352 MB, free: 5.293 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.144e-05/0.004484, allocations: 27.36 kB / 352 MB, free: 5.258 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.368e-05/0.004528, allocations: 0.5001 MB / 352.5 MB, free: 4.746 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.21e-05/0.00454, allocations: 8 kB / 352.5 MB, free: 4.738 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.075e-05/0.004551, allocations: 4 kB / 352.5 MB, free: 4.734 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.697e-05/0.004578, allocations: 23.88 kB / 352.5 MB, free: 4.707 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.52e-07/0.004578, allocations: 0 / 352.5 MB, free: 4.707 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.355e-05/0.004632, allocations: 73.47 kB / 352.6 MB, free: 4.629 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.488e-06/0.004642, allocations: 8 kB / 352.6 MB, free: 4.621 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.875e-06/0.004644, allocations: 0 / 352.6 MB, free: 4.621 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.386e-06/0.004653, allocations: 0 / 352.6 MB, free: 4.621 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.055e-05/0.004683, allocations: 15.98 kB / 352.6 MB, free: 4.605 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.004688, allocations: 0 / 352.6 MB, free: 4.605 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.502e-05/0.004703, allocations: 4 kB / 352.6 MB, free: 4.602 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-06/0.004707, allocations: 0 / 352.6 MB, free: 4.602 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 3.781e-05/0.004745, allocations: 156.6 kB / 352.8 MB, free: 4.438 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.656e-05/0.004762, allocations: 11.89 kB / 352.8 MB, free: 4.426 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.929e-05/0.004841, allocations: 82.72 kB / 352.9 MB, free: 4.336 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.004842, allocations: 0 / 352.9 MB, free: 4.336 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.004845, allocations: 0 / 352.9 MB, free: 4.336 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.004848, allocations: 4 kB / 352.9 MB, free: 4.332 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.005011, allocations: 345.4 kB / 353.2 MB, free: 3.953 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.005012, allocations: 0 / 353.2 MB, free: 3.953 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.142e-05/0.005033, allocations: 8 kB / 353.2 MB, free: 3.945 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.005035, allocations: 0 / 353.2 MB, free: 3.945 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.005046, allocations: 7.938 kB / 353.2 MB, free: 3.938 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.005047, allocations: 192 / 353.2 MB, free: 3.938 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.005048, allocations: 4 kB / 353.2 MB, free: 3.934 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.269e-05/0.005111, allocations: 219.7 kB / 353.4 MB, free: 3.699 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.053e-06/0.005118, allocations: 7.953 kB / 353.4 MB, free: 3.691 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.005129, allocations: 7.984 kB / 353.5 MB, free: 3.684 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.993e-05/0.005159, allocations: 8 kB / 353.5 MB, free: 3.676 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.113e-05/0.00518, allocations: 0 / 353.5 MB, free: 3.676 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.005183, allocations: 4 kB / 353.5 MB, free: 3.672 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.534e-05/0.005238, allocations: 192.2 kB / 353.7 MB, free: 3.484 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005239, allocations: 0 / 353.7 MB, free: 3.484 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000145/0.005384, allocations: 15.94 kB / 353.7 MB, free: 3.469 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.0007534/0.006137, allocations: 366.8 kB / 354 MB, free: 3.199 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.54e-05/0.006212, allocations: 31.61 kB / 354.1 MB, free: 3.164 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.006213, allocations: 0 / 354.1 MB, free: 3.164 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.643e-05/0.00623, allocations: 15.69 kB / 354.1 MB, free: 3.145 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.006456, allocations: 41.05 kB / 354.1 MB, free: 3.105 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000328/0.006784, allocations: 218.8 kB / 354.3 MB, free: 2.863 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.698e-05/0.006811, allocations: 75.33 kB / 354.4 MB, free: 2.77 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.415e-05/0.006835, allocations: 11.97 kB / 354.4 MB, free: 2.758 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.073e-05/0.006855, allocations: 16.44 kB / 354.4 MB, free: 2.742 MB / 282.7 MB Notification: Performance of SimCode: time 6.31e-07/0.006856, allocations: 4 kB / 354.4 MB, free: 2.738 MB / 282.7 MB Notification: Performance of Templates: time 0.002414/0.00927, allocations: 1.167 MB / 355.6 MB, free: 1.582 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.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.222258440917358]