Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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.001865/0.001865, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.001894/0.001894, allocations: 165.3 kB / 24.28 MB, free: 152 kB / 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 1.548/1.548, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.373/0.373, allocations: 32.8 MB / 293.9 MB, free: 1.211 MB / 266.7 MB " [Timeout remaining time 179] 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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 375.3 MB, free: 4.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.447e-05/2.582e-05, allocations: 2.312 kB / 375.3 MB, free: 4.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.003173/0.003198, allocations: 1.618 MB / 376.9 MB, free: 3.359 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002142/0.00534, allocations: 1.266 MB / 378.2 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.176e-05/0.005392, allocations: 0 / 378.2 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002467/0.005639, allocations: 27.78 kB / 378.2 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003589/0.005998, allocations: 83.56 kB / 378.3 MB, free: 1.977 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003165/0.006314, allocations: 111.6 kB / 378.4 MB, free: 1.867 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001663/0.006481, allocations: 75.75 kB / 378.4 MB, free: 1.793 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.494e-05/0.006566, allocations: 8 kB / 378.5 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.332e-05/0.006649, allocations: 31.91 kB / 378.5 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.006783, allocations: 27.91 kB / 378.5 MB, free: 1.727 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.387e-05/0.006807, allocations: 4 kB / 378.5 MB, free: 1.723 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000187/0.006994, allocations: 95.75 kB / 378.6 MB, free: 1.629 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.493e-05/0.007048, allocations: 15.92 kB / 378.6 MB, free: 1.613 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.824e-05/0.007087, allocations: 15.92 kB / 378.6 MB, free: 1.598 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002869/0.007374, allocations: 139.6 kB / 378.8 MB, free: 1.461 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.007379, allocations: 4 kB / 378.8 MB, free: 1.457 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.00738, allocations: 4 kB / 378.8 MB, free: 1.453 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.007385, allocations: 0 / 378.8 MB, free: 1.453 MB / 346.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.0006181/0.008003, allocations: 435.6 kB / 379.2 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.008039, allocations: 11.97 kB / 379.2 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.926e-05/0.008099, allocations: 12.89 kB / 379.2 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.008313, allocations: 132.5 kB / 379.4 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.008326, allocations: 4.375 kB / 379.4 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.008346, allocations: 4.375 kB / 379.4 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.008529, allocations: 91.31 kB / 379.5 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.00854, allocations: 192 / 379.5 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.008552, allocations: 8.125 kB / 379.5 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.008558, allocations: 4 kB / 379.5 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.984e-05/0.008658, allocations: 19.92 kB / 379.5 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004391/0.009097, allocations: 283.8 kB / 379.8 MB, free: 360 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002325/0.00933, allocations: 47.05 kB / 379.8 MB, free: 300 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.911e-05/0.009379, allocations: 11.69 kB / 379.8 MB, free: 284 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.009402, allocations: 11.86 kB / 379.8 MB, free: 272 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.009441, allocations: 41.47 kB / 379.9 MB, free: 220 kB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.009442, allocations: 0 / 379.9 MB, free: 220 kB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005751/0.01002, allocations: 129.4 kB / 380 MB, free: 84 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.923e-05/0.0101, allocations: 77.11 kB / 380.1 MB, free: 15.99 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002238/0.01032, allocations: 215.5 kB / 380.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.01034, allocations: 25.7 kB / 380.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.01045, allocations: 146.9 kB / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002545/0.0107, allocations: 15.89 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.172e-05/0.01075, allocations: 23.38 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002785/0.01103, allocations: 0.4923 MB / 381 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.567e-05/0.0111, allocations: 16 kB / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.608e-05/0.01119, allocations: 61.06 kB / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.01131, allocations: 39.67 kB / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.01131, allocations: 0 / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002046/0.01152, allocations: 85.69 kB / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.01153, allocations: 4 kB / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.01154, allocations: 0 / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.01155, allocations: 4 kB / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.695e-05/0.01162, allocations: 8 kB / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.01163, allocations: 8.016 kB / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.225e-05/0.01167, allocations: 7.938 kB / 381.2 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.792e-06/0.01168, allocations: 0 / 381.2 MB, free: 14.78 MB / 362.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 0.0001222/0.0118, allocations: 160.6 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.082e-05/0.01184, allocations: 11.89 kB / 381.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002408/0.01208, allocations: 90.02 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.01208, allocations: 0 / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.01209, allocations: 0 / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.01209, allocations: 0 / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004977/0.01259, allocations: 349.4 kB / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.01259, allocations: 0 / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.739e-05/0.01264, allocations: 11.94 kB / 381.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.01265, allocations: 0 / 381.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.01265, allocations: 0 / 381.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.01266, allocations: 0 / 381.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01266, allocations: 0 / 381.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00028/0.01294, allocations: 227.8 kB / 382.1 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.934e-05/0.01296, allocations: 7.953 kB / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.01298, allocations: 4.234 kB / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.243e-05/0.01305, allocations: 12 kB / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.91e-05/0.01309, allocations: 4 kB / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.01309, allocations: 0 / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001427/0.01324, allocations: 161.5 kB / 382.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01324, allocations: 0 / 382.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003053/0.01354, allocations: 39.86 kB / 382.3 MB, free: 13.64 MB / 362.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.00351/0.01705, allocations: 0.5267 MB / 382.8 MB, free: 13.33 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002407/0.01729, allocations: 43.66 kB / 382.8 MB, free: 13.28 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.0173, allocations: 4 kB / 382.9 MB, free: 13.28 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.063e-05/0.01738, allocations: 31.67 kB / 382.9 MB, free: 13.24 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/0.01772, allocations: 23.92 kB / 382.9 MB, free: 13.22 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000526/0.01825, allocations: 177.9 kB / 383.1 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.93e-05/0.01835, allocations: 71.33 kB / 383.1 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.064e-05/0.01842, allocations: 11.98 kB / 383.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.116e-05/0.01848, allocations: 28.48 kB / 383.2 MB, free: 12.89 MB / 362.7 MB Notification: Performance of SimCode: time 9.01e-07/0.01848, allocations: 0 / 383.2 MB, free: 12.89 MB / 362.7 MB Notification: Performance of Templates: time 0.006522/0.025, allocations: 1.843 MB / 385 MB, free: 11.05 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.032146207988262]