Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.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.001517/0.001517, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001793/0.001793, allocations: 214.7 kB / 24.48 MB, free: 3.941 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.419/1.419, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.235/0.235, allocations: 46.96 MB / 361.6 MB, free: 4.105 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 67.89 kB / 0.4973 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3943/0.3963, allocations: 66.03 MB / 0.5618 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001819/0.3981, allocations: 489.1 kB / 0.5623 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003421/0.4015, allocations: 2.07 MB / 0.5643 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.706e-05/0.4016, allocations: 0 / 0.5643 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.367e-05/0.4016, allocations: 0 / 0.5643 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.736e-05/0.4016, allocations: 0 / 0.5643 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001234/0.4028, allocations: 402.2 kB / 0.5647 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.87e-05/0.4029, allocations: 0 / 0.5647 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.835e-05/0.4029, allocations: 8 kB / 0.5647 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.152e-05/0.403, allocations: 11.98 kB / 0.5647 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0205/0.4235, allocations: 3.385 MB / 0.568 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.4235, allocations: 0 / 0.568 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.394e-05/0.4236, allocations: 4 kB / 0.568 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.595e-05/0.4236, allocations: 4 kB / 0.568 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.53e-05/0.4236, allocations: 11.98 kB / 0.568 GB, free: 14.39 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001543/0.4238, allocations: 7.984 kB / 0.568 GB, free: 14.39 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.4238, allocations: 0 / 0.568 GB, free: 14.39 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.4238, allocations: 0 / 0.568 GB, free: 14.39 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.553e-06/0.4238, allocations: 0 / 0.568 GB, free: 14.39 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.0003302/0.4241, allocations: 242.4 kB / 0.5682 GB, free: 14.12 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.4241, allocations: 12.03 kB / 0.5683 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002216/0.4244, allocations: 80.22 kB / 0.5683 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.4245, allocations: 181.8 kB / 0.5685 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.846e-05/0.4246, allocations: 158.9 kB / 0.5687 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.418e-05/0.4247, allocations: 158.7 kB / 0.5688 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.76e-05/0.4248, allocations: 105 kB / 0.5689 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.818e-05/0.4248, allocations: 79.22 kB / 0.569 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.228e-05/0.4249, allocations: 154.6 kB / 0.5691 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.662e-05/0.425, allocations: 150.6 kB / 0.5693 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.896e-05/0.425, allocations: 150.6 kB / 0.5694 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003086/0.4254, allocations: 393.6 kB / 0.5698 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.4255, allocations: 169.1 kB / 0.57 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.241e-05/0.4255, allocations: 88.08 kB / 0.57 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.662e-05/0.4256, allocations: 79.22 kB / 0.5701 GB, free: 12.12 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.217e-05/0.4256, allocations: 113.8 kB / 0.5702 GB, free: 12 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.4256, allocations: 0 / 0.5702 GB, free: 12 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 8.672e-05/0.4257, allocations: 37.67 kB / 0.5703 GB, free: 11.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/0.4258, allocations: 178.1 kB / 0.5704 GB, free: 11.76 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.4259, allocations: 93.86 kB / 0.5705 GB, free: 11.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.426, allocations: 29.7 kB / 0.5705 GB, free: 11.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.057e-05/0.426, allocations: 80.14 kB / 0.5706 GB, free: 11.54 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.653e-06/0.426, allocations: 0 / 0.5706 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.664e-05/0.426, allocations: 13.72 kB / 0.5706 GB, free: 11.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.4262, allocations: 310.8 kB / 0.5709 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.053e-06/0.4262, allocations: 8.062 kB / 0.5709 GB, free: 11.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.504e-05/0.4262, allocations: 65.11 kB / 0.571 GB, free: 11.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.447e-05/0.4263, allocations: 79.28 kB / 0.5711 GB, free: 11.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.452e-05/0.4263, allocations: 75.28 kB / 0.5711 GB, free: 10.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.85e-05/0.4264, allocations: 33.64 kB / 0.5712 GB, free: 10.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.779e-05/0.4264, allocations: 83.28 kB / 0.5713 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.83e-05/0.4265, allocations: 79.22 kB / 0.5713 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.756e-05/0.4266, allocations: 158.6 kB / 0.5715 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.642e-05/0.4266, allocations: 79.28 kB / 0.5716 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.059e-05/0.4267, allocations: 154.5 kB / 0.5717 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.422e-05/0.4268, allocations: 83.27 kB / 0.5718 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.605e-05/0.4268, allocations: 83.25 kB / 0.5719 GB, free: 10.21 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.0001562/0.427, allocations: 264.4 kB / 0.5721 GB, free: 9.945 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.186e-05/0.4271, allocations: 104.9 kB / 0.5722 GB, free: 9.836 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.648e-05/0.4271, allocations: 107.8 kB / 0.5723 GB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.467e-05/0.4272, allocations: 192.1 kB / 0.5725 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.587e-05/0.4273, allocations: 176.3 kB / 0.5727 GB, free: 9.348 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.081e-05/0.4274, allocations: 180.2 kB / 0.5728 GB, free: 9.164 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002362/0.4276, allocations: 352.9 kB / 0.5732 GB, free: 8.781 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-05/0.4277, allocations: 105 kB / 0.5733 GB, free: 8.672 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.111e-05/0.4278, allocations: 108.9 kB / 0.5734 GB, free: 8.559 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.069e-05/0.4278, allocations: 184.2 kB / 0.5736 GB, free: 8.371 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.114e-05/0.4279, allocations: 180.2 kB / 0.5737 GB, free: 8.188 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.43e-05/0.428, allocations: 184.3 kB / 0.5739 GB, free: 8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.814e-05/0.4281, allocations: 180.3 kB / 0.5741 GB, free: 7.816 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001859/0.4283, allocations: 304.1 kB / 0.5744 GB, free: 7.496 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.958e-05/0.4284, allocations: 112.9 kB / 0.5745 GB, free: 7.379 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/0.4285, allocations: 184.2 kB / 0.5747 GB, free: 7.191 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.4286, allocations: 109 kB / 0.5748 GB, free: 7.078 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.665e-05/0.4287, allocations: 180.2 kB / 0.5749 GB, free: 6.895 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.883e-05/0.4287, allocations: 101 kB / 0.575 GB, free: 6.789 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.533e-05/0.4288, allocations: 87.22 kB / 0.5751 GB, free: 6.703 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4288, allocations: 0 / 0.5751 GB, free: 6.703 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002649/0.429, allocations: 0 / 0.5751 GB, free: 6.703 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.0001568/0.4292, allocations: 170.5 kB / 0.5753 GB, free: 6.523 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 6.25e-05/0.4293, allocations: 7.938 kB / 0.5753 GB, free: 6.516 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4293, allocations: 0 / 0.5753 GB, free: 6.516 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/0.4293, allocations: 0 / 0.5753 GB, free: 6.516 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004834/0.4298, allocations: 466.9 kB / 0.5757 GB, free: 6.059 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002924/0.43, allocations: 152.3 kB / 0.5759 GB, free: 5.883 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.193e-05/0.4301, allocations: 59.45 kB / 0.5759 GB, free: 5.805 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.811e-05/0.4301, allocations: 0 / 0.5759 GB, free: 5.805 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.887e-05/0.4302, allocations: 7.438 kB / 0.5759 GB, free: 5.797 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4302, allocations: 0 / 0.5759 GB, free: 5.797 MB / 414.1 MB Notification: Performance of Templates: time 0.003027/0.4332, allocations: 340.8 kB / 0.5763 GB, free: 5.473 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 4.951138906995766]