Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.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.001448/0.001448, allocations: 110.4 kB / 21.17 MB, free: 0.7852 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.001473/0.001473, allocations: 217.4 kB / 24.47 MB, free: 4.359 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.519/1.519, allocations: 230.2 MB / 257.8 MB, free: 8.496 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.2397/0.2397, allocations: 46.89 MB / 361.1 MB, free: 4.648 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.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator") [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.002393/0.002393, allocations: 79.86 kB / 0.4967 GB, free: 7.848 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.3791, allocations: 65.98 MB / 0.5612 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001676/0.3807, allocations: 489 kB / 0.5616 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003196/0.3839, allocations: 2.174 MB / 0.5638 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.702e-05/0.384, allocations: 4 kB / 0.5638 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.8e-05/0.384, allocations: 0 / 0.5638 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.81e-05/0.384, allocations: 0 / 0.5638 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001135/0.3851, allocations: 402.7 kB / 0.5641 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.139e-05/0.3852, allocations: 3.984 kB / 0.5641 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.414e-05/0.3852, allocations: 8 kB / 0.5642 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.486e-05/0.3852, allocations: 0 / 0.5642 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02036/0.4056, allocations: 3.374 MB / 0.5674 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.4056, allocations: 3.938 kB / 0.5675 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.4057, allocations: 11.97 kB / 0.5675 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.028e-05/0.4057, allocations: 0 / 0.5675 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.74e-05/0.4057, allocations: 4 kB / 0.5675 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.4059, allocations: 8 kB / 0.5675 GB, free: 15.19 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.4059, allocations: 0 / 0.5675 GB, free: 15.19 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.4059, allocations: 4 kB / 0.5675 GB, free: 15.18 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.4059, allocations: 0 / 0.5675 GB, free: 15.18 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003587/0.4063, allocations: 315.5 kB / 0.5678 GB, free: 14.83 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.4063, allocations: 12.03 kB / 0.5678 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002065/0.4065, allocations: 84.22 kB / 0.5679 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.4067, allocations: 243.6 kB / 0.5681 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.444e-05/0.4068, allocations: 150.9 kB / 0.5682 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.533e-05/0.4068, allocations: 158.9 kB / 0.5684 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.502e-05/0.4069, allocations: 105.3 kB / 0.5685 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.662e-05/0.407, allocations: 75.28 kB / 0.5686 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.871e-05/0.407, allocations: 154.5 kB / 0.5687 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.556e-05/0.4071, allocations: 154.5 kB / 0.5689 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.9e-05/0.4072, allocations: 154.6 kB / 0.569 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003475/0.4075, allocations: 449.9 kB / 0.5694 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.4076, allocations: 165.1 kB / 0.5696 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.847e-05/0.4077, allocations: 80.14 kB / 0.5697 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.551e-05/0.4077, allocations: 83.22 kB / 0.5698 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.594e-05/0.4078, allocations: 113.8 kB / 0.5699 GB, free: 12.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.4078, allocations: 0 / 0.5699 GB, free: 12.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 9.133e-05/0.4079, allocations: 29.7 kB / 0.5699 GB, free: 12.53 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.408, allocations: 182 kB / 0.5701 GB, free: 12.33 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.4081, allocations: 89.86 kB / 0.5702 GB, free: 12.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.4081, allocations: 29.7 kB / 0.5702 GB, free: 12.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.173e-05/0.4082, allocations: 84.27 kB / 0.5703 GB, free: 12.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.134e-06/0.4082, allocations: 0 / 0.5703 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/0.4082, allocations: 17.7 kB / 0.5703 GB, free: 12.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.4084, allocations: 314.8 kB / 0.5706 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.099e-06/0.4084, allocations: 0 / 0.5706 GB, free: 11.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.656e-05/0.4084, allocations: 13.66 kB / 0.5706 GB, free: 11.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.735e-05/0.4084, allocations: 75.28 kB / 0.5707 GB, free: 11.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.595e-05/0.4085, allocations: 79.31 kB / 0.5707 GB, free: 11.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.636e-05/0.4085, allocations: 29.7 kB / 0.5708 GB, free: 11.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.73e-05/0.4086, allocations: 83.22 kB / 0.5708 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.494e-05/0.4086, allocations: 79.28 kB / 0.5709 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.178e-05/0.4087, allocations: 158.5 kB / 0.5711 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.478e-05/0.4087, allocations: 83.33 kB / 0.5712 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.7e-05/0.4088, allocations: 154.5 kB / 0.5713 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.199e-05/0.4089, allocations: 83.28 kB / 0.5714 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.323e-05/0.4089, allocations: 75.28 kB / 0.5715 GB, free: 10.86 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0001458/0.4091, allocations: 264.3 kB / 0.5717 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.078e-05/0.4091, allocations: 104.9 kB / 0.5718 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.295e-05/0.4092, allocations: 119.8 kB / 0.5719 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.885e-05/0.4093, allocations: 192.2 kB / 0.5721 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.862e-05/0.4094, allocations: 176.3 kB / 0.5723 GB, free: 9.977 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.376e-05/0.4095, allocations: 180.2 kB / 0.5724 GB, free: 9.793 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/0.4097, allocations: 401.2 kB / 0.5728 GB, free: 9.344 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.553e-05/0.4098, allocations: 105 kB / 0.5729 GB, free: 9.234 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.16e-05/0.4098, allocations: 104.9 kB / 0.573 GB, free: 9.125 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.562e-05/0.4099, allocations: 184.2 kB / 0.5732 GB, free: 8.938 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.434e-05/0.41, allocations: 184.2 kB / 0.5734 GB, free: 8.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.403e-05/0.4101, allocations: 180.3 kB / 0.5735 GB, free: 8.566 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.506e-05/0.4102, allocations: 176.3 kB / 0.5737 GB, free: 8.387 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/0.4103, allocations: 312.1 kB / 0.574 GB, free: 8.059 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.124e-05/0.4104, allocations: 190 kB / 0.5742 GB, free: 7.848 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/0.4105, allocations: 184.3 kB / 0.5744 GB, free: 7.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.4106, allocations: 105 kB / 0.5745 GB, free: 7.551 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.253e-05/0.4107, allocations: 180.2 kB / 0.5746 GB, free: 7.367 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.525e-05/0.4108, allocations: 105 kB / 0.5747 GB, free: 7.258 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.314e-05/0.4108, allocations: 83.27 kB / 0.5748 GB, free: 7.176 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4108, allocations: 0 / 0.5748 GB, free: 7.176 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002552/0.4111, allocations: 0 / 0.5748 GB, free: 7.176 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0001346/0.4112, allocations: 166.5 kB / 0.575 GB, free: 7.004 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 6.739e-05/0.4113, allocations: 11.88 kB / 0.575 GB, free: 6.992 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4113, allocations: 0 / 0.575 GB, free: 6.992 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.4113, allocations: 96 / 0.575 GB, free: 6.992 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004766/0.4117, allocations: 463.7 kB / 0.5754 GB, free: 6.535 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002326/0.412, allocations: 152.3 kB / 0.5756 GB, free: 6.359 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.4123, allocations: 0.6729 MB / 0.5762 GB, free: 5.66 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.462e-05/0.4123, allocations: 0 / 0.5762 GB, free: 5.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.616e-05/0.4123, allocations: 7.438 kB / 0.5762 GB, free: 5.652 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4123, allocations: 4 kB / 0.5762 GB, free: 5.648 MB / 414.1 MB Notification: Performance of Templates: time 0.002772/0.4151, allocations: 304.2 kB / 0.5765 GB, free: 5.355 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.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.267564409878105]