Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.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.0009438/0.0009438, allocations: 79.69 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.0009681/0.0009681, allocations: 161 kB / 24.99 MB, free: 8.797 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.9418/0.9418, allocations: 177 MB / 205.2 MB, free: 5.598 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.3155/0.3155, allocations: 34.87 MB / 296.6 MB, free: 0.5586 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.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.113e-06/2.113e-06, allocations: 0 / 378.8 MB, free: 2.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.006e-05/2.217e-05, allocations: 2.312 kB / 378.8 MB, free: 2.336 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003395/0.003417, allocations: 1.762 MB / 380.6 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001991/0.005408, allocations: 1.015 MB / 381.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001234/0.005531, allocations: 3.938 kB / 381.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004142/0.005946, allocations: 35.72 kB / 381.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004275/0.006373, allocations: 95.53 kB / 381.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002832/0.006656, allocations: 87.59 kB / 381.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.006876, allocations: 111.6 kB / 381.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.006985, allocations: 11.98 kB / 381.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.007101, allocations: 47.91 kB / 382 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.328e-05/0.007194, allocations: 35.83 kB / 382 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.007214, allocations: 4 kB / 382 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.007325, allocations: 43.92 kB / 382.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.279e-05/0.007388, allocations: 15.92 kB / 382.1 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.552e-05/0.007433, allocations: 15.94 kB / 382.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002325/0.007666, allocations: 107.6 kB / 382.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.00767, allocations: 4 kB / 382.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.007671, allocations: 0 / 382.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.007676, allocations: 3.938 kB / 382.2 MB, free: 14.93 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005815/0.008258, allocations: 447.9 kB / 382.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.0083, allocations: 8.031 kB / 382.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.365e-05/0.008363, allocations: 16.84 kB / 382.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002322/0.008595, allocations: 153.1 kB / 382.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.008618, allocations: 4.312 kB / 382.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.008641, allocations: 4.375 kB / 382.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.008792, allocations: 62.92 kB / 382.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.008803, allocations: 8.188 kB / 382.9 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.008814, allocations: 4.375 kB / 382.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.008825, allocations: 3.938 kB / 382.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.063e-05/0.008866, allocations: 8 kB / 382.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004022/0.009268, allocations: 287.8 kB / 383.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001458/0.009414, allocations: 59.11 kB / 383.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.553e-05/0.009459, allocations: 19.66 kB / 383.3 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.009472, allocations: 4 kB / 383.3 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001444/0.009617, allocations: 68.98 kB / 383.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.505e-06/0.009619, allocations: 4 kB / 383.4 MB, free: 13.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005621/0.01018, allocations: 149.4 kB / 383.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.01023, allocations: 55.41 kB / 383.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002132/0.01044, allocations: 234.3 kB / 383.8 MB, free: 13.19 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.01046, allocations: 33.7 kB / 383.8 MB, free: 13.15 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.033e-05/0.01054, allocations: 146.9 kB / 384 MB, free: 13 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.425e-05/0.01059, allocations: 27.78 kB / 384 MB, free: 12.97 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-05/0.01064, allocations: 35.31 kB / 384 MB, free: 12.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.01079, allocations: 0.4961 MB / 384.5 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.152e-05/0.01083, allocations: 15.98 kB / 384.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.014e-05/0.01088, allocations: 31.38 kB / 384.6 MB, free: 12.37 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.53e-05/0.01097, allocations: 51.36 kB / 384.6 MB, free: 12.31 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.01097, allocations: 0 / 384.6 MB, free: 12.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001739/0.01114, allocations: 97.45 kB / 384.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.01116, allocations: 4 kB / 384.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.01117, allocations: 4 kB / 384.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.01118, allocations: 0 / 384.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.917e-05/0.01128, allocations: 15.98 kB / 384.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.01129, allocations: 3.938 kB / 384.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.587e-05/0.01133, allocations: 12.03 kB / 384.8 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.01134, allocations: 4 kB / 384.8 MB, free: 12.16 MB / 362.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 0.000102/0.01144, allocations: 160.6 kB / 384.9 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.998e-05/0.01147, allocations: 15.89 kB / 384.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002111/0.01168, allocations: 103.1 kB / 385 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.01169, allocations: 0 / 385 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.01169, allocations: 3.984 kB / 385 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.0117, allocations: 0 / 385 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004113/0.01211, allocations: 393.3 kB / 385.4 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.01211, allocations: 8.031 kB / 385.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.589e-05/0.01215, allocations: 12 kB / 385.4 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.01216, allocations: 0 / 385.4 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.01217, allocations: 7.984 kB / 385.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.01218, allocations: 0 / 385.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.01218, allocations: 0 / 385.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002264/0.0124, allocations: 259.4 kB / 385.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.869e-05/0.01242, allocations: 11.91 kB / 385.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.01245, allocations: 0 / 385.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.053e-05/0.01253, allocations: 8 kB / 385.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.164e-05/0.01257, allocations: 11.98 kB / 385.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.01258, allocations: 4 kB / 385.7 MB, free: 11.1 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000115/0.0127, allocations: 171.1 kB / 385.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.0127, allocations: 0 / 385.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003105/0.01301, allocations: 27.94 kB / 385.9 MB, free: 10.91 MB / 362.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.001376/0.01439, allocations: 432.4 kB / 386.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001844/0.01457, allocations: 59.53 kB / 386.4 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.01457, allocations: 0 / 386.4 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.562e-05/0.01465, allocations: 35.73 kB / 386.4 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004298/0.01508, allocations: 27.98 kB / 386.5 MB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005334/0.01561, allocations: 217.9 kB / 386.7 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.67e-05/0.01567, allocations: 67.33 kB / 386.7 MB, free: 10.15 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.825e-05/0.01573, allocations: 21.27 kB / 386.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.62e-05/0.01577, allocations: 20.5 kB / 386.8 MB, free: 10.11 MB / 362.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01577, allocations: 0 / 386.8 MB, free: 10.11 MB / 362.7 MB Notification: Performance of Templates: time 0.005339/0.02111, allocations: 1.865 MB / 388.7 MB, free: 8.273 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.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.123209402896464]