Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.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.0009806/0.0009806, 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.0009474/0.0009474, 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.072/1.072, 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.2985/0.2985, allocations: 34.86 MB / 296.3 MB, free: 0.5547 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.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 3.938 kB / 378.9 MB, free: 2.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.163e-05/2.332e-05, allocations: 3.719 kB / 378.9 MB, free: 2 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.002199/0.002223, allocations: 1.772 MB / 380.6 MB, free: 220 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.003458, allocations: 1.016 MB / 381.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.91e-05/0.003537, allocations: 3.938 kB / 381.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003232/0.00386, allocations: 43.75 kB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002912/0.004151, allocations: 99.48 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001817/0.004333, allocations: 83.59 kB / 381.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001508/0.004484, allocations: 111.6 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.545e-05/0.004569, allocations: 12 kB / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.161e-05/0.004651, allocations: 47.84 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001732/0.004824, allocations: 31.89 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.842e-05/0.004863, allocations: 4 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.00499, allocations: 43.92 kB / 382.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.545e-05/0.005055, allocations: 23.86 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.131e-05/0.005107, allocations: 23.92 kB / 382.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.00533, allocations: 107.6 kB / 382.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.005334, allocations: 0 / 382.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.005335, allocations: 4 kB / 382.3 MB, free: 14.56 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.00534, allocations: 0 / 382.3 MB, free: 14.56 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.0005919/0.005932, allocations: 467.7 kB / 382.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.005979, allocations: 8.031 kB / 382.7 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.55e-05/0.006044, allocations: 16.84 kB / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.006288, allocations: 153.2 kB / 382.9 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/0.006315, allocations: 12.31 kB / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.031e-05/0.006346, allocations: 384 / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.006524, allocations: 66.94 kB / 383 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.006536, allocations: 192 / 383 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.006553, allocations: 4.375 kB / 383 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.006564, allocations: 7.938 kB / 383 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.619e-05/0.00662, allocations: 7.984 kB / 383 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004215/0.007042, allocations: 295.8 kB / 383.3 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.007179, allocations: 51.11 kB / 383.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.203e-05/0.007221, allocations: 23.67 kB / 383.4 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.007239, allocations: 0 / 383.4 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001317/0.00737, allocations: 68.98 kB / 383.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.007372, allocations: 0 / 383.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005007/0.007873, allocations: 165.3 kB / 383.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.007914, allocations: 55.41 kB / 383.6 MB, free: 13.03 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002214/0.008135, allocations: 259.1 kB / 383.9 MB, free: 12.76 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.008156, allocations: 33.7 kB / 383.9 MB, free: 12.72 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.11e-05/0.008227, allocations: 158.9 kB / 384.1 MB, free: 12.56 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.388e-05/0.008261, allocations: 23.78 kB / 384.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-05/0.008302, allocations: 35.3 kB / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.008433, allocations: 0.5001 MB / 384.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.65e-05/0.008469, allocations: 11.98 kB / 384.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.917e-05/0.008508, allocations: 35.31 kB / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.034e-05/0.008569, allocations: 51.36 kB / 384.7 MB, free: 11.87 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.00857, allocations: 0 / 384.7 MB, free: 11.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001238/0.008694, allocations: 97.47 kB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.008708, allocations: 4 kB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.008714, allocations: 0 / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.008731, allocations: 4 kB / 384.8 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.359e-05/0.008814, allocations: 15.98 kB / 384.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.008819, allocations: 3.938 kB / 384.9 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.257e-05/0.008852, allocations: 4 kB / 384.9 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.008858, allocations: 4.031 kB / 384.9 MB, free: 11.73 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.619e-05/0.008934, allocations: 160.6 kB / 385 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.888e-05/0.008953, allocations: 23.83 kB / 385.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001818/0.009135, allocations: 103.1 kB / 385.2 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.009138, allocations: 0 / 385.2 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.009145, allocations: 8.359 kB / 385.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.009149, allocations: 0 / 385.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003437/0.009493, allocations: 404.9 kB / 385.6 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.009498, allocations: 4 kB / 385.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.465e-05/0.009532, allocations: 16.02 kB / 385.6 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.009535, allocations: 0 / 385.6 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.009544, allocations: 4 kB / 385.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.009546, allocations: 0 / 385.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.009547, allocations: 0 / 385.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001604/0.009708, allocations: 259.4 kB / 385.8 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.412e-05/0.009722, allocations: 11.91 kB / 385.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.009743, allocations: 8 kB / 385.9 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.781e-05/0.009791, allocations: 3.984 kB / 385.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.484e-05/0.009826, allocations: 4 kB / 385.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.009842, allocations: 11.98 kB / 385.9 MB, free: 10.65 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.494e-05/0.009927, allocations: 183.1 kB / 386 MB, free: 10.47 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009927, allocations: 0 / 386 MB, free: 10.47 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001842/0.01011, allocations: 27.92 kB / 386.1 MB, free: 10.44 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.001005/0.01112, allocations: 426.8 kB / 386.5 MB, free: 10.15 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000124/0.01124, allocations: 55.55 kB / 386.5 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.01124, allocations: 0 / 386.5 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.201e-05/0.01128, allocations: 39.59 kB / 386.6 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002578/0.01154, allocations: 32.09 kB / 386.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004103/0.01195, allocations: 237.5 kB / 386.8 MB, free: 9.754 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.408e-05/0.012, allocations: 71.33 kB / 386.9 MB, free: 9.664 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.863e-05/0.01204, allocations: 25.27 kB / 386.9 MB, free: 9.637 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.175e-05/0.01207, allocations: 16.5 kB / 387 MB, free: 9.621 MB / 362.7 MB Notification: Performance of SimCode: time 7.42e-07/0.01207, allocations: 0 / 387 MB, free: 9.621 MB / 362.7 MB Notification: Performance of Templates: time 0.003871/0.01594, allocations: 1.885 MB / 388.8 MB, free: 7.766 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.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.4533332297578454]