Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009739/0.0009739, allocations: 83.67 kB / 21.7 MB, free: 2.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001151/0.001151, allocations: 163 kB / 24.99 MB, free: 9.273 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9501/0.9501, allocations: 177 MB / 205.2 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2452/0.2452, allocations: 34.86 MB / 296.6 MB, free: 0.5547 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 378.8 MB, free: 2.406 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.927e-05/2.064e-05, allocations: 6.953 kB / 378.8 MB, free: 2.398 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.00187/0.00189, allocations: 1.633 MB / 380.4 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.002966, allocations: 1.289 MB / 381.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.282e-05/0.003019, allocations: 0 / 381.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001877/0.003207, allocations: 19.8 kB / 381.7 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002366/0.003443, allocations: 87.55 kB / 381.8 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001969/0.00364, allocations: 119.6 kB / 381.9 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000121/0.003761, allocations: 71.81 kB / 382 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.433e-05/0.003845, allocations: 11.8 kB / 382 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.497e-05/0.0039, allocations: 35.91 kB / 382 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.366e-05/0.003984, allocations: 27.91 kB / 382.1 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.003998, allocations: 4 kB / 382.1 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/0.004111, allocations: 95.75 kB / 382.2 MB, free: 15 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.753e-05/0.004149, allocations: 8 kB / 382.2 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.66e-05/0.004176, allocations: 15.92 kB / 382.2 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001841/0.00436, allocations: 131.6 kB / 382.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.004362, allocations: 7.875 kB / 382.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.004363, allocations: 4 kB / 382.3 MB, free: 14.83 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.004367, allocations: 0 / 382.3 MB, free: 14.83 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.0003809/0.004747, allocations: 424 kB / 382.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.004779, allocations: 12.02 kB / 382.7 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.077e-05/0.00482, allocations: 8.891 kB / 382.8 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.004959, allocations: 136.5 kB / 382.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.155e-06/0.004967, allocations: 384 / 382.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.004985, allocations: 4.375 kB / 382.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.00511, allocations: 112 kB / 383 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.005119, allocations: 192 / 383 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.005127, allocations: 4.375 kB / 383 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.005134, allocations: 384 / 383 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.705e-05/0.005161, allocations: 7.938 kB / 383 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002688/0.00543, allocations: 279.8 kB / 383.3 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.00557, allocations: 46.98 kB / 383.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.126e-05/0.005592, allocations: 19.7 kB / 383.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.005607, allocations: 0 / 383.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.005627, allocations: 37.39 kB / 383.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 6.71e-07/0.005628, allocations: 0 / 383.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003073/0.005935, allocations: 113.3 kB / 383.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.005969, allocations: 77.11 kB / 383.6 MB, free: 13.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.006087, allocations: 201.9 kB / 383.8 MB, free: 13.19 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.006097, allocations: 25.7 kB / 383.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.62e-05/0.006143, allocations: 142.9 kB / 383.9 MB, free: 13.01 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.843e-05/0.006162, allocations: 15.84 kB / 384 MB, free: 13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.841e-05/0.00619, allocations: 23.38 kB / 384 MB, free: 12.96 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.006296, allocations: 0.4923 MB / 384.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.595e-05/0.006312, allocations: 4 kB / 384.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.989e-05/0.006352, allocations: 53.08 kB / 384.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.602e-05/0.006388, allocations: 27.61 kB / 384.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.006388, allocations: 4.031 kB / 384.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.166e-05/0.00646, allocations: 53.64 kB / 384.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.006473, allocations: 11.98 kB / 384.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.006477, allocations: 0 / 384.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.006488, allocations: 0 / 384.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.779e-05/0.006526, allocations: 8 kB / 384.6 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.00653, allocations: 256 / 384.6 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.378e-05/0.006554, allocations: 11.95 kB / 384.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-06/0.00656, allocations: 7.984 kB / 384.6 MB, free: 12.26 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.866e-05/0.006619, allocations: 156.6 kB / 384.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.193e-05/0.006641, allocations: 15.89 kB / 384.8 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/0.006743, allocations: 74.02 kB / 384.9 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.006746, allocations: 4 kB / 384.9 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.006749, allocations: 0 / 384.9 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.006752, allocations: 0 / 384.9 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002214/0.006973, allocations: 321.3 kB / 385.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.006974, allocations: 0 / 385.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.697e-05/0.007001, allocations: 12 kB / 385.2 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.007002, allocations: 0 / 385.2 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.007009, allocations: 0 / 385.2 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.00701, allocations: 7.938 kB / 385.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.007013, allocations: 3.984 kB / 385.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.748e-05/0.00711, allocations: 207.8 kB / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.354e-06/0.007118, allocations: 7.953 kB / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.007129, allocations: 0 / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.608e-05/0.007165, allocations: 8 kB / 385.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.654e-05/0.007192, allocations: 3.984 kB / 385.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.007195, allocations: 4 kB / 385.5 MB, free: 11.37 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.52e-05/0.00726, allocations: 149.8 kB / 385.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.00726, allocations: 0 / 385.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001845/0.007445, allocations: 39.86 kB / 385.6 MB, free: 11.19 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.0009487/0.008393, allocations: 482 kB / 386.1 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.272e-05/0.008486, allocations: 31.67 kB / 386.1 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.008488, allocations: 0 / 386.1 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.27e-05/0.00851, allocations: 23.62 kB / 386.2 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001979/0.008708, allocations: 27.86 kB / 386.2 MB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002822/0.008991, allocations: 169.9 kB / 386.4 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.638e-05/0.009027, allocations: 67.28 kB / 386.4 MB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.944e-05/0.009066, allocations: 11.98 kB / 386.4 MB, free: 10.47 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.09e-05/0.009097, allocations: 24.48 kB / 386.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.009098, allocations: 0 / 386.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of Templates: time 0.003244/0.01234, allocations: 1.838 MB / 388.3 MB, free: 8.621 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.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.087447263998911]