Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.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.001508/0.001508, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.001471/0.001471, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 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 1.569/1.569, allocations: 177 MB / 204.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 178] 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.3505/0.3505, allocations: 34.25 MB / 295.2 MB, free: 0.668 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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 377.3 MB, free: 2.828 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.157e-05/3.298e-05, allocations: 2.312 kB / 377.3 MB, free: 2.824 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003592/0.003625, allocations: 1.735 MB / 379 MB, free: 1.074 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002024/0.005649, allocations: 0.9892 MB / 380 MB, free: 80 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.641e-05/0.005736, allocations: 0 / 380 MB, free: 80 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000344/0.00608, allocations: 55.67 kB / 380.1 MB, free: 24 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003975/0.006477, allocations: 99.53 kB / 380.2 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002333/0.00671, allocations: 75.61 kB / 380.3 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002244/0.006935, allocations: 135.6 kB / 380.4 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.701e-05/0.007032, allocations: 4 kB / 380.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000149/0.007181, allocations: 75.73 kB / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.007295, allocations: 43.89 kB / 380.5 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.007317, allocations: 12 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001359/0.007453, allocations: 59.91 kB / 380.6 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.947e-05/0.007522, allocations: 35.84 kB / 380.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.68e-05/0.007579, allocations: 23.92 kB / 380.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002581/0.007837, allocations: 155.4 kB / 380.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.00784, allocations: 0 / 380.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.007841, allocations: 4 kB / 380.8 MB, free: 15.31 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.007845, allocations: 0 / 380.8 MB, free: 15.31 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006601/0.008505, allocations: 361.4 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.008539, allocations: 8.031 kB / 381.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.698e-05/0.008606, allocations: 20.89 kB / 381.2 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003085/0.008914, allocations: 166 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.008931, allocations: 4.375 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.678e-05/0.008957, allocations: 4.375 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002167/0.009174, allocations: 70.22 kB / 381.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.009186, allocations: 192 / 381.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.009202, allocations: 8.375 kB / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.009209, allocations: 7.938 kB / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001399/0.009349, allocations: 51.89 kB / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004692/0.009818, allocations: 268.4 kB / 381.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003385/0.01016, allocations: 86.53 kB / 381.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.829e-05/0.01024, allocations: 32.84 kB / 381.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.01027, allocations: 4.031 kB / 381.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002051/0.01047, allocations: 91.3 kB / 382 MB, free: 14.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.01047, allocations: 0 / 382 MB, free: 14.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.001026/0.0115, allocations: 325.6 kB / 382.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.072e-05/0.01155, allocations: 51.41 kB / 382.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000232/0.01178, allocations: 206.4 kB / 382.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.01181, allocations: 33.7 kB / 382.6 MB, free: 13.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.01195, allocations: 104.4 kB / 382.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.199e-05/0.01201, allocations: 47.78 kB / 382.7 MB, free: 13.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.897e-05/0.01207, allocations: 33.7 kB / 382.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.01225, allocations: 326.8 kB / 383.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.776e-05/0.01235, allocations: 35.98 kB / 383.1 MB, free: 12.85 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.01246, allocations: 59.94 kB / 383.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002095/0.01267, allocations: 117.1 kB / 383.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.01267, allocations: 4 kB / 383.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003173/0.01299, allocations: 161.5 kB / 383.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.01301, allocations: 11.98 kB / 383.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.01301, allocations: 0 / 383.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.01303, allocations: 0 / 383.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.01313, allocations: 23.98 kB / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.01314, allocations: 0 / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.057e-05/0.01319, allocations: 8 kB / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.0132, allocations: 4 kB / 383.5 MB, free: 12.45 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 (15): * Single equations (assignments): 15 * 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.0001302/0.01333, allocations: 137.7 kB / 383.6 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.267e-05/0.01338, allocations: 23.94 kB / 383.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000445/0.01382, allocations: 195 kB / 383.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.01383, allocations: 3.984 kB / 383.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.01383, allocations: 0 / 383.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.01384, allocations: 3.984 kB / 383.8 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006977/0.01454, allocations: 455.6 kB / 384.3 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.01454, allocations: 4 kB / 384.3 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.071e-05/0.01462, allocations: 23.98 kB / 384.3 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.598e-06/0.01463, allocations: 8.062 kB / 384.3 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.01464, allocations: 4 kB / 384.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.01464, allocations: 4 kB / 384.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01465, allocations: 0 / 384.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004328/0.01508, allocations: 303.4 kB / 384.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.34e-05/0.0151, allocations: 7.953 kB / 384.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.305e-05/0.01513, allocations: 8 kB / 384.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.613e-05/0.01522, allocations: 3.984 kB / 384.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.748e-05/0.01527, allocations: 15.92 kB / 384.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.01529, allocations: 8 kB / 384.7 MB, free: 11.19 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000168/0.01546, allocations: 159.2 kB / 384.8 MB, free: 11.04 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01546, allocations: 0 / 384.8 MB, free: 11.04 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002956/0.01575, allocations: 39.88 kB / 384.9 MB, free: 11 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.002627/0.01838, allocations: 0.5287 MB / 385.4 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003054/0.01869, allocations: 115.1 kB / 385.5 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.01869, allocations: 0 / 385.5 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001644/0.01885, allocations: 55.91 kB / 385.5 MB, free: 10.49 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004107/0.01926, allocations: 47.66 kB / 385.6 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006771/0.01994, allocations: 294.8 kB / 385.9 MB, free: 10.13 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001329/0.02007, allocations: 102.3 kB / 386 MB, free: 10.01 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.48e-05/0.02016, allocations: 25.47 kB / 386 MB, free: 9.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.812e-05/0.02023, allocations: 32.48 kB / 386 MB, free: 9.949 MB / 362.7 MB Notification: Performance of SimCode: time 8.21e-07/0.02023, allocations: 0 / 386 MB, free: 9.949 MB / 362.7 MB Notification: Performance of Templates: time 0.006482/0.02671, allocations: 2.381 MB / 388.4 MB, free: 7.594 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.067207309999503]