Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.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.001049/0.001049, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.001192/0.001192, allocations: 169 kB / 24.24 MB, free: 316 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 0.9277/0.9277, allocations: 158.6 MB / 186 MB, free: 2.93 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.1773/0.1773, 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.CombiTable1D.Test8,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.CombiTable1D.Test8") translateModel(ModelicaTest.Tables.CombiTable1D.Test8,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.CombiTable1D.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 347.7 MB, free: 9.773 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.261e-05/2.444e-05, allocations: 6.25 kB / 347.7 MB, free: 9.766 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test8): time 0.002192/0.002217, allocations: 1.602 MB / 349.3 MB, free: 8.16 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005027/0.002719, allocations: 331.4 kB / 349.6 MB, free: 7.832 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.709e-05/0.002776, allocations: 0 / 349.6 MB, free: 7.832 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002175/0.002994, allocations: 23.84 kB / 349.6 MB, free: 7.809 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001528/0.003147, allocations: 39.73 kB / 349.7 MB, free: 7.77 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002036/0.00335, allocations: 83.8 kB / 349.7 MB, free: 7.688 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.003468, allocations: 63.84 kB / 349.8 MB, free: 7.625 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.706e-05/0.003555, allocations: 11.92 kB / 349.8 MB, free: 7.613 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.72e-05/0.003602, allocations: 27.91 kB / 349.8 MB, free: 7.586 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.654e-05/0.003649, allocations: 15.98 kB / 349.9 MB, free: 7.57 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.003663, allocations: 0 / 349.9 MB, free: 7.57 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.024e-05/0.003723, allocations: 31.88 kB / 349.9 MB, free: 7.539 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.978e-05/0.003763, allocations: 15.97 kB / 349.9 MB, free: 7.523 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.421e-05/0.003787, allocations: 11.94 kB / 349.9 MB, free: 7.512 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001613/0.003949, allocations: 63.75 kB / 350 MB, free: 7.449 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.003951, allocations: 0 / 350 MB, free: 7.449 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.003952, allocations: 0 / 350 MB, free: 7.449 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.003956, allocations: 4 kB / 350 MB, free: 7.445 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.0002964/0.004252, allocations: 404.2 kB / 350.4 MB, free: 7.016 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.004284, allocations: 15.97 kB / 350.4 MB, free: 7 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.81e-05/0.004322, allocations: 8.891 kB / 350.4 MB, free: 6.992 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.004431, allocations: 144.3 kB / 350.5 MB, free: 6.824 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.876e-06/0.00444, allocations: 4.375 kB / 350.6 MB, free: 6.82 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.004458, allocations: 4.375 kB / 350.6 MB, free: 6.816 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.154e-05/0.004549, allocations: 50.95 kB / 350.6 MB, free: 6.758 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.004559, allocations: 192 / 350.6 MB, free: 6.758 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.004568, allocations: 8.125 kB / 350.6 MB, free: 6.75 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.004575, allocations: 4 kB / 350.6 MB, free: 6.746 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.024e-05/0.004605, allocations: 11.98 kB / 350.6 MB, free: 6.734 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002468/0.004852, allocations: 271.8 kB / 350.9 MB, free: 6.434 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.004996, allocations: 39.06 kB / 350.9 MB, free: 6.383 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.071e-05/0.005017, allocations: 11.77 kB / 350.9 MB, free: 6.367 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.005035, allocations: 7.938 kB / 351 MB, free: 6.359 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.52e-05/0.00505, allocations: 37.39 kB / 351 MB, free: 6.312 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.005051, allocations: 0 / 351 MB, free: 6.312 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003063/0.005357, allocations: 93.47 kB / 351.1 MB, free: 6.215 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.024e-05/0.005377, allocations: 55.41 kB / 351.1 MB, free: 6.148 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.438e-05/0.005462, allocations: 200.1 kB / 351.3 MB, free: 5.938 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.33e-06/0.005467, allocations: 25.7 kB / 351.4 MB, free: 5.906 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.11e-05/0.005498, allocations: 150.8 kB / 351.5 MB, free: 5.754 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.717e-05/0.005515, allocations: 11.91 kB / 351.5 MB, free: 5.742 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.18e-05/0.005547, allocations: 31.3 kB / 351.5 MB, free: 5.703 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.678e-05/0.005594, allocations: 0.4884 MB / 352 MB, free: 5.203 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.967e-05/0.005614, allocations: 4 kB / 352 MB, free: 5.199 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.742e-05/0.005631, allocations: 7.984 kB / 352 MB, free: 5.191 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.925e-05/0.00567, allocations: 27.88 kB / 352.1 MB, free: 5.16 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.005671, allocations: 0 / 352.1 MB, free: 5.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.999e-05/0.005751, allocations: 65.58 kB / 352.1 MB, free: 5.09 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.005766, allocations: 8 kB / 352.1 MB, free: 5.082 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.005771, allocations: 0 / 352.1 MB, free: 5.082 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.005785, allocations: 0 / 352.1 MB, free: 5.082 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.776e-05/0.005833, allocations: 11.94 kB / 352.2 MB, free: 5.07 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.005838, allocations: 0 / 352.2 MB, free: 5.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.184e-05/0.00586, allocations: 11.92 kB / 352.2 MB, free: 5.059 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.005865, allocations: 0 / 352.2 MB, free: 5.059 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 4.421e-05/0.005909, allocations: 160.6 kB / 352.3 MB, free: 4.891 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.005935, allocations: 11.89 kB / 352.3 MB, free: 4.879 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.006038, allocations: 66.42 kB / 352.4 MB, free: 4.809 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.00604, allocations: 0 / 352.4 MB, free: 4.809 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.006043, allocations: 7.984 kB / 352.4 MB, free: 4.801 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.006046, allocations: 0 / 352.4 MB, free: 4.801 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002008/0.006247, allocations: 317.4 kB / 352.7 MB, free: 4.449 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.006249, allocations: 0 / 352.7 MB, free: 4.449 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.336e-05/0.006282, allocations: 11.98 kB / 352.7 MB, free: 4.438 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.006284, allocations: 4 kB / 352.7 MB, free: 4.434 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.006291, allocations: 4 kB / 352.7 MB, free: 4.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.006292, allocations: 192 / 352.7 MB, free: 4.43 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.006294, allocations: 8 kB / 352.7 MB, free: 4.422 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.042e-05/0.006374, allocations: 207.8 kB / 352.9 MB, free: 4.199 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.055e-06/0.006382, allocations: 11.95 kB / 353 MB, free: 4.188 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.006394, allocations: 0 / 353 MB, free: 4.188 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.769e-05/0.006442, allocations: 4 kB / 353 MB, free: 4.184 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.364e-05/0.006476, allocations: 3.984 kB / 353 MB, free: 4.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.00648, allocations: 0 / 353 MB, free: 4.18 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.213e-05/0.006522, allocations: 153.7 kB / 353.1 MB, free: 4.031 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.006522, allocations: 0 / 353.1 MB, free: 4.031 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002352/0.006757, allocations: 15.92 kB / 353.1 MB, free: 4.016 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.0008561/0.007613, allocations: 377.1 kB / 353.5 MB, free: 3.738 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.891e-05/0.007712, allocations: 27.61 kB / 353.5 MB, free: 3.707 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.007715, allocations: 4 kB / 353.5 MB, free: 3.703 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.314e-05/0.007738, allocations: 23.67 kB / 353.6 MB, free: 3.676 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.008005, allocations: 15.94 kB / 353.6 MB, free: 3.66 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003032/0.008308, allocations: 173.9 kB / 353.7 MB, free: 3.461 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.099e-05/0.008339, allocations: 59.34 kB / 353.8 MB, free: 3.383 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.999e-05/0.008379, allocations: 15.97 kB / 353.8 MB, free: 3.367 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.803e-05/0.008407, allocations: 12.5 kB / 353.8 MB, free: 3.355 MB / 282.7 MB Notification: Performance of SimCode: time 7.31e-07/0.008408, allocations: 0 / 353.8 MB, free: 3.355 MB / 282.7 MB Notification: Performance of Templates: time 0.003213/0.01162, allocations: 1.171 MB / 355 MB, free: 2.195 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test8/Test8.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.3584084729664028]