Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.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.001325/0.001325, allocations: 83.67 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.001497/0.001497, allocations: 161.6 kB / 24.99 MB, free: 9.234 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 1.027/1.027, allocations: 177 MB / 205.2 MB, free: 5.594 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.2716/0.2716, allocations: 34.86 MB / 296.6 MB, free: 468 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.Test89,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89") translateModel(ModelicaTest.Tables.CombiTimeTable.Test89,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 378.8 MB, free: 2.301 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.666e-05/2.874e-05, allocations: 3.156 kB / 378.8 MB, free: 2.297 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.003288/0.003316, allocations: 1.761 MB / 380.6 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002319/0.005636, allocations: 1.737 MB / 382.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.947e-05/0.005725, allocations: 0 / 382.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003126/0.006038, allocations: 35.77 kB / 382.4 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003891/0.006427, allocations: 103.4 kB / 382.5 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002039/0.006631, allocations: 79.62 kB / 382.6 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001892/0.00682, allocations: 107.7 kB / 382.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.743e-05/0.006917, allocations: 4 kB / 382.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.007029, allocations: 67.75 kB / 382.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.007151, allocations: 35.91 kB / 382.8 MB, free: 14.35 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.889e-05/0.00717, allocations: 4 kB / 382.8 MB, free: 14.35 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001869/0.007356, allocations: 111.8 kB / 382.9 MB, free: 14.24 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.751e-05/0.007414, allocations: 19.91 kB / 382.9 MB, free: 14.22 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.21e-05/0.007466, allocations: 23.92 kB / 382.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002955/0.007762, allocations: 155.5 kB / 383.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.007766, allocations: 4 kB / 383.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.007767, allocations: 0 / 383.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.007773, allocations: 0 / 383.1 MB, free: 14.04 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.0005766/0.00835, allocations: 447.8 kB / 383.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.008392, allocations: 12.03 kB / 383.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.6e-05/0.008458, allocations: 8.891 kB / 383.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.008689, allocations: 164.9 kB / 383.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.008711, allocations: 4.375 kB / 383.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/0.008733, allocations: 384 / 383.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.008919, allocations: 108 kB / 383.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.008934, allocations: 7.891 kB / 383.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.008947, allocations: 4 kB / 383.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.008956, allocations: 0 / 383.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.652e-05/0.009002, allocations: 11.98 kB / 383.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003673/0.00937, allocations: 283.7 kB / 384.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.009501, allocations: 51.17 kB / 384.2 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.312e-05/0.009534, allocations: 27.61 kB / 384.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.103e-05/0.009545, allocations: 0 / 384.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001063/0.009651, allocations: 68.98 kB / 384.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.009653, allocations: 0 / 384.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004605/0.01011, allocations: 153.4 kB / 384.4 MB, free: 12.56 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.01016, allocations: 81.05 kB / 384.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.0103, allocations: 215.3 kB / 384.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.01032, allocations: 29.7 kB / 384.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.326e-05/0.01037, allocations: 142.9 kB / 384.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.954e-05/0.0104, allocations: 35.77 kB / 384.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.694e-05/0.01044, allocations: 31.38 kB / 384.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.01055, allocations: 0.4923 MB / 385.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.655e-05/0.01058, allocations: 11.98 kB / 385.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.511e-05/0.01062, allocations: 68.7 kB / 385.5 MB, free: 11.38 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.044e-05/0.01068, allocations: 55.23 kB / 385.5 MB, free: 11.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.01068, allocations: 0 / 385.5 MB, free: 11.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001099/0.01079, allocations: 89.59 kB / 385.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.01081, allocations: 4 kB / 385.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.01081, allocations: 4.438 kB / 385.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.01083, allocations: 4 kB / 385.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.153e-05/0.0109, allocations: 19.92 kB / 385.7 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.0109, allocations: 4 kB / 385.7 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.307e-05/0.01094, allocations: 4 kB / 385.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.01094, allocations: 0 / 385.7 MB, free: 11.18 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.515e-05/0.01102, allocations: 172.5 kB / 385.8 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.609e-05/0.01103, allocations: 11.95 kB / 385.9 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000153/0.01119, allocations: 102.4 kB / 386 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.01119, allocations: 0 / 386 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.01119, allocations: 4 kB / 386 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.0112, allocations: 3.984 kB / 386 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003063/0.0115, allocations: 388.9 kB / 386.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01151, allocations: 4 kB / 386.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.517e-05/0.01153, allocations: 8 kB / 386.4 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.01153, allocations: 3.984 kB / 386.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.01155, allocations: 8 kB / 386.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.01155, allocations: 0 / 386.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01155, allocations: 3.938 kB / 386.4 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001495/0.0117, allocations: 259.5 kB / 386.6 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.359e-05/0.01171, allocations: 7.953 kB / 386.6 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.01173, allocations: 4 kB / 386.6 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.43e-05/0.01178, allocations: 11.92 kB / 386.6 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.534e-05/0.01181, allocations: 4 kB / 386.6 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.01182, allocations: 7.984 kB / 386.7 MB, free: 10.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.562e-05/0.01191, allocations: 165.5 kB / 386.8 MB, free: 9.949 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01191, allocations: 0 / 386.8 MB, free: 9.949 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002123/0.01212, allocations: 47.88 kB / 386.9 MB, free: 9.902 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.001071/0.01319, allocations: 0.529 MB / 387.4 MB, free: 9.531 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001271/0.01332, allocations: 59.59 kB / 387.5 MB, free: 9.469 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.01332, allocations: 4 kB / 387.5 MB, free: 9.465 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.099e-05/0.01336, allocations: 31.61 kB / 387.5 MB, free: 9.43 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/0.0136, allocations: 35.47 kB / 387.5 MB, free: 9.398 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003328/0.01393, allocations: 197.9 kB / 387.7 MB, free: 9.172 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.059e-05/0.01397, allocations: 67.34 kB / 387.8 MB, free: 9.086 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.215e-05/0.01402, allocations: 17.09 kB / 387.8 MB, free: 9.066 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.705e-05/0.01405, allocations: 20.5 kB / 387.8 MB, free: 9.047 MB / 362.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01405, allocations: 0 / 387.8 MB, free: 9.047 MB / 362.7 MB Notification: Performance of Templates: time 0.004099/0.01815, allocations: 2.534 MB / 390.3 MB, free: 6.535 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test89/Test89.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.093275030842051]