Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.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.001521/0.001521, allocations: 88.28 kB / 20.96 MB, free: 3.441 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.001707/0.001707, allocations: 156.9 kB / 24.26 MB, free: 144 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.537/1.537, allocations: 177 MB / 204.4 MB, free: 5.613 MB / 186.7 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.3807/0.3807, allocations: 34.25 MB / 295.2 MB, free: 0.6328 MB / 266.7 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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 377.3 MB, free: 2.805 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.706e-05/2.911e-05, allocations: 2.312 kB / 377.3 MB, free: 2.801 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003264/0.003293, allocations: 1.717 MB / 379 MB, free: 1.07 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001966/0.005259, allocations: 0.9736 MB / 380 MB, free: 92 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.915e-05/0.005328, allocations: 4 kB / 380 MB, free: 88 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002977/0.005626, allocations: 47.64 kB / 380 MB, free: 40 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003361/0.005962, allocations: 95.53 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002121/0.006174, allocations: 75.61 kB / 380.2 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001964/0.006371, allocations: 111.6 kB / 380.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.095e-05/0.006452, allocations: 4 kB / 380.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.006582, allocations: 59.81 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.696e-05/0.006659, allocations: 23.86 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.006679, allocations: 4 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.006782, allocations: 47.91 kB / 380.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.103e-05/0.006843, allocations: 27.92 kB / 380.5 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.886e-05/0.006892, allocations: 15.94 kB / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.007116, allocations: 115.5 kB / 380.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.007118, allocations: 0 / 380.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.007119, allocations: 0 / 380.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.007123, allocations: 0 / 380.6 MB, free: 15.47 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.0005931/0.007716, allocations: 345.6 kB / 380.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.007751, allocations: 8.031 kB / 380.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.601e-05/0.007807, allocations: 12.89 kB / 381 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/0.008078, allocations: 153.5 kB / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.008092, allocations: 4.375 kB / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/0.008117, allocations: 4.375 kB / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.008278, allocations: 62.22 kB / 381.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.008287, allocations: 4.125 kB / 381.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.008297, allocations: 384 / 381.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.008303, allocations: 3.938 kB / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.273e-05/0.008386, allocations: 23.98 kB / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004004/0.008786, allocations: 224.6 kB / 381.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002276/0.009014, allocations: 62.61 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.453e-05/0.009079, allocations: 24.84 kB / 381.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.358e-05/0.009092, allocations: 0 / 381.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000167/0.009259, allocations: 71.33 kB / 381.6 MB, free: 14.37 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.00926, allocations: 0 / 381.6 MB, free: 14.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006301/0.00989, allocations: 185.3 kB / 381.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.009942, allocations: 55.41 kB / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002275/0.01017, allocations: 191.2 kB / 382 MB, free: 13.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.01019, allocations: 25.7 kB / 382 MB, free: 13.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.002e-05/0.01027, allocations: 104.1 kB / 382.1 MB, free: 13.78 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.535e-05/0.01031, allocations: 23.86 kB / 382.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.914e-05/0.01036, allocations: 25.7 kB / 382.2 MB, free: 13.72 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002014/0.01056, allocations: 326.8 kB / 382.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.588e-05/0.01063, allocations: 19.98 kB / 382.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.162e-05/0.01071, allocations: 41.64 kB / 382.6 MB, free: 13.33 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.01084, allocations: 53.72 kB / 382.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.01084, allocations: 3.938 kB / 382.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002281/0.01107, allocations: 113.5 kB / 382.7 MB, free: 13.15 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.01109, allocations: 8.031 kB / 382.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.01109, allocations: 0 / 382.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.01111, allocations: 4 kB / 382.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.494e-05/0.0112, allocations: 15.98 kB / 382.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.01121, allocations: 160 / 382.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.553e-05/0.01126, allocations: 11.95 kB / 382.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.01127, allocations: 0 / 382.8 MB, free: 13.11 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 0.0001398/0.01141, allocations: 132.2 kB / 382.9 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.309e-05/0.01144, allocations: 15.89 kB / 382.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002893/0.01173, allocations: 127 kB / 383 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.01174, allocations: 8 kB / 383 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.01174, allocations: 384 / 383 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.01175, allocations: 0 / 383 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000565/0.01231, allocations: 350.9 kB / 383.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.01232, allocations: 4 kB / 383.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.402e-05/0.01236, allocations: 8 kB / 383.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.01236, allocations: 4 kB / 383.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.01237, allocations: 3.984 kB / 383.4 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.01238, allocations: 0 / 383.4 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.768e-06/0.01238, allocations: 4 kB / 383.4 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003057/0.01269, allocations: 216.2 kB / 383.6 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.461e-05/0.01271, allocations: 15.91 kB / 383.6 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.01273, allocations: 0 / 383.6 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.092e-05/0.01281, allocations: 7.984 kB / 383.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.376e-05/0.01286, allocations: 7.984 kB / 383.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.01287, allocations: 8 kB / 383.7 MB, free: 12.15 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001401/0.01301, allocations: 136.9 kB / 383.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01301, allocations: 0 / 383.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002855/0.0133, allocations: 23.98 kB / 383.8 MB, free: 11.99 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.002333/0.01563, allocations: 490.9 kB / 384.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002159/0.01585, allocations: 63.89 kB / 384.4 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.01585, allocations: 0 / 384.4 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.033e-05/0.01594, allocations: 35.98 kB / 384.4 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003942/0.01633, allocations: 31.97 kB / 384.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005178/0.01685, allocations: 225.5 kB / 384.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001086/0.01696, allocations: 96.3 kB / 384.7 MB, free: 11.19 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.018e-05/0.01701, allocations: 17.27 kB / 384.8 MB, free: 11.17 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.313e-05/0.01705, allocations: 24.5 kB / 384.8 MB, free: 11.15 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01706, allocations: 0 / 384.8 MB, free: 11.15 MB / 362.7 MB Notification: Performance of Templates: time 0.00584/0.02289, allocations: 1.854 MB / 386.6 MB, free: 9.312 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.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: 4.996866648085415]