Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.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.0009151/0.0009151, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.001826/0.001826, allocations: 165.1 kB / 25.61 MB, free: 8.887 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.9953/0.9953, allocations: 177.2 MB / 206.1 MB, free: 4.469 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.1447/0.1447, allocations: 34.26 MB / 296.9 MB, free: 13.91 MB / 282.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.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.099e-05/1.219e-05, allocations: 3.734 kB / 379.3 MB, free: 23.38 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.001744/0.001756, allocations: 1.645 MB / 381 MB, free: 21.73 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006267/0.002383, allocations: 0.5336 MB / 381.5 MB, free: 21.19 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.01e-05/0.002443, allocations: 0 / 381.5 MB, free: 21.19 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000212/0.002655, allocations: 75.7 kB / 381.6 MB, free: 21.11 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002534/0.002908, allocations: 107.5 kB / 381.7 MB, free: 21.01 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001918/0.0031, allocations: 95.62 kB / 381.8 MB, free: 20.91 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.003219, allocations: 83.75 kB / 381.8 MB, free: 20.83 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.781e-05/0.003297, allocations: 11.98 kB / 381.9 MB, free: 20.82 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.148e-05/0.003369, allocations: 47.83 kB / 381.9 MB, free: 20.77 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.003471, allocations: 55.88 kB / 382 MB, free: 20.72 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.003485, allocations: 7.984 kB / 382 MB, free: 20.71 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.453e-05/0.003549, allocations: 47.92 kB / 382 MB, free: 20.66 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.645e-05/0.003586, allocations: 19.92 kB / 382 MB, free: 20.64 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.068e-05/0.003607, allocations: 11.94 kB / 382 MB, free: 20.63 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.003723, allocations: 91.59 kB / 382.1 MB, free: 20.54 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.003725, allocations: 4 kB / 382.1 MB, free: 20.54 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.1e-07/0.003725, allocations: 0 / 382.1 MB, free: 20.54 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.003729, allocations: 0 / 382.1 MB, free: 20.54 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002568/0.003986, allocations: 443.8 kB / 382.6 MB, free: 20.07 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.596e-05/0.004012, allocations: 8.031 kB / 382.6 MB, free: 20.06 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.084e-05/0.004043, allocations: 20.84 kB / 382.6 MB, free: 20.04 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.615e-05/0.004139, allocations: 145.1 kB / 382.7 MB, free: 19.87 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.505e-06/0.004147, allocations: 384 / 382.7 MB, free: 19.87 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.004161, allocations: 8.375 kB / 382.7 MB, free: 19.86 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.975e-05/0.004231, allocations: 50.95 kB / 382.8 MB, free: 19.8 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.004239, allocations: 192 / 382.8 MB, free: 19.8 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-06/0.004245, allocations: 8.125 kB / 382.8 MB, free: 19.8 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.00425, allocations: 0 / 382.8 MB, free: 19.8 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.065e-05/0.00427, allocations: 19.91 kB / 382.8 MB, free: 19.78 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001733/0.004444, allocations: 260.4 kB / 383.1 MB, free: 19.5 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.403e-05/0.004488, allocations: 55.02 kB / 383.1 MB, free: 19.43 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.255e-05/0.0045, allocations: 11.69 kB / 383.1 MB, free: 19.41 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.004512, allocations: 0 / 383.1 MB, free: 19.41 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.298e-05/0.004525, allocations: 45.27 kB / 383.2 MB, free: 19.36 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 7.12e-07/0.004526, allocations: 3.938 kB / 383.2 MB, free: 19.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003599/0.004886, allocations: 145.5 kB / 383.3 MB, free: 19.21 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.69e-05/0.004903, allocations: 55.39 kB / 383.4 MB, free: 19.14 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.531e-05/0.004978, allocations: 234.8 kB / 383.6 MB, free: 18.89 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.36e-06/0.004983, allocations: 29.7 kB / 383.6 MB, free: 18.86 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.005e-05/0.005014, allocations: 162.8 kB / 383.8 MB, free: 18.7 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.796e-05/0.005031, allocations: 27.73 kB / 383.8 MB, free: 18.67 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.45e-05/0.005056, allocations: 31.36 kB / 383.9 MB, free: 18.63 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.727e-05/0.005093, allocations: 0.4923 MB / 384.4 MB, free: 18.12 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.213e-05/0.005105, allocations: 4 kB / 384.4 MB, free: 18.12 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.207e-05/0.005117, allocations: 11.98 kB / 384.4 MB, free: 18.11 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.113e-05/0.005149, allocations: 35.61 kB / 384.4 MB, free: 18.07 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.00515, allocations: 3.938 kB / 384.4 MB, free: 18.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.895e-05/0.005239, allocations: 65.64 kB / 384.5 MB, free: 18 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.005251, allocations: 10.19 kB / 384.5 MB, free: 17.99 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.005255, allocations: 4 kB / 384.5 MB, free: 17.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.636e-06/0.005263, allocations: 0 / 384.5 MB, free: 17.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.486e-05/0.005358, allocations: 15.98 kB / 384.5 MB, free: 17.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-06/0.005361, allocations: 0 / 384.5 MB, free: 17.97 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.302e-05/0.005394, allocations: 4 kB / 384.5 MB, free: 17.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.005402, allocations: 3.984 kB / 384.5 MB, free: 17.96 MB / 314.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 (8): * Single equations (assignments): 8 * 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.179e-05/0.005453, allocations: 168.5 kB / 384.7 MB, free: 17.79 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.746e-05/0.005491, allocations: 19.91 kB / 384.7 MB, free: 17.77 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001312/0.005622, allocations: 83.42 kB / 384.8 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.005625, allocations: 8 kB / 384.8 MB, free: 17.67 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-06/0.005627, allocations: 0 / 384.8 MB, free: 17.67 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.00563, allocations: 0 / 384.8 MB, free: 17.67 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000222/0.005851, allocations: 345.6 kB / 385.1 MB, free: 17.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.005853, allocations: 0 / 385.1 MB, free: 17.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.104e-05/0.005894, allocations: 23.92 kB / 385.1 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.005897, allocations: 0 / 385.1 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-06/0.005902, allocations: 3.938 kB / 385.1 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.005904, allocations: 4 kB / 385.2 MB, free: 17.26 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.005905, allocations: 0 / 385.2 MB, free: 17.26 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.487e-05/0.00598, allocations: 231.5 kB / 385.4 MB, free: 17.01 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.346e-06/0.005988, allocations: 11.91 kB / 385.4 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.107e-05/0.005999, allocations: 7.984 kB / 385.4 MB, free: 16.99 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.444e-05/0.006033, allocations: 0 / 385.4 MB, free: 16.99 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.251e-05/0.006056, allocations: 7.984 kB / 385.4 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-06/0.006061, allocations: 8 kB / 385.4 MB, free: 16.98 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.942e-05/0.0061, allocations: 163.1 kB / 385.6 MB, free: 16.82 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0061, allocations: 0 / 385.6 MB, free: 16.82 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002367/0.006337, allocations: 23.94 kB / 385.6 MB, free: 16.79 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0008882/0.007225, allocations: 435.1 kB / 386 MB, free: 16.52 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.812e-05/0.007303, allocations: 43.64 kB / 386.1 MB, free: 16.48 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.007305, allocations: 0 / 386.1 MB, free: 16.48 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.017e-05/0.007325, allocations: 23.62 kB / 386.1 MB, free: 16.45 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001976/0.007523, allocations: 27.3 kB / 386.1 MB, free: 16.43 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002406/0.007763, allocations: 224.1 kB / 386.3 MB, free: 16.18 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.583e-05/0.007789, allocations: 75.19 kB / 386.4 MB, free: 16.09 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.307e-05/0.007832, allocations: 24.7 kB / 386.4 MB, free: 16.06 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.629e-05/0.007888, allocations: 78.2 kB / 386.5 MB, free: 15.98 MB / 314.7 MB Notification: Performance of SimCode: time 8.21e-07/0.007889, allocations: 0 / 386.5 MB, free: 15.98 MB / 314.7 MB Notification: Performance of Templates: time 0.002792/0.01068, allocations: 1.524 MB / 388 MB, free: 14.48 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.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.02054226398468]