Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test39.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.001508/0.001508, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.002012/0.002012, allocations: 208.6 kB / 24.54 MB, free: 4.055 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.596/1.596, allocations: 230.3 MB / 258 MB, free: 8.215 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2705/0.2705, allocations: 46.94 MB / 361.4 MB, free: 4.391 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test39") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003401/0.003401, allocations: 75.88 kB / 0.4972 GB, free: 7.449 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.481/0.4844, allocations: 66.04 MB / 0.5617 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003175/0.4876, allocations: 1.702 MB / 0.5634 GB, free: 2.781 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001889/0.4895, allocations: 1.033 MB / 0.5644 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.453e-05/0.4895, allocations: 0 / 0.5644 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003449/0.4899, allocations: 67.72 kB / 0.5644 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000324/0.4902, allocations: 99.59 kB / 0.5645 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001874/0.4904, allocations: 75.67 kB / 0.5646 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001974/0.4906, allocations: 107.7 kB / 0.5647 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.134e-05/0.4906, allocations: 8.234 kB / 0.5647 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.4908, allocations: 51.72 kB / 0.5648 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.4909, allocations: 55.75 kB / 0.5648 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.4909, allocations: 4 kB / 0.5648 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.229e-05/0.491, allocations: 27.98 kB / 0.5649 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.167e-05/0.491, allocations: 27.91 kB / 0.5649 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.85e-05/0.4911, allocations: 27.81 kB / 0.5649 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003099/0.4914, allocations: 110 kB / 0.565 GB, free: 1.098 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.4914, allocations: 0 / 0.565 GB, free: 1.098 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.4914, allocations: 7.938 kB / 0.565 GB, free: 1.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.4914, allocations: 0 / 0.565 GB, free: 1.09 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005922/0.492, allocations: 341.6 kB / 0.5653 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.4921, allocations: 8.031 kB / 0.5654 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.147e-05/0.4921, allocations: 12.84 kB / 0.5654 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002789/0.4924, allocations: 147.1 kB / 0.5655 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.4924, allocations: 384 / 0.5655 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/0.4924, allocations: 8.359 kB / 0.5655 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.4926, allocations: 46 kB / 0.5656 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.4926, allocations: 3.938 kB / 0.5656 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.4926, allocations: 0 / 0.5656 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.4926, allocations: 8 kB / 0.5656 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.264e-05/0.4927, allocations: 15.98 kB / 0.5656 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002069/0.4929, allocations: 156.7 kB / 0.5657 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.493, allocations: 54.59 kB / 0.5658 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.88e-05/0.4931, allocations: 20.84 kB / 0.5658 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.4931, allocations: 4 kB / 0.5658 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001526/0.4933, allocations: 71.27 kB / 0.5659 GB, free: 88 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.4933, allocations: 0 / 0.5659 GB, free: 88 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003243/0.4936, allocations: 93.62 kB / 0.566 GB, free: 15.99 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.464e-05/0.4936, allocations: 51.41 kB / 0.566 GB, free: 15.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.4939, allocations: 198.3 kB / 0.5662 GB, free: 15.72 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.4939, allocations: 29.64 kB / 0.5662 GB, free: 15.69 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.485e-05/0.4939, allocations: 108.1 kB / 0.5663 GB, free: 15.58 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.397e-05/0.494, allocations: 15.91 kB / 0.5664 GB, free: 15.56 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.802e-05/0.494, allocations: 17.72 kB / 0.5664 GB, free: 15.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.4942, allocations: 322.8 kB / 0.5667 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.617e-05/0.4942, allocations: 19.92 kB / 0.5667 GB, free: 15.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.946e-05/0.4943, allocations: 25.7 kB / 0.5667 GB, free: 15.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.4944, allocations: 41.72 kB / 0.5668 GB, free: 15.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4944, allocations: 4 kB / 0.5668 GB, free: 15.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001683/0.4946, allocations: 89.45 kB / 0.5669 GB, free: 15.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.4946, allocations: 4 kB / 0.5669 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.4946, allocations: 4 kB / 0.5669 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.4946, allocations: 0 / 0.5669 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.918e-05/0.4947, allocations: 12.31 kB / 0.5669 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.4947, allocations: 0 / 0.5669 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.217e-05/0.4947, allocations: 15.92 kB / 0.5669 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.4947, allocations: 4.031 kB / 0.5669 GB, free: 14.98 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 (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.0001363/0.4949, allocations: 121.8 kB / 0.567 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.4949, allocations: 15.83 kB / 0.567 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002418/0.4951, allocations: 90.75 kB / 0.5671 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.4951, allocations: 0 / 0.5671 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.4951, allocations: 0 / 0.5671 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.4951, allocations: 0 / 0.5671 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001999/0.4953, allocations: 156.7 kB / 0.5673 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.4953, allocations: 0 / 0.5673 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.749e-05/0.4954, allocations: 15.92 kB / 0.5673 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.4954, allocations: 0 / 0.5673 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.4954, allocations: 8 kB / 0.5673 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4954, allocations: 0 / 0.5673 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.4954, allocations: 0 / 0.5673 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002082/0.4956, allocations: 105 kB / 0.5674 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.2e-05/0.4956, allocations: 11.89 kB / 0.5674 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/0.4957, allocations: 4 kB / 0.5674 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.893e-05/0.4957, allocations: 8 kB / 0.5674 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/0.4957, allocations: 3.984 kB / 0.5674 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.4957, allocations: 4 kB / 0.5674 GB, free: 14.36 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001639/0.4959, allocations: 156.2 kB / 0.5676 GB, free: 14.21 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4959, allocations: 0 / 0.5676 GB, free: 14.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002198/0.4961, allocations: 15.94 kB / 0.5676 GB, free: 14.19 MB / 414.1 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 (5): * Single equations (assignments): 3 * 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.001712/0.4978, allocations: 409.6 kB / 0.568 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000171/0.498, allocations: 43.92 kB / 0.568 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.498, allocations: 0 / 0.568 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.888e-05/0.4981, allocations: 19.98 kB / 0.568 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.4984, allocations: 31.2 kB / 0.5681 GB, free: 13.83 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004814/0.4989, allocations: 205.9 kB / 0.5683 GB, free: 13.6 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003844/0.4992, allocations: 0.7041 MB / 0.5689 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.071e-05/0.4993, allocations: 16.34 kB / 0.569 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.719e-05/0.4993, allocations: 19.42 kB / 0.569 GB, free: 12.84 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4993, allocations: 3.938 kB / 0.569 GB, free: 12.84 MB / 414.1 MB Notification: Performance of Templates: time 0.00506/0.5044, allocations: 1.524 MB / 0.5705 GB, free: 11.32 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test39.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test39.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.669298941269517]