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.001704/0.001704, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.001982/0.001982, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.606/1.606, allocations: 230.6 MB / 257.5 MB, free: 7.98 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.23/0.23, allocations: 46.93 MB / 360.9 MB, free: 4.258 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: "" <> buildModelFMU(ModelicaTest.Utilities.TestExamplesCalculator,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Utilities_TestExamplesCalculator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestExamplesCalculator,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Utilities_TestExamplesCalculator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 67.91 kB / 0.4961 GB, free: 7.902 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3488, allocations: 66.04 MB / 0.5606 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001555/0.3504, allocations: 485 kB / 0.5611 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003287/0.3537, allocations: 2.171 MB / 0.5632 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.518e-05/0.3537, allocations: 0 / 0.5632 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.673e-05/0.3537, allocations: 0 / 0.5632 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.612e-05/0.3537, allocations: 0 / 0.5632 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.3548, allocations: 402.7 kB / 0.5636 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.047e-05/0.3549, allocations: 8 kB / 0.5636 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.675e-05/0.3549, allocations: 0 / 0.5636 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.692e-05/0.3549, allocations: 7.984 kB / 0.5636 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02084/0.3757, allocations: 3.395 MB / 0.5669 GB, free: 14.61 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.3758, allocations: 0 / 0.5669 GB, free: 14.61 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.835e-05/0.3759, allocations: 4 kB / 0.5669 GB, free: 14.6 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.443e-05/0.3759, allocations: 7.922 kB / 0.5669 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.287e-05/0.3759, allocations: 0 / 0.5669 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001535/0.376, allocations: 11.98 kB / 0.567 GB, free: 14.58 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.3761, allocations: 4 kB / 0.567 GB, free: 14.58 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3761, allocations: 0 / 0.567 GB, free: 14.58 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.782e-06/0.3761, allocations: 0 / 0.567 GB, free: 14.58 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.0003763/0.3764, allocations: 234.4 kB / 0.5672 GB, free: 14.32 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.3765, allocations: 15.97 kB / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.709e-05/0.3766, allocations: 114 kB / 0.5673 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002168/0.3768, allocations: 84.2 kB / 0.5674 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.3769, allocations: 177.8 kB / 0.5676 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.396e-05/0.377, allocations: 158.9 kB / 0.5677 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.016e-05/0.3771, allocations: 154.5 kB / 0.5679 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.857e-05/0.3772, allocations: 105 kB / 0.568 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.069e-05/0.3772, allocations: 79.27 kB / 0.568 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-05/0.3773, allocations: 150.6 kB / 0.5682 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-05/0.3774, allocations: 154.6 kB / 0.5683 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.083e-05/0.3775, allocations: 154.5 kB / 0.5685 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003338/0.3778, allocations: 421 kB / 0.5689 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002096/0.378, allocations: 173.1 kB / 0.569 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.909e-05/0.378, allocations: 80.14 kB / 0.5691 GB, free: 12.24 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.696e-05/0.3781, allocations: 75.28 kB / 0.5692 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.828e-05/0.3782, allocations: 113.8 kB / 0.5693 GB, free: 12.04 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.293e-06/0.3782, allocations: 0 / 0.5693 GB, free: 12.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 8.416e-05/0.3782, allocations: 33.62 kB / 0.5693 GB, free: 12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.3783, allocations: 178.1 kB / 0.5695 GB, free: 11.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.3785, allocations: 97.86 kB / 0.5696 GB, free: 11.7 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.3785, allocations: 25.7 kB / 0.5696 GB, free: 11.67 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.442e-05/0.3785, allocations: 80.14 kB / 0.5697 GB, free: 11.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.974e-06/0.3785, allocations: 128 / 0.5697 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.624e-05/0.3786, allocations: 17.72 kB / 0.5697 GB, free: 11.56 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.3787, allocations: 310.8 kB / 0.57 GB, free: 11.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.3e-06/0.3787, allocations: 0 / 0.57 GB, free: 11.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.516e-05/0.3787, allocations: 9.719 kB / 0.57 GB, free: 11.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.898e-05/0.3788, allocations: 83.27 kB / 0.5701 GB, free: 11.15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-05/0.3788, allocations: 75.28 kB / 0.5702 GB, free: 11.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.774e-05/0.3789, allocations: 33.58 kB / 0.5702 GB, free: 11.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.029e-05/0.3789, allocations: 91.31 kB / 0.5703 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.413e-05/0.379, allocations: 75.28 kB / 0.5704 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.93e-05/0.3791, allocations: 154.6 kB / 0.5705 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.344e-05/0.3791, allocations: 79.22 kB / 0.5706 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.887e-05/0.3792, allocations: 154.6 kB / 0.5707 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.3793, allocations: 87.16 kB / 0.5708 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.725e-05/0.3793, allocations: 87.2 kB / 0.5709 GB, free: 10.32 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.0001652/0.3795, allocations: 268.3 kB / 0.5711 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.019e-05/0.3796, allocations: 101 kB / 0.5712 GB, free: 9.941 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.953e-05/0.3796, allocations: 111.7 kB / 0.5713 GB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.585e-05/0.3797, allocations: 180.3 kB / 0.5715 GB, free: 9.641 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.845e-05/0.3798, allocations: 188.2 kB / 0.5717 GB, free: 9.449 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001098/0.3799, allocations: 176.3 kB / 0.5719 GB, free: 9.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002687/0.3802, allocations: 380.2 kB / 0.5722 GB, free: 8.848 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.798e-05/0.3802, allocations: 105 kB / 0.5723 GB, free: 8.738 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.282e-05/0.3803, allocations: 101 kB / 0.5724 GB, free: 8.633 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.631e-05/0.3804, allocations: 180.2 kB / 0.5726 GB, free: 8.449 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.789e-05/0.3804, allocations: 184.3 kB / 0.5728 GB, free: 8.262 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.265e-05/0.3805, allocations: 184.2 kB / 0.5729 GB, free: 8.074 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.921e-05/0.3806, allocations: 180.3 kB / 0.5731 GB, free: 7.891 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001718/0.3808, allocations: 312 kB / 0.5734 GB, free: 7.562 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.07e-05/0.3808, allocations: 109 kB / 0.5735 GB, free: 7.449 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.595e-05/0.3809, allocations: 184.2 kB / 0.5737 GB, free: 7.262 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.381, allocations: 105 kB / 0.5738 GB, free: 7.152 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.927e-05/0.3811, allocations: 180.3 kB / 0.574 GB, free: 6.969 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-05/0.3812, allocations: 104.9 kB / 0.5741 GB, free: 6.859 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.988e-05/0.3812, allocations: 79.28 kB / 0.5741 GB, free: 6.781 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3812, allocations: 0 / 0.5741 GB, free: 6.781 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000255/0.3815, allocations: 8 kB / 0.5742 GB, free: 6.773 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.0004411/0.3819, allocations: 0.7969 MB / 0.5749 GB, free: 5.945 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 5.319e-05/0.382, allocations: 11.94 kB / 0.5749 GB, free: 5.934 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.382, allocations: 4.094 kB / 0.5749 GB, free: 5.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.203e-06/0.382, allocations: 0 / 0.5749 GB, free: 5.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003971/0.3824, allocations: 455.7 kB / 0.5754 GB, free: 5.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000382/0.3827, allocations: 177.9 kB / 0.5755 GB, free: 5.266 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.3831, allocations: 0.6729 MB / 0.5762 GB, free: 4.566 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.101e-05/0.3831, allocations: 8 kB / 0.5762 GB, free: 4.559 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.378e-05/0.3831, allocations: 7.438 kB / 0.5762 GB, free: 4.551 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3831, allocations: 0 / 0.5762 GB, free: 4.551 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02746/0.4106, allocations: 1.109 MB / 0.5773 GB, free: 3.566 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.28, allocations: 11.28 kB / 0.5773 GB, free: 3.559 MB / 414.1 MB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_4_1_0_ModelicaTest_Utilities_TestExamplesCalculator.fmu > ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator_res.csv","/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: 14.377462473996275]