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.0009436/0.0009436, allocations: 88.73 kB / 21.5 MB, free: 2.988 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.001082/0.001082, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.9436/0.9436, allocations: 177 MB / 205.2 MB, free: 5.055 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.2507/0.2507, allocations: 34.86 MB / 296.6 MB, free: 472 kB / 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.503e-06/1.503e-06, allocations: 0 / 326 MB, free: 7.086 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.5e-05/1.65e-05, allocations: 5.406 kB / 326 MB, free: 7.082 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.002298/0.002315, allocations: 1.934 MB / 327.9 MB, free: 5.137 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.003749, allocations: 1.115 MB / 329.1 MB, free: 4.016 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.533e-05/0.003835, allocations: 0 / 329.1 MB, free: 4.016 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004088/0.004243, allocations: 255.2 kB / 329.3 MB, free: 3.766 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003768/0.00462, allocations: 239 kB / 329.5 MB, free: 3.531 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000223/0.004843, allocations: 119.5 kB / 329.7 MB, free: 3.414 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000267/0.00511, allocations: 283.9 kB / 329.9 MB, free: 3.137 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.697e-05/0.005197, allocations: 22.59 kB / 330 MB, free: 3.117 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001577/0.005355, allocations: 163.5 kB / 330.1 MB, free: 2.957 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.00551, allocations: 159.7 kB / 330.3 MB, free: 2.801 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.00553, allocations: 8 kB / 330.3 MB, free: 2.793 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.419e-05/0.005624, allocations: 67.91 kB / 330.3 MB, free: 2.727 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.433e-05/0.005688, allocations: 75.7 kB / 330.4 MB, free: 2.652 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.763e-05/0.005736, allocations: 43.78 kB / 330.5 MB, free: 2.609 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002201/0.005956, allocations: 211.1 kB / 330.7 MB, free: 2.402 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.005959, allocations: 0 / 330.7 MB, free: 2.402 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.153e-06/0.00596, allocations: 0 / 330.7 MB, free: 2.402 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.005966, allocations: 0 / 330.7 MB, free: 2.402 MB / 298.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.0005104/0.006477, allocations: 0.4922 MB / 331.2 MB, free: 1.887 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.914e-05/0.006506, allocations: 8.031 kB / 331.2 MB, free: 1.879 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.177e-05/0.006548, allocations: 24.91 kB / 331.2 MB, free: 1.855 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002341/0.006782, allocations: 220.2 kB / 331.4 MB, free: 1.613 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.855e-05/0.0068, allocations: 8.375 kB / 331.4 MB, free: 1.605 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.006822, allocations: 8.375 kB / 331.4 MB, free: 1.598 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.006961, allocations: 115.3 kB / 331.5 MB, free: 1.469 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.006971, allocations: 4.125 kB / 331.5 MB, free: 1.465 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.00698, allocations: 4.375 kB / 331.5 MB, free: 1.461 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.006988, allocations: 11.92 kB / 331.6 MB, free: 1.449 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.849e-05/0.007026, allocations: 25.62 kB / 331.6 MB, free: 1.422 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002867/0.007313, allocations: 304.8 kB / 331.9 MB, free: 1.102 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.007499, allocations: 182.8 kB / 332.1 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.964e-05/0.007529, allocations: 29.64 kB / 332.1 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.007541, allocations: 4 kB / 332.1 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001675/0.007708, allocations: 115.9 kB / 332.2 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 9.91e-07/0.007709, allocations: 0 / 332.2 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005492/0.008258, allocations: 325.3 kB / 332.5 MB, free: 412 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.008296, allocations: 81.11 kB / 332.6 MB, free: 312 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002165/0.008512, allocations: 353.1 kB / 332.9 MB, free: 15.95 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.008532, allocations: 33.7 kB / 333 MB, free: 15.91 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.438e-05/0.008577, allocations: 125.5 kB / 333.1 MB, free: 15.78 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.598e-05/0.008623, allocations: 75.36 kB / 333.2 MB, free: 15.71 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-05/0.008663, allocations: 41.69 kB / 333.2 MB, free: 15.66 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.856e-05/0.008752, allocations: 354.7 kB / 333.6 MB, free: 15.3 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.003e-05/0.008782, allocations: 22.81 kB / 333.6 MB, free: 15.28 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.33e-05/0.008825, allocations: 56.06 kB / 333.6 MB, free: 15.21 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.687e-05/0.008912, allocations: 107 kB / 333.7 MB, free: 15.1 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.008913, allocations: 4 kB / 333.7 MB, free: 15.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001279/0.009041, allocations: 140.2 kB / 333.9 MB, free: 14.95 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.009054, allocations: 5.25 kB / 333.9 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.009059, allocations: 0 / 333.9 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.009073, allocations: 8 kB / 333.9 MB, free: 14.94 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002224/0.009295, allocations: 39.92 kB / 333.9 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.009298, allocations: 0 / 333.9 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.355e-05/0.009342, allocations: 11.98 kB / 333.9 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.00935, allocations: 12.06 kB / 334 MB, free: 14.88 MB / 314.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.108e-05/0.009431, allocations: 128.5 kB / 334.1 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.564e-05/0.009457, allocations: 27.97 kB / 334.1 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001753/0.009632, allocations: 167.4 kB / 334.3 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.009634, allocations: 0 / 334.3 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.009636, allocations: 4 kB / 334.3 MB, free: 14.53 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.009641, allocations: 0 / 334.3 MB, free: 14.53 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003985/0.01004, allocations: 0.5634 MB / 334.8 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.01004, allocations: 0 / 334.8 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.208e-05/0.01009, allocations: 31.92 kB / 334.9 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.0101, allocations: 4 kB / 334.9 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.01011, allocations: 11.98 kB / 334.9 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.01011, allocations: 3.938 kB / 334.9 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.01012, allocations: 4 kB / 334.9 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000206/0.01032, allocations: 408.6 kB / 335.3 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.819e-05/0.01035, allocations: 31.75 kB / 335.3 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.651e-05/0.01038, allocations: 11.94 kB / 335.3 MB, free: 13.4 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.274e-05/0.01045, allocations: 12.06 kB / 335.3 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.555e-05/0.01048, allocations: 15.97 kB / 335.4 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.0105, allocations: 15.98 kB / 335.4 MB, free: 13.36 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001192/0.01062, allocations: 163.5 kB / 335.5 MB, free: 13.2 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01062, allocations: 0 / 335.5 MB, free: 13.2 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002246/0.01085, allocations: 55.92 kB / 335.6 MB, free: 13.15 MB / 314.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.001382/0.01223, allocations: 0.6504 MB / 336.2 MB, free: 12.81 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001408/0.01237, allocations: 107.1 kB / 336.3 MB, free: 12.71 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.01237, allocations: 4 kB / 336.4 MB, free: 12.7 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.765e-05/0.01243, allocations: 64.69 kB / 336.4 MB, free: 12.64 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.01271, allocations: 71.05 kB / 336.5 MB, free: 12.57 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004912/0.0132, allocations: 0.4976 MB / 337 MB, free: 12.03 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.293e-05/0.01327, allocations: 108.3 kB / 337.1 MB, free: 11.9 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.455e-05/0.01333, allocations: 37.91 kB / 337.1 MB, free: 11.87 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.683e-05/0.01343, allocations: 99.36 kB / 337.2 MB, free: 11.77 MB / 314.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01343, allocations: 0 / 337.2 MB, free: 11.77 MB / 314.7 MB Notification: Performance of Templates: time 0.009145/0.02257, allocations: 3.656 MB / 340.9 MB, free: 8.18 MB / 314.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: 2.9671961036510766]