Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.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.001322/0.001322, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001294/0.001294, allocations: 161 kB / 24.56 MB, free: 12 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 0.9886/0.9886, allocations: 177.1 MB / 205 MB, free: 5.602 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.3021/0.3021, allocations: 34.26 MB / 295.7 MB, free: 0.75 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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,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.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 378 MB, free: 2.633 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.728e-05/1.853e-05, allocations: 6.25 kB / 378.1 MB, free: 2.625 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.003167/0.003186, allocations: 1.641 MB / 379.7 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007799/0.003966, allocations: 0.5375 MB / 380.2 MB, free: 440 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.69e-05/0.004022, allocations: 8 kB / 380.2 MB, free: 432 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002223/0.004245, allocations: 31.83 kB / 380.3 MB, free: 400 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002565/0.004501, allocations: 79.56 kB / 380.3 MB, free: 320 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002424/0.004744, allocations: 115.5 kB / 380.5 MB, free: 204 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.004879, allocations: 67.83 kB / 380.5 MB, free: 136 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.756e-05/0.004967, allocations: 4 kB / 380.5 MB, free: 132 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.459e-05/0.005021, allocations: 35.91 kB / 380.6 MB, free: 96 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.115e-05/0.005072, allocations: 19.86 kB / 380.6 MB, free: 76 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.005085, allocations: 4 kB / 380.6 MB, free: 72 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.63e-05/0.005151, allocations: 27.98 kB / 380.6 MB, free: 44 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.793e-05/0.005199, allocations: 19.92 kB / 380.6 MB, free: 24 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.893e-05/0.005228, allocations: 11.94 kB / 380.6 MB, free: 12 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001501/0.005378, allocations: 83.66 kB / 380.7 MB, free: 15.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.023e-06/0.00538, allocations: 0 / 380.7 MB, free: 15.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.005381, allocations: 0 / 380.7 MB, free: 15.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.329e-06/0.005385, allocations: 0 / 380.7 MB, free: 15.93 MB / 362.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.0004336/0.005819, allocations: 416.1 kB / 381.1 MB, free: 15.49 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.005863, allocations: 12.03 kB / 381.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.539e-05/0.005919, allocations: 20.81 kB / 381.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.006073, allocations: 133.1 kB / 381.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.006086, allocations: 384 / 381.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.006109, allocations: 4.375 kB / 381.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002935/0.006402, allocations: 58.7 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.463e-05/0.006427, allocations: 0 / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.006441, allocations: 0 / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.006452, allocations: 0 / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.52e-05/0.006507, allocations: 7.984 kB / 381.4 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005213/0.007028, allocations: 291.7 kB / 381.7 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003161/0.007345, allocations: 50.97 kB / 381.7 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.528e-05/0.00738, allocations: 11.69 kB / 381.7 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.007404, allocations: 0 / 381.7 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.007432, allocations: 33.39 kB / 381.7 MB, free: 14.78 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.213e-06/0.007433, allocations: 4 kB / 381.8 MB, free: 14.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.000386/0.007819, allocations: 105.5 kB / 381.9 MB, free: 14.67 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.007853, allocations: 51.41 kB / 381.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.007977, allocations: 220.8 kB / 382.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.007995, allocations: 33.64 kB / 382.2 MB, free: 14.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.62e-05/0.008051, allocations: 146.8 kB / 382.3 MB, free: 14.19 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.299e-05/0.008074, allocations: 19.83 kB / 382.3 MB, free: 14.17 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.562e-05/0.00811, allocations: 23.38 kB / 382.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.008228, allocations: 0.4961 MB / 382.8 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.891e-05/0.008247, allocations: 8 kB / 382.8 MB, free: 13.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.582e-05/0.008262, allocations: 8.062 kB / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.09e-05/0.008313, allocations: 23.67 kB / 382.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.008315, allocations: 0 / 382.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001083/0.008423, allocations: 57.66 kB / 382.9 MB, free: 13.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.00844, allocations: 11.98 kB / 382.9 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.008446, allocations: 4 kB / 382.9 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.008461, allocations: 3.938 kB / 382.9 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.433e-05/0.008515, allocations: 11.94 kB / 383 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.00852, allocations: 0 / 383 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.01e-05/0.00854, allocations: 4 kB / 383 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.842e-06/0.008547, allocations: 3.984 kB / 383 MB, free: 13.48 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 7.282e-05/0.00862, allocations: 160.5 kB / 383.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.322e-05/0.008643, allocations: 15.91 kB / 383.1 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001349/0.008778, allocations: 70.12 kB / 383.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.00878, allocations: 0 / 383.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.008784, allocations: 4 kB / 383.2 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.008787, allocations: 0 / 383.2 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002806/0.009068, allocations: 329.3 kB / 383.5 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.00907, allocations: 0 / 383.5 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.234e-05/0.009123, allocations: 8.312 kB / 383.5 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.009127, allocations: 4 kB / 383.5 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-06/0.009134, allocations: 0 / 383.5 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.009137, allocations: 4 kB / 383.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.009139, allocations: 0 / 383.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.009254, allocations: 215.8 kB / 383.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.019e-05/0.009264, allocations: 11.94 kB / 383.8 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.009277, allocations: 0 / 383.8 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.24e-05/0.009309, allocations: 4 kB / 383.8 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.998e-05/0.009339, allocations: 0 / 383.8 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.009344, allocations: 4 kB / 383.8 MB, free: 12.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.987e-05/0.009414, allocations: 161.6 kB / 383.9 MB, free: 12.44 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009414, allocations: 0 / 383.9 MB, free: 12.44 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001626/0.009577, allocations: 15.94 kB / 384 MB, free: 12.42 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.0008944/0.01047, allocations: 387.2 kB / 384.3 MB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001094/0.01058, allocations: 31.61 kB / 384.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.01058, allocations: 4 kB / 384.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.389e-05/0.01061, allocations: 23.61 kB / 384.4 MB, free: 12.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.01086, allocations: 26.73 kB / 384.4 MB, free: 12.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004612/0.01132, allocations: 190.3 kB / 384.6 MB, free: 11.88 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.237e-05/0.01137, allocations: 63.33 kB / 384.7 MB, free: 11.79 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.802e-05/0.01142, allocations: 8 kB / 384.7 MB, free: 11.79 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.74e-05/0.01146, allocations: 16.48 kB / 384.7 MB, free: 11.77 MB / 362.7 MB Notification: Performance of SimCode: time 1.363e-06/0.01146, allocations: 4 kB / 384.7 MB, free: 11.77 MB / 362.7 MB Notification: Performance of Templates: time 0.003609/0.01507, allocations: 1.256 MB / 385.9 MB, free: 10.52 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.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.11599019728601]