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.0008758/0.0008758, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.0009252/0.0009252, allocations: 156.4 kB / 24.98 MB, free: 8.75 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.9842/0.9842, 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.2551/0.2551, allocations: 34.85 MB / 296.6 MB, free: 0.5625 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.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.383e-06/1.383e-06, allocations: 0 / 378.8 MB, free: 2.316 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.986e-05/2.124e-05, allocations: 6.312 kB / 378.8 MB, free: 2.309 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002301/0.002322, allocations: 1.758 MB / 380.6 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.003511, allocations: 1.005 MB / 381.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.627e-05/0.003587, allocations: 0 / 381.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002688/0.003856, allocations: 43.7 kB / 381.7 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002686/0.004124, allocations: 91.55 kB / 381.7 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001628/0.004287, allocations: 87.59 kB / 381.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.004441, allocations: 103.6 kB / 381.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.917e-05/0.00453, allocations: 11.98 kB / 381.9 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.862e-05/0.004608, allocations: 51.84 kB / 382 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.962e-05/0.004678, allocations: 31.89 kB / 382 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.004693, allocations: 4 kB / 382 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.959e-05/0.004773, allocations: 47.86 kB / 382.1 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.159e-05/0.004834, allocations: 11.94 kB / 382.1 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.454e-05/0.004879, allocations: 23.91 kB / 382.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.005055, allocations: 95.66 kB / 382.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.005058, allocations: 0 / 382.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.005059, allocations: 4 kB / 382.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.005064, allocations: 3.938 kB / 382.2 MB, free: 14.92 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.0004261/0.00549, allocations: 435.9 kB / 382.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.005527, allocations: 12.03 kB / 382.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.578e-05/0.005572, allocations: 12.89 kB / 382.7 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.005728, allocations: 148.4 kB / 382.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.005746, allocations: 4.375 kB / 382.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.005768, allocations: 384 / 382.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.005902, allocations: 62.94 kB / 382.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.005912, allocations: 192 / 382.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.005926, allocations: 16.36 kB / 382.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.005935, allocations: 3.938 kB / 382.9 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.704e-05/0.005972, allocations: 11.98 kB / 382.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002866/0.006258, allocations: 283.8 kB / 383.2 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.006364, allocations: 55.17 kB / 383.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.128e-05/0.006395, allocations: 11.69 kB / 383.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.006408, allocations: 0 / 383.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001056/0.006513, allocations: 80.88 kB / 383.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 9.61e-07/0.006514, allocations: 4 kB / 383.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004016/0.006916, allocations: 149.4 kB / 383.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.006949, allocations: 59.41 kB / 383.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.007074, allocations: 212.1 kB / 383.7 MB, free: 13.22 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.007086, allocations: 29.7 kB / 383.8 MB, free: 13.19 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.352e-05/0.007139, allocations: 146.9 kB / 383.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.00717, allocations: 23.8 kB / 383.9 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.523e-05/0.007206, allocations: 31.36 kB / 384 MB, free: 12.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.007318, allocations: 0.5 MB / 384.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.559e-05/0.007344, allocations: 8 kB / 384.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.646e-05/0.00738, allocations: 39.36 kB / 384.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.913e-05/0.00744, allocations: 51.3 kB / 384.6 MB, free: 12.35 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.00744, allocations: 0 / 384.6 MB, free: 12.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001071/0.007547, allocations: 93.52 kB / 384.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.007559, allocations: 4 kB / 384.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.007564, allocations: 0 / 384.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.007577, allocations: 4 kB / 384.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.152e-05/0.007649, allocations: 23.92 kB / 384.7 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.007655, allocations: 0 / 384.7 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.181e-05/0.007686, allocations: 8.031 kB / 384.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.007691, allocations: 0 / 384.7 MB, free: 12.21 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 7.153e-05/0.007763, allocations: 161.4 kB / 384.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.588e-05/0.007779, allocations: 15.89 kB / 384.9 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001476/0.007926, allocations: 102.4 kB / 385 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.007929, allocations: 4 kB / 385 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.007933, allocations: 0 / 385 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.007937, allocations: 0 / 385 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000273/0.00821, allocations: 389.3 kB / 385.3 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.008213, allocations: 8.031 kB / 385.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.622e-05/0.008239, allocations: 15.98 kB / 385.4 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.008241, allocations: 0 / 385.4 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.008248, allocations: 0 / 385.4 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.00825, allocations: 4 kB / 385.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.008251, allocations: 3.938 kB / 385.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/0.008393, allocations: 259.4 kB / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.033e-05/0.008403, allocations: 7.953 kB / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.008419, allocations: 0 / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.299e-05/0.008462, allocations: 7.984 kB / 385.6 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.414e-05/0.008496, allocations: 8 kB / 385.7 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.00851, allocations: 7.984 kB / 385.7 MB, free: 11.15 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.764e-05/0.008578, allocations: 164 kB / 385.8 MB, free: 10.99 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008578, allocations: 0 / 385.8 MB, free: 10.99 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001768/0.008754, allocations: 27.94 kB / 385.9 MB, free: 10.96 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.000873/0.009627, allocations: 428.4 kB / 386.3 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001296/0.009757, allocations: 63.53 kB / 386.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.009758, allocations: 0 / 386.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.171e-05/0.0098, allocations: 31.73 kB / 386.4 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002401/0.01004, allocations: 44.22 kB / 386.4 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004516/0.01049, allocations: 202.4 kB / 386.6 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.932e-05/0.01053, allocations: 71.33 kB / 386.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.315e-05/0.01056, allocations: 17.28 kB / 386.7 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.674e-05/0.0106, allocations: 24.48 kB / 386.7 MB, free: 10.17 MB / 362.7 MB Notification: Performance of SimCode: time 8.11e-07/0.0106, allocations: 0 / 386.7 MB, free: 10.17 MB / 362.7 MB Notification: Performance of Templates: time 0.003313/0.01391, allocations: 1.853 MB / 388.6 MB, free: 8.344 MB / 362.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1372335380874574]