Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.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.001004/0.001004, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001713/0.001713, allocations: 165 kB / 24.99 MB, free: 8.801 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 0.9632/0.9632, 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.2306/0.2306, allocations: 34.85 MB / 296.6 MB, free: 0.4961 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.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 378.8 MB, free: 2.316 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.597e-05/2.776e-05, allocations: 6.25 kB / 378.8 MB, free: 2.309 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003607/0.003635, allocations: 1.772 MB / 380.6 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002333/0.005968, allocations: 1.725 MB / 382.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.977e-05/0.006057, allocations: 0 / 382.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003213/0.006379, allocations: 31.78 kB / 382.4 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003424/0.006721, allocations: 115.3 kB / 382.5 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001683/0.006889, allocations: 79.67 kB / 382.6 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001734/0.007063, allocations: 115.6 kB / 382.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.958e-05/0.007152, allocations: 4 kB / 382.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.238e-05/0.007245, allocations: 55.83 kB / 382.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.007346, allocations: 35.89 kB / 382.8 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.007365, allocations: 11.94 kB / 382.8 MB, free: 14.35 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001424/0.007507, allocations: 103.8 kB / 382.9 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.845e-05/0.007556, allocations: 19.91 kB / 382.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.88e-05/0.007595, allocations: 19.94 kB / 382.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002504/0.007845, allocations: 159.5 kB / 383.1 MB, free: 14.05 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.007849, allocations: 0 / 383.1 MB, free: 14.05 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.00785, allocations: 4 kB / 383.1 MB, free: 14.05 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.007855, allocations: 3.938 kB / 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.0006336/0.008489, allocations: 451.8 kB / 383.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.008538, allocations: 8.031 kB / 383.5 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.582e-05/0.008604, allocations: 12.89 kB / 383.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/0.008836, allocations: 149 kB / 383.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.008861, allocations: 4.375 kB / 383.7 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.997e-05/0.008891, allocations: 384 / 383.7 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.009078, allocations: 116 kB / 383.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.009091, allocations: 11.83 kB / 383.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.009102, allocations: 4 kB / 383.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.00911, allocations: 0 / 383.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.529e-05/0.009155, allocations: 11.98 kB / 383.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003216/0.009477, allocations: 279.8 kB / 384.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.009585, allocations: 59.11 kB / 384.2 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.479e-05/0.00962, allocations: 15.62 kB / 384.2 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.009638, allocations: 3.938 kB / 384.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001231/0.009762, allocations: 69.05 kB / 384.2 MB, free: 12.72 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.009762, allocations: 4 kB / 384.2 MB, free: 12.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004135/0.01018, allocations: 157.4 kB / 384.4 MB, free: 12.56 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.01022, allocations: 81.11 kB / 384.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.01038, allocations: 211.7 kB / 384.7 MB, free: 12.24 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.0104, allocations: 29.7 kB / 384.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.257e-05/0.01046, allocations: 142.9 kB / 384.9 MB, free: 12.06 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.117e-05/0.01049, allocations: 23.8 kB / 384.9 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.306e-05/0.01053, allocations: 35.36 kB / 384.9 MB, free: 11.99 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.01067, allocations: 0.4923 MB / 385.4 MB, free: 11.49 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.031e-05/0.0107, allocations: 8 kB / 385.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.789e-05/0.01076, allocations: 76.69 kB / 385.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.146e-05/0.01083, allocations: 59.28 kB / 385.5 MB, free: 11.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.01084, allocations: 0 / 385.5 MB, free: 11.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001618/0.011, allocations: 93.53 kB / 385.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.01102, allocations: 4 kB / 385.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.01103, allocations: 4 kB / 385.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/0.01105, allocations: 0 / 385.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.01117, allocations: 15.98 kB / 385.7 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.01118, allocations: 0 / 385.7 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.015e-05/0.01122, allocations: 8.062 kB / 385.7 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-06/0.01123, allocations: 4 kB / 385.7 MB, free: 11.19 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.0001152/0.01134, allocations: 168.5 kB / 385.8 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.297e-05/0.01136, allocations: 7.953 kB / 385.8 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002225/0.01159, allocations: 106.4 kB / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.01159, allocations: 0 / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.0116, allocations: 0 / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.0116, allocations: 0 / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004067/0.01201, allocations: 396.9 kB / 386.3 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.01201, allocations: 4.031 kB / 386.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.895e-05/0.01205, allocations: 8 kB / 386.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.01205, allocations: 0 / 386.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.01207, allocations: 8 kB / 386.4 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.01207, allocations: 0 / 386.4 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.01207, allocations: 0 / 386.4 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001874/0.01226, allocations: 259.4 kB / 386.6 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.962e-05/0.01228, allocations: 15.94 kB / 386.6 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.905e-05/0.01231, allocations: 8 kB / 386.6 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.736e-05/0.01236, allocations: 0 / 386.6 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.353e-05/0.0124, allocations: 7.984 kB / 386.6 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.01242, allocations: 8 kB / 386.6 MB, free: 10.12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.446e-05/0.01251, allocations: 165.5 kB / 386.8 MB, free: 9.961 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01251, allocations: 0 / 386.8 MB, free: 9.961 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002324/0.01274, allocations: 51.86 kB / 386.9 MB, free: 9.91 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.001125/0.01387, allocations: 0.532 MB / 387.4 MB, free: 9.539 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001387/0.01401, allocations: 55.64 kB / 387.4 MB, free: 9.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01401, allocations: 0 / 387.4 MB, free: 9.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.915e-05/0.01405, allocations: 31.61 kB / 387.5 MB, free: 9.445 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002361/0.01428, allocations: 32.11 kB / 387.5 MB, free: 9.414 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003817/0.01467, allocations: 201.9 kB / 387.7 MB, free: 9.184 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.22e-05/0.01471, allocations: 63.34 kB / 387.8 MB, free: 9.102 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.472e-05/0.01475, allocations: 24.84 kB / 387.8 MB, free: 9.074 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.855e-05/0.01479, allocations: 24.48 kB / 387.8 MB, free: 9.051 MB / 362.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01479, allocations: 0 / 387.8 MB, free: 9.051 MB / 362.7 MB Notification: Performance of Templates: time 0.004372/0.01917, allocations: 2.538 MB / 390.4 MB, free: 6.539 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.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.1236865299288183]