Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.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.001461/0.001461, allocations: 95.5 kB / 21.2 MB, free: 3.371 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: 160.5 kB / 24.55 MB, free: 16 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.001/1.001, allocations: 177 MB / 204.8 MB, free: 5.57 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.2646/0.2646, allocations: 34.86 MB / 296.3 MB, free: 496 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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 378.8 MB, free: 1.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.193e-05/2.347e-05, allocations: 2.312 kB / 378.9 MB, free: 1.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.002288/0.002312, allocations: 1.767 MB / 380.6 MB, free: 200 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001767/0.004079, allocations: 1.737 MB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.742e-05/0.004166, allocations: 4 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003176/0.004484, allocations: 35.77 kB / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003828/0.004867, allocations: 107.4 kB / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002063/0.005073, allocations: 79.59 kB / 382.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001671/0.00524, allocations: 103.7 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.252e-05/0.005333, allocations: 7.984 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.224e-05/0.005425, allocations: 63.78 kB / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.005544, allocations: 35.89 kB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.005562, allocations: 4 kB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001762/0.005738, allocations: 107.8 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.583e-05/0.005794, allocations: 23.91 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.988e-05/0.005834, allocations: 19.92 kB / 382.9 MB, free: 13.87 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002553/0.006089, allocations: 159.5 kB / 383.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.006092, allocations: 0 / 383.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.006093, allocations: 0 / 383.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.006099, allocations: 0 / 383.1 MB, free: 13.71 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.0005171/0.006616, allocations: 455.8 kB / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.006658, allocations: 12.03 kB / 383.5 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.84e-05/0.006716, allocations: 16.89 kB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001927/0.006909, allocations: 145 kB / 383.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.006929, allocations: 4.375 kB / 383.7 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.006951, allocations: 12.31 kB / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.007112, allocations: 104 kB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.007126, allocations: 11.88 kB / 383.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.007135, allocations: 0 / 383.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.007143, allocations: 0 / 383.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.597e-05/0.007179, allocations: 15.98 kB / 383.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002995/0.007478, allocations: 283.8 kB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.007594, allocations: 55.11 kB / 384.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.229e-05/0.007626, allocations: 23.61 kB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.007639, allocations: 4 kB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001013/0.00774, allocations: 65.05 kB / 384.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.193e-06/0.007741, allocations: 0 / 384.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003883/0.00813, allocations: 149.3 kB / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.008172, allocations: 81.11 kB / 384.5 MB, free: 12.13 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.008326, allocations: 223.3 kB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.00834, allocations: 29.64 kB / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.413e-05/0.008394, allocations: 142.9 kB / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.103e-05/0.008425, allocations: 27.78 kB / 384.9 MB, free: 11.69 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.555e-05/0.00846, allocations: 27.38 kB / 384.9 MB, free: 11.65 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.008599, allocations: 0.4923 MB / 385.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.836e-05/0.008627, allocations: 15.98 kB / 385.4 MB, free: 11.13 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.133e-05/0.008678, allocations: 64.75 kB / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.043e-05/0.008739, allocations: 55.3 kB / 385.6 MB, free: 10.99 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.00874, allocations: 384 / 385.6 MB, free: 10.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001117/0.008852, allocations: 97.55 kB / 385.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.008868, allocations: 4 kB / 385.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.008873, allocations: 4 kB / 385.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.00889, allocations: 4 kB / 385.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.788e-05/0.008968, allocations: 15.94 kB / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.008974, allocations: 0 / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.512e-05/0.009009, allocations: 8 kB / 385.7 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-06/0.009018, allocations: 7.984 kB / 385.7 MB, free: 10.84 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 9.461e-05/0.009113, allocations: 167 kB / 385.9 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.882e-05/0.009132, allocations: 11.98 kB / 385.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001706/0.009302, allocations: 106.4 kB / 386 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.009305, allocations: 0 / 386 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.00931, allocations: 0 / 386 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.009315, allocations: 0 / 386 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003346/0.009649, allocations: 392.9 kB / 386.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.009651, allocations: 0 / 386.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.933e-05/0.00968, allocations: 11.98 kB / 386.4 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.009683, allocations: 0 / 386.4 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.009692, allocations: 4 kB / 386.4 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.009693, allocations: 4.031 kB / 386.4 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.009694, allocations: 0 / 386.4 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001727/0.009867, allocations: 255.4 kB / 386.6 MB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.396e-05/0.009881, allocations: 11.95 kB / 386.6 MB, free: 9.812 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.229e-05/0.009903, allocations: 7.984 kB / 386.7 MB, free: 9.805 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.023e-05/0.009943, allocations: 3.938 kB / 386.7 MB, free: 9.801 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/0.009984, allocations: 15.92 kB / 386.7 MB, free: 9.785 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.009998, allocations: 4 kB / 386.7 MB, free: 9.781 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.843e-05/0.01008, allocations: 165.5 kB / 386.8 MB, free: 9.621 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01008, allocations: 0 / 386.8 MB, free: 9.621 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000209/0.01029, allocations: 47.86 kB / 386.9 MB, free: 9.574 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.001232/0.01152, allocations: 0.5348 MB / 387.4 MB, free: 9.199 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001739/0.01169, allocations: 51.61 kB / 387.5 MB, free: 9.145 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.01169, allocations: 0 / 387.5 MB, free: 9.145 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.932e-05/0.01174, allocations: 39.59 kB / 387.5 MB, free: 9.102 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.01208, allocations: 31.97 kB / 387.5 MB, free: 9.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004018/0.01248, allocations: 197.9 kB / 387.7 MB, free: 8.844 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.149e-05/0.01252, allocations: 67.47 kB / 387.8 MB, free: 8.758 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.664e-05/0.01257, allocations: 24.95 kB / 387.8 MB, free: 8.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.05e-05/0.01261, allocations: 20.48 kB / 387.8 MB, free: 8.711 MB / 362.7 MB Notification: Performance of SimCode: time 1.082e-06/0.01261, allocations: 0 / 387.8 MB, free: 8.711 MB / 362.7 MB Notification: Performance of Templates: time 0.004979/0.01759, allocations: 2.763 MB / 390.6 MB, free: 5.984 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.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.266747702844441]