Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.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.001845/0.001845, allocations: 99.53 kB / 20.97 MB, free: 3.449 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.001943/0.001943, allocations: 160.8 kB / 24.27 MB, free: 152 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.575/1.575, allocations: 177 MB / 204.5 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.3695/0.3695, allocations: 34.26 MB / 295.2 MB, free: 0.6133 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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 377.3 MB, free: 2.805 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.491e-05/2.62e-05, allocations: 2.312 kB / 377.3 MB, free: 2.801 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003234/0.00326, allocations: 1.688 MB / 379 MB, free: 1.098 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001888/0.005148, allocations: 0.9815 MB / 380 MB, free: 112 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.544e-05/0.005213, allocations: 3.938 kB / 380 MB, free: 108 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004962/0.005709, allocations: 83.7 kB / 380 MB, free: 24 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004164/0.006126, allocations: 123.6 kB / 380.2 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002141/0.00634, allocations: 79.59 kB / 380.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002097/0.006549, allocations: 107.7 kB / 380.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.385e-05/0.006593, allocations: 8.234 kB / 380.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.006727, allocations: 59.77 kB / 380.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.006847, allocations: 51.88 kB / 380.5 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.375e-05/0.006871, allocations: 4 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.953e-05/0.006961, allocations: 35.92 kB / 380.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.558e-05/0.007026, allocations: 31.84 kB / 380.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.288e-05/0.007079, allocations: 15.94 kB / 380.6 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002336/0.007313, allocations: 111.6 kB / 380.7 MB, free: 15.4 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.007317, allocations: 3.938 kB / 380.7 MB, free: 15.4 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.007318, allocations: 0 / 380.7 MB, free: 15.4 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.007322, allocations: 4 kB / 380.7 MB, free: 15.39 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006523/0.007975, allocations: 447.5 kB / 381.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.008018, allocations: 8.031 kB / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.505e-05/0.008083, allocations: 20.81 kB / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002489/0.008332, allocations: 156.4 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.008347, allocations: 4.375 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.008358, allocations: 4.359 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.008481, allocations: 42.25 kB / 381.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.00849, allocations: 4.188 kB / 381.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.008503, allocations: 8.359 kB / 381.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.008509, allocations: 3.938 kB / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.397e-05/0.008573, allocations: 15.94 kB / 381.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002132/0.008786, allocations: 148.7 kB / 381.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001826/0.008969, allocations: 59.09 kB / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.312e-05/0.009022, allocations: 19.69 kB / 381.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.009036, allocations: 0 / 381.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001481/0.009184, allocations: 68.98 kB / 381.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.009185, allocations: 4 kB / 381.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.000317/0.009502, allocations: 105.6 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.083e-05/0.009563, allocations: 55.34 kB / 381.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002953/0.009859, allocations: 262.7 kB / 382.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/0.009893, allocations: 25.7 kB / 382.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.01002, allocations: 158.9 kB / 382.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.626e-05/0.01007, allocations: 19.84 kB / 382.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.332e-05/0.01012, allocations: 27.38 kB / 382.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002768/0.0104, allocations: 0.4962 MB / 382.8 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.497e-05/0.01044, allocations: 15.98 kB / 382.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.625e-05/0.01051, allocations: 43.3 kB / 382.9 MB, free: 13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.674e-05/0.0106, allocations: 43.38 kB / 382.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.01061, allocations: 0 / 382.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001606/0.01077, allocations: 85.78 kB / 383 MB, free: 12.86 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.01078, allocations: 8 kB / 383 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.01079, allocations: 64 / 383 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.0108, allocations: 4 kB / 383 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.725e-05/0.01089, allocations: 15.92 kB / 383 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.0109, allocations: 0 / 383 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.256e-05/0.01094, allocations: 4 kB / 383 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.01095, allocations: 8.031 kB / 383 MB, free: 12.82 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 (7): * Single equations (assignments): 7 * 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.0001259/0.01107, allocations: 166.8 kB / 383.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.926e-05/0.0111, allocations: 19.83 kB / 383.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000201/0.01131, allocations: 90.83 kB / 383.3 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.01131, allocations: 0 / 383.3 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.01131, allocations: 3.938 kB / 383.3 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.01132, allocations: 0 / 383.3 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003828/0.0117, allocations: 156.6 kB / 383.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.0117, allocations: 3.984 kB / 383.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.668e-05/0.01173, allocations: 4 kB / 383.5 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.01173, allocations: 4 kB / 383.5 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.01175, allocations: 4 kB / 383.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.01175, allocations: 0 / 383.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.01175, allocations: 0 / 383.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002195/0.01197, allocations: 136.2 kB / 383.6 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.08e-05/0.01199, allocations: 7.953 kB / 383.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.01201, allocations: 0 / 383.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.291e-05/0.01204, allocations: 0 / 383.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.987e-05/0.01208, allocations: 15.91 kB / 383.6 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.0121, allocations: 8 kB / 383.6 MB, free: 12.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001648/0.01226, allocations: 193 kB / 383.8 MB, free: 11.95 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01226, allocations: 4 kB / 383.8 MB, free: 11.95 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002012/0.01246, allocations: 15.94 kB / 383.8 MB, free: 11.93 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.002779/0.01524, allocations: 434.2 kB / 384.3 MB, free: 11.65 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001685/0.01541, allocations: 47.61 kB / 384.3 MB, free: 11.6 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01541, allocations: 0 / 384.3 MB, free: 11.6 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.212e-05/0.01548, allocations: 31.67 kB / 384.3 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002934/0.01578, allocations: 27.95 kB / 384.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004832/0.01626, allocations: 224.8 kB / 384.6 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.943e-05/0.01636, allocations: 92.25 kB / 384.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.33e-05/0.0164, allocations: 12.73 kB / 384.7 MB, free: 11.17 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.978e-05/0.01644, allocations: 16.5 kB / 384.7 MB, free: 11.15 MB / 362.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01644, allocations: 0 / 384.7 MB, free: 11.15 MB / 362.7 MB Notification: Performance of Templates: time 0.005226/0.02167, allocations: 1.644 MB / 386.4 MB, free: 9.523 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.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.94751920492854]