Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.001192/0.001192, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001615/0.001615, allocations: 167.1 kB / 24.82 MB, free: 9.262 MB / 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.9723/0.9723, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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.2291/0.2291, allocations: 32.81 MB / 294.6 MB, free: 1.168 MB / 266.7 MB " [Timeout remaining time 180] 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.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 376.5 MB, free: 4.367 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.972e-05/2.125e-05, allocations: 2.312 kB / 376.5 MB, free: 4.363 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.008561/0.008582, allocations: 1.626 MB / 378.1 MB, free: 2.723 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008368/0.009419, allocations: 0.5219 MB / 378.6 MB, free: 2.195 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.419e-05/0.009483, allocations: 0 / 378.6 MB, free: 2.195 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000194/0.009677, allocations: 31.72 kB / 378.7 MB, free: 2.164 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002914/0.009968, allocations: 79.62 kB / 378.8 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002738/0.01024, allocations: 95.62 kB / 378.8 MB, free: 1.992 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.01038, allocations: 67.77 kB / 378.9 MB, free: 1.926 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.242e-05/0.01047, allocations: 4 kB / 378.9 MB, free: 1.922 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.325e-05/0.01054, allocations: 31.86 kB / 378.9 MB, free: 1.891 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.372e-05/0.01059, allocations: 23.91 kB / 379 MB, free: 1.867 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.0106, allocations: 0 / 379 MB, free: 1.867 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.155e-05/0.01067, allocations: 31.92 kB / 379 MB, free: 1.836 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.733e-05/0.01071, allocations: 19.92 kB / 379 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.136e-05/0.01073, allocations: 11.98 kB / 379 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001203/0.01085, allocations: 67.75 kB / 379.1 MB, free: 1.738 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.01086, allocations: 0 / 379.1 MB, free: 1.738 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.01086, allocations: 0 / 379.1 MB, free: 1.738 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.106e-06/0.01086, allocations: 0 / 379.1 MB, free: 1.738 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.0003128/0.01117, allocations: 416.1 kB / 379.5 MB, free: 1.297 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.01121, allocations: 8.031 kB / 379.5 MB, free: 1.289 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.81e-05/0.01123, allocations: 8.891 kB / 379.5 MB, free: 1.281 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.01134, allocations: 140.4 kB / 379.7 MB, free: 1.117 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.332e-06/0.01135, allocations: 384 / 379.7 MB, free: 1.117 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.01136, allocations: 4.375 kB / 379.7 MB, free: 1.113 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.995e-05/0.01145, allocations: 54.95 kB / 379.7 MB, free: 1.051 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.01146, allocations: 4.188 kB / 379.7 MB, free: 1.047 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.01147, allocations: 4.125 kB / 379.7 MB, free: 1.043 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.01147, allocations: 0 / 379.7 MB, free: 1.043 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.907e-05/0.01149, allocations: 7.984 kB / 379.7 MB, free: 1.035 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001973/0.01169, allocations: 248.4 kB / 380 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.0118, allocations: 39.05 kB / 380 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.39e-05/0.01181, allocations: 15.67 kB / 380 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.01183, allocations: 4 kB / 380 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.01185, allocations: 41.33 kB / 380.1 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 8.81e-07/0.01185, allocations: 4 kB / 380.1 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002342/0.01208, allocations: 93.58 kB / 380.2 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.259e-05/0.01211, allocations: 55.34 kB / 380.2 MB, free: 484 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.44e-05/0.01219, allocations: 192.3 kB / 380.4 MB, free: 276 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.0122, allocations: 33.7 kB / 380.4 MB, free: 236 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.269e-05/0.01224, allocations: 142.8 kB / 380.6 MB, free: 88 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.631e-05/0.01226, allocations: 15.8 kB / 380.6 MB, free: 72 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.58e-05/0.01229, allocations: 23.38 kB / 380.6 MB, free: 40 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.0124, allocations: 0.4923 MB / 381.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.302e-05/0.01241, allocations: 4 kB / 381.1 MB, free: 15.53 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.112e-05/0.01243, allocations: 11.98 kB / 381.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.932e-05/0.01245, allocations: 27.61 kB / 381.2 MB, free: 15.49 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.01246, allocations: 0 / 381.2 MB, free: 15.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.999e-05/0.01252, allocations: 57.58 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.516e-06/0.01252, allocations: 11.94 kB / 381.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.01253, allocations: 0 / 381.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.01254, allocations: 0 / 381.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.095e-05/0.01258, allocations: 8 kB / 381.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.01258, allocations: 3.984 kB / 381.2 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.664e-05/0.0126, allocations: 4 kB / 381.2 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-06/0.0126, allocations: 0 / 381.2 MB, free: 15.4 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 5.459e-05/0.01266, allocations: 164.6 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.647e-05/0.01267, allocations: 11.89 kB / 381.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.734e-05/0.01276, allocations: 62.14 kB / 381.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.01276, allocations: 0 / 381.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.01276, allocations: 0 / 381.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.01277, allocations: 7.938 kB / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/0.01296, allocations: 294.3 kB / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.01296, allocations: 0 / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.921e-05/0.01299, allocations: 11.98 kB / 381.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.01299, allocations: 4 kB / 381.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.747e-06/0.01299, allocations: 4 kB / 381.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.041e-06/0.01299, allocations: 0 / 381.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.01299, allocations: 0 / 381.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.446e-05/0.01308, allocations: 211.8 kB / 382 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.326e-06/0.01309, allocations: 11.95 kB / 382 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.857e-06/0.0131, allocations: 0 / 382 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.899e-05/0.01313, allocations: 0 / 382 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.086e-05/0.01315, allocations: 7.984 kB / 382 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-06/0.01315, allocations: 0 / 382 MB, free: 14.55 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.489e-05/0.01319, allocations: 145.2 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01319, allocations: 0 / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001519/0.01335, allocations: 23.92 kB / 382.2 MB, free: 14.39 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.0007092/0.01405, allocations: 388.6 kB / 382.6 MB, free: 14.15 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.387e-05/0.01412, allocations: 27.62 kB / 382.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01412, allocations: 0 / 382.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.755e-05/0.01414, allocations: 19.67 kB / 382.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001885/0.01433, allocations: 31.86 kB / 382.6 MB, free: 14.06 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000239/0.01457, allocations: 174.6 kB / 382.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.979e-05/0.01459, allocations: 59.34 kB / 382.9 MB, free: 13.78 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.446e-05/0.01462, allocations: 4 kB / 382.9 MB, free: 13.78 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.751e-05/0.01467, allocations: 86.19 kB / 383 MB, free: 13.69 MB / 362.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01467, allocations: 0 / 383 MB, free: 13.69 MB / 362.7 MB Notification: Performance of Templates: time 0.0026/0.01727, allocations: 1.276 MB / 384.2 MB, free: 12.43 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.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: 2.819289659149945]