Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 84.08 kB / 20.68 MB, free: 1.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00174/0.00174, allocations: 171.2 kB / 23.96 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.392/1.392, allocations: 177.1 MB / 204.3 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1981/0.1981, allocations: 32.81 MB / 293.5 MB, free: 16 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 440.2 MB, free: 8.051 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.334e-05/3.509e-05, allocations: 6.219 kB / 440.2 MB, free: 8.043 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.003102/0.003137, allocations: 1.715 MB / 441.9 MB, free: 6.316 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001775/0.004911, allocations: 0.9703 MB / 442.9 MB, free: 5.34 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.599e-05/0.004977, allocations: 0 / 442.9 MB, free: 5.34 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002685/0.005246, allocations: 47.77 kB / 442.9 MB, free: 5.293 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003089/0.005555, allocations: 103.5 kB / 443 MB, free: 5.191 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001941/0.005749, allocations: 83.55 kB / 443.1 MB, free: 5.109 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001779/0.005927, allocations: 99.69 kB / 443.2 MB, free: 5.012 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.104e-05/0.006018, allocations: 11.98 kB / 443.2 MB, free: 5 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.006123, allocations: 55.77 kB / 443.3 MB, free: 4.945 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.99e-05/0.006203, allocations: 23.92 kB / 443.3 MB, free: 4.922 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.006227, allocations: 7.984 kB / 443.3 MB, free: 4.914 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.732e-05/0.006324, allocations: 43.98 kB / 443.3 MB, free: 4.871 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.349e-05/0.006387, allocations: 27.86 kB / 443.4 MB, free: 4.844 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.359e-05/0.006451, allocations: 19.92 kB / 443.4 MB, free: 4.824 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000225/0.006676, allocations: 131.5 kB / 443.5 MB, free: 4.695 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.006678, allocations: 3.938 kB / 443.5 MB, free: 4.691 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.006679, allocations: 3.938 kB / 443.5 MB, free: 4.688 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.006684, allocations: 0 / 443.5 MB, free: 4.688 MB / 366.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.0005739/0.007258, allocations: 353.5 kB / 443.9 MB, free: 4.312 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.00729, allocations: 12.03 kB / 443.9 MB, free: 4.301 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.071e-05/0.007341, allocations: 16.84 kB / 443.9 MB, free: 4.285 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002439/0.007585, allocations: 166.3 kB / 444.1 MB, free: 4.094 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.007597, allocations: 4.375 kB / 444.1 MB, free: 4.09 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.007615, allocations: 384 / 444.1 MB, free: 4.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.007767, allocations: 58.23 kB / 444.1 MB, free: 4.027 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.00778, allocations: 3.938 kB / 444.1 MB, free: 4.023 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.00779, allocations: 0 / 444.1 MB, free: 4.023 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.007794, allocations: 0 / 444.1 MB, free: 4.023 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.485e-05/0.007879, allocations: 31.91 kB / 444.2 MB, free: 3.992 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003515/0.008231, allocations: 236.6 kB / 444.4 MB, free: 3.73 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.008408, allocations: 50.67 kB / 444.4 MB, free: 3.672 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.374e-05/0.008481, allocations: 24.8 kB / 444.5 MB, free: 3.645 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.008498, allocations: 7.938 kB / 444.5 MB, free: 3.637 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001594/0.008657, allocations: 67.38 kB / 444.5 MB, free: 3.559 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.008659, allocations: 4 kB / 444.5 MB, free: 3.555 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005599/0.009219, allocations: 181.3 kB / 444.7 MB, free: 3.371 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.009262, allocations: 51.41 kB / 444.8 MB, free: 3.309 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000256/0.009518, allocations: 239.6 kB / 445 MB, free: 3.066 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.009539, allocations: 29.7 kB / 445 MB, free: 3.031 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.254e-05/0.009622, allocations: 116.1 kB / 445.1 MB, free: 2.914 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.743e-05/0.009659, allocations: 27.77 kB / 445.2 MB, free: 2.887 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.704e-05/0.009716, allocations: 25.72 kB / 445.2 MB, free: 2.855 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.009873, allocations: 322.8 kB / 445.5 MB, free: 2.531 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.319e-05/0.009936, allocations: 27.92 kB / 445.5 MB, free: 2.504 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.542e-05/0.01002, allocations: 37.7 kB / 445.6 MB, free: 2.461 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.01016, allocations: 69.64 kB / 445.6 MB, free: 2.387 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.01016, allocations: 0 / 445.6 MB, free: 2.387 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002075/0.01037, allocations: 105.5 kB / 445.7 MB, free: 2.277 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.01038, allocations: 12.03 kB / 445.8 MB, free: 2.266 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.01038, allocations: 0 / 445.8 MB, free: 2.266 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.0104, allocations: 3.984 kB / 445.8 MB, free: 2.262 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.546e-05/0.01049, allocations: 16.19 kB / 445.8 MB, free: 2.246 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.259e-06/0.0105, allocations: 4 kB / 445.8 MB, free: 2.242 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.932e-05/0.01055, allocations: 8.297 kB / 445.8 MB, free: 2.234 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.01056, allocations: 4 kB / 445.8 MB, free: 2.23 MB / 366.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.0001159/0.01067, allocations: 130.4 kB / 445.9 MB, free: 2.094 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.915e-05/0.0107, allocations: 19.89 kB / 445.9 MB, free: 2.074 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002842/0.01099, allocations: 127.1 kB / 446.1 MB, free: 1.945 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.01099, allocations: 4 kB / 446.1 MB, free: 1.941 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.011, allocations: 0 / 446.1 MB, free: 1.941 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.011, allocations: 0 / 446.1 MB, free: 1.941 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004819/0.01148, allocations: 362.9 kB / 446.4 MB, free: 1.547 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.01148, allocations: 0 / 446.4 MB, free: 1.547 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.057e-05/0.01152, allocations: 8 kB / 446.4 MB, free: 1.539 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.01153, allocations: 7.938 kB / 446.4 MB, free: 1.531 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.01154, allocations: 3.984 kB / 446.4 MB, free: 1.527 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.01154, allocations: 0 / 446.4 MB, free: 1.527 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.01155, allocations: 8.031 kB / 446.4 MB, free: 1.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002812/0.01183, allocations: 216.2 kB / 446.7 MB, free: 1.289 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.433e-05/0.01185, allocations: 11.91 kB / 446.7 MB, free: 1.277 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.851e-05/0.01188, allocations: 7.984 kB / 446.7 MB, free: 1.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.59e-05/0.01196, allocations: 4 kB / 446.7 MB, free: 1.266 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.937e-05/0.01199, allocations: 3.984 kB / 446.7 MB, free: 1.262 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.01201, allocations: 4 kB / 446.7 MB, free: 1.258 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001903/0.0122, allocations: 183.2 kB / 446.9 MB, free: 1.078 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.0122, allocations: 0 / 446.9 MB, free: 1.078 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002783/0.01248, allocations: 27.94 kB / 446.9 MB, free: 1.051 MB / 366.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.001914/0.01439, allocations: 0.4894 MB / 447.4 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002214/0.01462, allocations: 63.89 kB / 447.4 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.01462, allocations: 0 / 447.4 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.129e-05/0.01471, allocations: 39.98 kB / 447.5 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003872/0.0151, allocations: 27.03 kB / 447.5 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005498/0.01565, allocations: 262.7 kB / 447.8 MB, free: 364 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.01575, allocations: 104.6 kB / 447.9 MB, free: 240 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.705e-05/0.01581, allocations: 21.05 kB / 447.9 MB, free: 216 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.148e-05/0.01585, allocations: 20.48 kB / 447.9 MB, free: 196 kB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.01585, allocations: 0 / 447.9 MB, free: 196 kB / 366.1 MB Notification: Performance of Templates: time 0.1596/0.1754, allocations: 1.848 MB / 449.8 MB, free: 21.13 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.511681571602821]