Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.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.001582/0.001582, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.001968/0.001968, allocations: 203.9 kB / 23.72 MB, free: 4.391 MB / 14.72 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.509/1.509, allocations: 230.5 MB / 257.4 MB, free: 7.789 MB / 206.1 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.2354/0.2354, allocations: 46.94 MB / 360.8 MB, free: 3.926 MB / 286.1 MB " [Timeout remaining time 179] 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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002426/0.002426, allocations: 79.88 kB / 0.4967 GB, free: 6.969 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4001/0.4025, allocations: 66.09 MB / 0.5612 GB, free: 3.918 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003416/0.4059, allocations: 1.702 MB / 0.5629 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001898/0.4078, allocations: 0.9812 MB / 0.5639 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.945e-05/0.4079, allocations: 0 / 0.5639 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002816/0.4082, allocations: 55.75 kB / 0.5639 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003055/0.4085, allocations: 99.59 kB / 0.564 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001917/0.4087, allocations: 79.67 kB / 0.5641 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001761/0.4089, allocations: 111.6 kB / 0.5642 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.631e-05/0.409, allocations: 4 kB / 0.5642 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.803e-05/0.409, allocations: 43.8 kB / 0.5642 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.4091, allocations: 39.77 kB / 0.5643 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.186e-05/0.4092, allocations: 7.938 kB / 0.5643 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.4093, allocations: 39.98 kB / 0.5643 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.42e-05/0.4094, allocations: 27.92 kB / 0.5644 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.787e-05/0.4094, allocations: 31.73 kB / 0.5644 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003022/0.4097, allocations: 149.7 kB / 0.5645 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.4097, allocations: 0 / 0.5645 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.4097, allocations: 0 / 0.5645 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.4098, allocations: 0 / 0.5645 GB, free: 0.5469 MB / 398.1 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.0006491/0.4104, allocations: 381.3 kB / 0.5649 GB, free: 148 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.4105, allocations: 8.031 kB / 0.5649 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.442e-05/0.4105, allocations: 16.84 kB / 0.5649 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003632/0.4109, allocations: 155.3 kB / 0.5651 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.4109, allocations: 4.375 kB / 0.5651 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.4109, allocations: 384 / 0.5651 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.4111, allocations: 65.97 kB / 0.5651 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.4111, allocations: 7.938 kB / 0.5651 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.467e-06/0.4111, allocations: 0 / 0.5651 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.616e-06/0.4111, allocations: 0 / 0.5651 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.119e-05/0.4112, allocations: 27.98 kB / 0.5652 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003617/0.4115, allocations: 240.5 kB / 0.5654 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.4117, allocations: 66.55 kB / 0.5655 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.32e-05/0.4118, allocations: 20.84 kB / 0.5655 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.4118, allocations: 0 / 0.5655 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001489/0.4119, allocations: 67.39 kB / 0.5655 GB, free: 15.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.4119, allocations: 0 / 0.5655 GB, free: 15.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006017/0.4125, allocations: 197.2 kB / 0.5657 GB, free: 15.19 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.4126, allocations: 55.41 kB / 0.5658 GB, free: 15.12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002972/0.4129, allocations: 278.8 kB / 0.566 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.4129, allocations: 25.7 kB / 0.5661 GB, free: 14.81 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.265e-05/0.413, allocations: 124.1 kB / 0.5662 GB, free: 14.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.199e-05/0.413, allocations: 23.8 kB / 0.5662 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.7e-05/0.4131, allocations: 25.7 kB / 0.5662 GB, free: 14.63 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001875/0.4133, allocations: 330.8 kB / 0.5666 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.121e-05/0.4133, allocations: 23.98 kB / 0.5666 GB, free: 14.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.643e-05/0.4134, allocations: 41.64 kB / 0.5666 GB, free: 14.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.4135, allocations: 61.7 kB / 0.5667 GB, free: 14.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.4135, allocations: 4.188 kB / 0.5667 GB, free: 14.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001933/0.4137, allocations: 109.5 kB / 0.5668 GB, free: 14.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.4137, allocations: 11.92 kB / 0.5668 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.4138, allocations: 0 / 0.5668 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.4138, allocations: 4 kB / 0.5668 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.872e-05/0.4139, allocations: 12 kB / 0.5668 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.4139, allocations: 0 / 0.5668 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.123e-05/0.4139, allocations: 11.98 kB / 0.5668 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.4139, allocations: 32 / 0.5668 GB, free: 14 MB / 414.1 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 0.0001379/0.4141, allocations: 141.8 kB / 0.567 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.4141, allocations: 19.84 kB / 0.567 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002955/0.4144, allocations: 119.1 kB / 0.5671 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.4144, allocations: 0 / 0.5671 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.4144, allocations: 0 / 0.5671 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.4144, allocations: 3.938 kB / 0.5671 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005127/0.4149, allocations: 359.5 kB / 0.5674 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.4149, allocations: 4 kB / 0.5674 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.991e-05/0.415, allocations: 19.97 kB / 0.5675 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.415, allocations: 0 / 0.5675 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.415, allocations: 4 kB / 0.5675 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.415, allocations: 4 kB / 0.5675 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.415, allocations: 0 / 0.5675 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002855/0.4153, allocations: 220.2 kB / 0.5677 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.891e-05/0.4153, allocations: 11.91 kB / 0.5677 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.927e-05/0.4153, allocations: 8 kB / 0.5677 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.781e-05/0.4154, allocations: 0 / 0.5677 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.616e-05/0.4154, allocations: 11.92 kB / 0.5677 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.4155, allocations: 4 kB / 0.5677 GB, free: 13.01 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002178/0.4157, allocations: 212.6 kB / 0.5679 GB, free: 12.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4157, allocations: 3.938 kB / 0.5679 GB, free: 12.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002718/0.416, allocations: 31.89 kB / 0.5679 GB, free: 12.77 MB / 414.1 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.001971/0.4179, allocations: 477.7 kB / 0.5684 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002297/0.4182, allocations: 63.91 kB / 0.5685 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4182, allocations: 0 / 0.5685 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.43e-05/0.4182, allocations: 27.92 kB / 0.5685 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003896/0.4186, allocations: 39.84 kB / 0.5685 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006572/0.4193, allocations: 295.7 kB / 0.5688 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001392/0.4194, allocations: 113.2 kB / 0.5689 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.438e-05/0.4195, allocations: 17.27 kB / 0.5689 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.554e-05/0.4195, allocations: 19.42 kB / 0.5689 GB, free: 11.86 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4195, allocations: 0 / 0.5689 GB, free: 11.86 MB / 414.1 MB Notification: Performance of Templates: time 0.006393/0.4259, allocations: 1.954 MB / 0.5709 GB, free: 9.926 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.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.352568237110972]