Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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.001458/0.001458, 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.001565/0.001565, allocations: 157.6 kB / 24.99 MB, free: 9.289 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.974/0.974, allocations: 177 MB / 205.2 MB, free: 5.582 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.2574/0.2574, allocations: 34.87 MB / 296.6 MB, free: 0.5469 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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 378.8 MB, free: 2.324 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.366e-05/2.538e-05, allocations: 12.78 kB / 378.9 MB, free: 2.312 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003143/0.003168, allocations: 1.941 MB / 380.8 MB, free: 364 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001301/0.004469, allocations: 1.114 MB / 381.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.288e-05/0.004562, allocations: 3.938 kB / 381.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003934/0.004955, allocations: 243.2 kB / 382.1 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003653/0.00532, allocations: 243 kB / 382.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002091/0.005529, allocations: 127.5 kB / 382.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002664/0.005796, allocations: 275.2 kB / 382.8 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.0059, allocations: 21.94 kB / 382.8 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.006053, allocations: 159.6 kB / 383 MB, free: 14.18 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000167/0.00622, allocations: 187.6 kB / 383.1 MB, free: 14 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.00624, allocations: 8 kB / 383.1 MB, free: 13.99 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.604e-05/0.006336, allocations: 67.91 kB / 383.2 MB, free: 13.93 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.888e-05/0.006405, allocations: 67.72 kB / 383.3 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.446e-05/0.006459, allocations: 51.78 kB / 383.3 MB, free: 13.81 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002233/0.006683, allocations: 203.1 kB / 383.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.006685, allocations: 0 / 383.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.12e-07/0.006685, allocations: 0 / 383.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.006689, allocations: 0 / 383.5 MB, free: 13.61 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005428/0.007232, allocations: 0.6273 MB / 384.2 MB, free: 12.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.007265, allocations: 8.031 kB / 384.2 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.519e-05/0.00733, allocations: 40.7 kB / 384.2 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/0.00756, allocations: 235 kB / 384.4 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.007577, allocations: 384 / 384.4 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.0076, allocations: 16.31 kB / 384.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.007759, allocations: 122.2 kB / 384.6 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.00777, allocations: 4.125 kB / 384.6 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.00778, allocations: 384 / 384.6 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.007791, allocations: 11.94 kB / 384.6 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.44e-05/0.007845, allocations: 27.97 kB / 384.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004117/0.008257, allocations: 0.5141 MB / 385.1 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002238/0.008481, allocations: 126.1 kB / 385.2 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.944e-05/0.00853, allocations: 43.42 kB / 385.3 MB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.008542, allocations: 0 / 385.3 MB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001277/0.008669, allocations: 124.5 kB / 385.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 8.42e-07/0.00867, allocations: 0 / 385.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007435/0.009414, allocations: 473.5 kB / 385.9 MB, free: 11.08 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.009449, allocations: 85.11 kB / 386 MB, free: 10.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002668/0.009716, allocations: 434.8 kB / 386.4 MB, free: 10.54 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.009731, allocations: 29.7 kB / 386.4 MB, free: 10.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.653e-05/0.009828, allocations: 231.3 kB / 386.6 MB, free: 10.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.137e-05/0.009879, allocations: 67.39 kB / 386.7 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.836e-05/0.009927, allocations: 47.36 kB / 386.7 MB, free: 10.15 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.01007, allocations: 0.5352 MB / 387.3 MB, free: 9.602 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.293e-05/0.01012, allocations: 35.92 kB / 387.3 MB, free: 9.566 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.186e-05/0.01019, allocations: 84.89 kB / 387.4 MB, free: 9.469 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.01032, allocations: 122.7 kB / 387.5 MB, free: 9.332 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.01032, allocations: 0 / 387.5 MB, free: 9.332 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002114/0.01053, allocations: 205.5 kB / 387.7 MB, free: 9.125 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.01054, allocations: 4 kB / 387.7 MB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.01055, allocations: 80 / 387.7 MB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.01056, allocations: 4 kB / 387.7 MB, free: 9.117 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.712e-05/0.01065, allocations: 43.92 kB / 387.8 MB, free: 9.074 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.01065, allocations: 7.984 kB / 387.8 MB, free: 9.066 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.634e-05/0.0107, allocations: 15.98 kB / 387.8 MB, free: 9.051 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.01071, allocations: 12 kB / 387.8 MB, free: 9.039 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 8.891e-05/0.0108, allocations: 172.5 kB / 388 MB, free: 8.859 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.003e-05/0.01084, allocations: 51.75 kB / 388 MB, free: 8.809 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002636/0.0111, allocations: 228.4 kB / 388.3 MB, free: 8.582 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.01111, allocations: 4 kB / 388.3 MB, free: 8.578 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.01111, allocations: 0 / 388.3 MB, free: 8.578 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.01111, allocations: 4 kB / 388.3 MB, free: 8.574 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000531/0.01165, allocations: 0.7684 MB / 389 MB, free: 7.746 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.01165, allocations: 0 / 389 MB, free: 7.746 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.974e-05/0.01171, allocations: 35.92 kB / 389.1 MB, free: 7.711 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.01171, allocations: 4 kB / 389.1 MB, free: 7.707 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.01172, allocations: 4 kB / 389.1 MB, free: 7.703 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.01173, allocations: 4 kB / 389.1 MB, free: 7.699 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.01173, allocations: 3.938 kB / 389.1 MB, free: 7.695 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002821/0.01201, allocations: 0.5105 MB / 389.6 MB, free: 7.148 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.316e-05/0.01203, allocations: 31.77 kB / 389.6 MB, free: 7.117 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.647e-05/0.01206, allocations: 12.12 kB / 389.6 MB, free: 7.105 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.674e-05/0.01214, allocations: 7.984 kB / 389.6 MB, free: 7.098 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.254e-05/0.01218, allocations: 27.91 kB / 389.7 MB, free: 7.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.0122, allocations: 12 kB / 389.7 MB, free: 7.059 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001613/0.01236, allocations: 295.1 kB / 390 MB, free: 6.773 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01236, allocations: 0 / 390 MB, free: 6.773 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002291/0.01259, allocations: 47.94 kB / 390 MB, free: 6.727 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009587/0.01354, allocations: 488.3 kB / 390.5 MB, free: 6.398 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001845/0.01373, allocations: 135.4 kB / 390.6 MB, free: 6.262 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.01373, allocations: 4 kB / 390.6 MB, free: 6.258 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.621e-05/0.01381, allocations: 71.52 kB / 390.7 MB, free: 6.184 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.01415, allocations: 79.61 kB / 390.8 MB, free: 6.109 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005423/0.01469, allocations: 0.5166 MB / 391.3 MB, free: 5.535 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.61e-05/0.01476, allocations: 108.3 kB / 391.4 MB, free: 5.41 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.691e-05/0.01483, allocations: 41.91 kB / 391.4 MB, free: 5.367 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.731e-05/0.01487, allocations: 28.5 kB / 391.5 MB, free: 5.34 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01487, allocations: 0 / 391.5 MB, free: 5.34 MB / 362.7 MB Notification: Performance of Templates: time 0.004704/0.01958, allocations: 3.367 MB / 394.8 MB, free: 2.023 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.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.1374133641365916]