Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.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.001063/0.001063, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00159/0.002653, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001081/0.001081, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001405/0.002486, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 1.056/1.056, allocations: 177.5 MB / 190 MB, free: 4.82 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09152/1.148, allocations: 53.87 MB / 243.9 MB, free: 14.87 MB / 250.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.2894/0.2894, allocations: 34.89 MB / 279.5 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02891/0.3183, allocations: 13.24 MB / 292.8 MB, free: 6.406 MB / 282.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.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 294.2 MB, free: 5.023 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.312e-05/1.47e-05, allocations: 8.984 kB / 294.2 MB, free: 5.016 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002064/0.002078, allocations: 1.812 MB / 296 MB, free: 3.188 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.003458, allocations: 1.017 MB / 297 MB, free: 2.164 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.474e-05/0.003533, allocations: 7.938 kB / 297 MB, free: 2.156 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001873/0.00372, allocations: 35.7 kB / 297.1 MB, free: 2.121 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002282/0.003949, allocations: 99.41 kB / 297.2 MB, free: 2.023 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001817/0.00413, allocations: 79.56 kB / 297.2 MB, free: 1.945 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.004279, allocations: 107.6 kB / 297.3 MB, free: 1.84 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.452e-05/0.004353, allocations: 4 kB / 297.3 MB, free: 1.836 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.004468, allocations: 83.81 kB / 297.4 MB, free: 1.754 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.336e-05/0.004541, allocations: 27.91 kB / 297.5 MB, free: 1.727 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.004555, allocations: 4 kB / 297.5 MB, free: 1.723 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.686e-05/0.004642, allocations: 51.8 kB / 297.5 MB, free: 1.672 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.494e-05/0.004687, allocations: 19.92 kB / 297.5 MB, free: 1.652 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.806e-05/0.004715, allocations: 11.94 kB / 297.5 MB, free: 1.641 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001568/0.004872, allocations: 91.67 kB / 297.6 MB, free: 1.551 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.051e-05/0.004882, allocations: 0 / 297.6 MB, free: 1.551 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.004883, allocations: 0 / 297.6 MB, free: 1.551 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.004892, allocations: 0 / 297.6 MB, free: 1.551 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004023/0.005294, allocations: 329.1 kB / 298 MB, free: 1.207 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.005326, allocations: 12.92 kB / 298 MB, free: 1.195 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.138e-05/0.005358, allocations: 4.938 kB / 298 MB, free: 1.191 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.005516, allocations: 153.6 kB / 298.1 MB, free: 1.016 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.00553, allocations: 384 / 298.1 MB, free: 1.016 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.005552, allocations: 8.359 kB / 298.1 MB, free: 1.008 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.005652, allocations: 61.77 kB / 298.2 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.00566, allocations: 192 / 298.2 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.482e-06/0.005666, allocations: 4.312 kB / 298.2 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.005672, allocations: 3.938 kB / 298.2 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.391e-05/0.005696, allocations: 11.94 kB / 298.2 MB, free: 0.918 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002125/0.005909, allocations: 170 kB / 298.4 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.422e-05/0.005993, allocations: 81.3 kB / 298.5 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.937e-05/0.006012, allocations: 16.84 kB / 298.5 MB, free: 0.625 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.006023, allocations: 0 / 298.5 MB, free: 0.625 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.114e-05/0.006114, allocations: 70.14 kB / 298.5 MB, free: 0.543 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 8.61e-07/0.006115, allocations: 0 / 298.5 MB, free: 0.543 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002996/0.006414, allocations: 121.4 kB / 298.7 MB, free: 428 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.006447, allocations: 51.41 kB / 298.7 MB, free: 364 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.00656, allocations: 168.3 kB / 298.9 MB, free: 180 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.006586, allocations: 25.7 kB / 298.9 MB, free: 148 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.707e-05/0.006623, allocations: 88.12 kB / 299 MB, free: 56 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.345e-05/0.006657, allocations: 27.83 kB / 299 MB, free: 28 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.135e-05/0.006688, allocations: 21.72 kB / 299 MB, free: 0 / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.006802, allocations: 322.8 kB / 299.3 MB, free: 15.68 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.974e-05/0.006822, allocations: 14.81 kB / 299.4 MB, free: 15.66 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.487e-05/0.006847, allocations: 21.72 kB / 299.4 MB, free: 15.63 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.821e-05/0.006895, allocations: 44.44 kB / 299.4 MB, free: 15.58 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.006896, allocations: 0 / 299.4 MB, free: 15.58 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.616e-05/0.006972, allocations: 68.58 kB / 299.5 MB, free: 15.51 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.006988, allocations: 11.92 kB / 299.5 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.006993, allocations: 4 kB / 299.5 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.007007, allocations: 0 / 299.5 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.823e-05/0.007075, allocations: 23.94 kB / 299.5 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.007079, allocations: 0 / 299.5 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.88e-05/0.007108, allocations: 4.359 kB / 299.5 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.007115, allocations: 4 kB / 299.5 MB, free: 15.46 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 6.565e-05/0.00718, allocations: 120.6 kB / 299.7 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.356e-05/0.007194, allocations: 19.94 kB / 299.7 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.007296, allocations: 79.61 kB / 299.8 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.007299, allocations: 4 kB / 299.8 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.007301, allocations: 0 / 299.8 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.007303, allocations: 0 / 299.8 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000229/0.007532, allocations: 287.4 kB / 300 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.007535, allocations: 7.875 kB / 300 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.756e-05/0.007563, allocations: 15.98 kB / 300.1 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.089e-05/0.007574, allocations: 7.953 kB / 300.1 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.007576, allocations: 0 / 300.1 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.007582, allocations: 8.031 kB / 300.1 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.007585, allocations: 4 kB / 300.1 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.007586, allocations: 0 / 300.1 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001066/0.007693, allocations: 215 kB / 300.3 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.007708, allocations: 0 / 300.3 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.972e-05/0.007748, allocations: 8 kB / 300.3 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.445e-05/0.007772, allocations: 7.984 kB / 300.3 MB, free: 14.63 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.007782, allocations: 0 / 300.3 MB, free: 14.63 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4e-05/0.007822, allocations: 52.89 kB / 300.4 MB, free: 14.57 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007822, allocations: 0 / 300.4 MB, free: 14.57 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001454/0.007967, allocations: 20 kB / 300.4 MB, free: 14.55 MB / 298.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001476/0.009443, allocations: 0.6152 MB / 301 MB, free: 14.27 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001221/0.009565, allocations: 48.78 kB / 301 MB, free: 14.22 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/0.009574, allocations: 0 / 301 MB, free: 14.22 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.414e-05/0.009618, allocations: 33 kB / 301.1 MB, free: 14.19 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.009853, allocations: 187.8 kB / 301.3 MB, free: 13.98 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004607/0.01031, allocations: 224.2 kB / 301.5 MB, free: 13.72 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.919e-05/0.01035, allocations: 63.34 kB / 301.5 MB, free: 13.64 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.712e-05/0.01039, allocations: 17.16 kB / 301.6 MB, free: 13.62 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.953e-05/0.01046, allocations: 67.38 kB / 301.6 MB, free: 13.56 MB / 298.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01046, allocations: 0 / 301.6 MB, free: 13.56 MB / 298.7 MB Notification: Performance of Templates: time 0.003428/0.01389, allocations: 2.052 MB / 303.7 MB, free: 11.54 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8885970739647746]