Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001499/0.001499, allocations: 85.44 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001613/0.001613, allocations: 163.6 kB / 23.96 MB, free: 4.164 MB / 14.72 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.418/1.418, allocations: 177.1 MB / 204.3 MB, free: 9.211 MB / 190.1 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.1952/0.1952, allocations: 32.8 MB / 293.5 MB, free: 68 kB / 270.1 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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 440.1 MB, free: 8.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.497e-05, allocations: 6.219 kB / 440.1 MB, free: 8.148 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.002787/0.002812, allocations: 1.605 MB / 441.7 MB, free: 6.539 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.003872, allocations: 0.522 MB / 442.2 MB, free: 6.012 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.381e-05/0.003926, allocations: 3.938 kB / 442.3 MB, free: 6.008 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002651/0.004191, allocations: 79.64 kB / 442.3 MB, free: 5.93 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002957/0.004487, allocations: 107.5 kB / 442.4 MB, free: 5.824 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002557/0.004742, allocations: 91.69 kB / 442.5 MB, free: 5.734 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001685/0.004911, allocations: 83.75 kB / 442.6 MB, free: 5.652 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.38e-05/0.005005, allocations: 15.98 kB / 442.6 MB, free: 5.637 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.429e-05/0.005089, allocations: 43.89 kB / 442.7 MB, free: 5.594 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.005204, allocations: 51.88 kB / 442.7 MB, free: 5.543 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.005222, allocations: 4 kB / 442.7 MB, free: 5.539 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.945e-05/0.005322, allocations: 47.91 kB / 442.8 MB, free: 5.492 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.678e-05/0.005378, allocations: 23.92 kB / 442.8 MB, free: 5.469 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.918e-05/0.005417, allocations: 11.88 kB / 442.8 MB, free: 5.457 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001984/0.005616, allocations: 111.6 kB / 442.9 MB, free: 5.348 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.117e-06/0.005625, allocations: 8 kB / 442.9 MB, free: 5.34 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.11e-07/0.005626, allocations: 0 / 442.9 MB, free: 5.34 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.00563, allocations: 0 / 442.9 MB, free: 5.34 MB / 366.1 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.0004962/0.006126, allocations: 333.6 kB / 443.2 MB, free: 4.984 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.006159, allocations: 8.031 kB / 443.3 MB, free: 4.977 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.257e-05/0.006201, allocations: 12.84 kB / 443.3 MB, free: 4.965 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/0.006392, allocations: 146.3 kB / 443.4 MB, free: 4.793 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.006403, allocations: 8.312 kB / 443.4 MB, free: 4.785 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.006424, allocations: 8.312 kB / 443.4 MB, free: 4.777 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.00657, allocations: 58.22 kB / 443.5 MB, free: 4.715 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.006581, allocations: 4.188 kB / 443.5 MB, free: 4.711 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.006593, allocations: 12.05 kB / 443.5 MB, free: 4.699 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-06/0.006597, allocations: 0 / 443.5 MB, free: 4.699 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.006698, allocations: 27.97 kB / 443.5 MB, free: 4.672 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000335/0.007033, allocations: 232.5 kB / 443.7 MB, free: 4.414 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.007145, allocations: 42.5 kB / 443.8 MB, free: 4.363 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.47e-05/0.0072, allocations: 24.88 kB / 443.8 MB, free: 4.336 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.007221, allocations: 0 / 443.8 MB, free: 4.336 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.007254, allocations: 34.56 kB / 443.8 MB, free: 4.293 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.007255, allocations: 4 kB / 443.9 MB, free: 4.289 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008963/0.008151, allocations: 221.2 kB / 444.1 MB, free: 4.066 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.252e-05/0.008203, allocations: 55.39 kB / 444.1 MB, free: 4 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002275/0.008431, allocations: 210.3 kB / 444.3 MB, free: 3.785 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.008455, allocations: 33.7 kB / 444.4 MB, free: 3.746 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.569e-05/0.008541, allocations: 108.1 kB / 444.5 MB, free: 3.637 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/0.008571, allocations: 23.8 kB / 444.5 MB, free: 3.613 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.342e-05/0.008614, allocations: 21.7 kB / 444.5 MB, free: 3.586 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.008777, allocations: 326.8 kB / 444.8 MB, free: 3.258 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.221e-05/0.00886, allocations: 27.98 kB / 444.9 MB, free: 3.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.016e-05/0.00893, allocations: 24.05 kB / 444.9 MB, free: 3.207 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/0.009097, allocations: 64.77 kB / 444.9 MB, free: 3.141 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.009098, allocations: 4 kB / 444.9 MB, free: 3.137 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002189/0.009317, allocations: 105.6 kB / 445.1 MB, free: 3.027 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.009331, allocations: 4 kB / 445.1 MB, free: 3.023 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.009336, allocations: 0 / 445.1 MB, free: 3.023 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.009357, allocations: 4 kB / 445.1 MB, free: 3.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.009466, allocations: 15.98 kB / 445.1 MB, free: 3.004 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.009471, allocations: 0 / 445.1 MB, free: 3.004 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.465e-05/0.009515, allocations: 4 kB / 445.1 MB, free: 3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.009527, allocations: 7.938 kB / 445.1 MB, free: 2.992 MB / 366.1 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 0.0001441/0.009671, allocations: 138.4 kB / 445.2 MB, free: 2.848 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.152e-05/0.009713, allocations: 15.91 kB / 445.2 MB, free: 2.832 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003058/0.01002, allocations: 115.4 kB / 445.3 MB, free: 2.707 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.01002, allocations: 0 / 445.3 MB, free: 2.707 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.01003, allocations: 4 kB / 445.4 MB, free: 2.703 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.01003, allocations: 0 / 445.4 MB, free: 2.703 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005157/0.01055, allocations: 346.9 kB / 445.7 MB, free: 2.324 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.01055, allocations: 4.031 kB / 445.7 MB, free: 2.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.089e-05/0.01062, allocations: 15.98 kB / 445.7 MB, free: 2.305 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.01062, allocations: 7.938 kB / 445.7 MB, free: 2.297 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.01063, allocations: 3.938 kB / 445.7 MB, free: 2.293 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.01063, allocations: 0 / 445.7 MB, free: 2.293 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.01064, allocations: 4 kB / 445.7 MB, free: 2.289 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002894/0.01092, allocations: 208.2 kB / 445.9 MB, free: 2.066 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.476e-05/0.01094, allocations: 8.375 kB / 445.9 MB, free: 2.059 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.01096, allocations: 8 kB / 445.9 MB, free: 2.051 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.762e-05/0.01104, allocations: 7.984 kB / 446 MB, free: 2.043 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.646e-05/0.01107, allocations: 11.92 kB / 446 MB, free: 2.031 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.01108, allocations: 0 / 446 MB, free: 2.031 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001651/0.01124, allocations: 164.2 kB / 446.1 MB, free: 1.871 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01124, allocations: 0 / 446.1 MB, free: 1.871 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002566/0.0115, allocations: 27.88 kB / 446.2 MB, free: 1.844 MB / 366.1 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.001831/0.01333, allocations: 485.3 kB / 446.6 MB, free: 1.578 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002358/0.01357, allocations: 63.94 kB / 446.7 MB, free: 1.516 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.01357, allocations: 0 / 446.7 MB, free: 1.516 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.799e-05/0.01366, allocations: 31.92 kB / 446.7 MB, free: 1.484 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.01395, allocations: 27.09 kB / 446.7 MB, free: 1.461 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004938/0.01445, allocations: 266 kB / 447 MB, free: 1.172 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.984e-05/0.01455, allocations: 88.81 kB / 447.1 MB, free: 1.066 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.989e-05/0.01459, allocations: 9.031 kB / 447.1 MB, free: 1.059 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.277e-05/0.01463, allocations: 24.48 kB / 447.1 MB, free: 1.035 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.01463, allocations: 0 / 447.1 MB, free: 1.035 MB / 366.1 MB Notification: Performance of Templates: time 0.1738/0.1884, allocations: 1.351 MB / 448.5 MB, free: 21.4 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.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: 4.533715423196554]