Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001897/0.001897, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002355/0.002355, allocations: 207.9 kB / 23.73 MB, free: 4.391 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.45/1.45, allocations: 230.5 MB / 257.4 MB, free: 7.758 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2453/0.2453, allocations: 46.95 MB / 360.8 MB, free: 3.922 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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: "" <> buildModelFMU(ModelicaTest.Utilities.TestExamplesCalculator,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Utilities_TestExamplesCalculator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestExamplesCalculator,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Utilities_TestExamplesCalculator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002396/0.002396, allocations: 79.88 kB / 0.4961 GB, free: 7.57 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2989, allocations: 66.08 MB / 0.5607 GB, free: 3.918 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001855/0.3007, allocations: 491.5 kB / 0.5611 GB, free: 3.441 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003541/0.3043, allocations: 2.065 MB / 0.5632 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.425e-05/0.3043, allocations: 0 / 0.5632 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.025e-05/0.3043, allocations: 0 / 0.5632 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.884e-05/0.3043, allocations: 0 / 0.5632 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001224/0.3056, allocations: 402.7 kB / 0.5635 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.069e-05/0.3056, allocations: 4 kB / 0.5635 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.777e-05/0.3056, allocations: 4 kB / 0.5635 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.386e-05/0.3056, allocations: 3.984 kB / 0.5636 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02065/0.3263, allocations: 3.384 MB / 0.5669 GB, free: 14.2 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.3263, allocations: 4 kB / 0.5669 GB, free: 14.19 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.728e-05/0.3264, allocations: 4 kB / 0.5669 GB, free: 14.19 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.034e-05/0.3264, allocations: 0 / 0.5669 GB, free: 14.19 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.821e-05/0.3264, allocations: 0 / 0.5669 GB, free: 14.19 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001267/0.3265, allocations: 15.97 kB / 0.5669 GB, free: 14.17 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3266, allocations: 0 / 0.5669 GB, free: 14.17 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3266, allocations: 0 / 0.5669 GB, free: 14.17 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.3266, allocations: 3.938 kB / 0.5669 GB, free: 14.17 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.0002858/0.3268, allocations: 238.4 kB / 0.5671 GB, free: 13.91 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.3269, allocations: 8.031 kB / 0.5671 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.886e-05/0.327, allocations: 118 kB / 0.5672 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001979/0.3271, allocations: 92.19 kB / 0.5673 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.3273, allocations: 177.8 kB / 0.5675 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.639e-05/0.3273, allocations: 154.9 kB / 0.5676 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.702e-05/0.3274, allocations: 150.9 kB / 0.5678 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.266e-05/0.3275, allocations: 105.1 kB / 0.5679 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.505e-05/0.3275, allocations: 75.28 kB / 0.568 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.881e-05/0.3276, allocations: 154.6 kB / 0.5681 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.904e-05/0.3277, allocations: 158.5 kB / 0.5683 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.665e-05/0.3277, allocations: 154.5 kB / 0.5684 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00031/0.328, allocations: 417 kB / 0.5688 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.3281, allocations: 169.1 kB / 0.569 GB, free: 11.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.92e-05/0.3282, allocations: 80.14 kB / 0.569 GB, free: 11.83 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.804e-05/0.3282, allocations: 79.22 kB / 0.5691 GB, free: 11.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.46e-05/0.3283, allocations: 117.7 kB / 0.5692 GB, free: 11.63 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.3283, allocations: 0 / 0.5692 GB, free: 11.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 6.961e-05/0.3283, allocations: 25.7 kB / 0.5692 GB, free: 11.6 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.3285, allocations: 186.1 kB / 0.5694 GB, free: 11.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.3286, allocations: 93.86 kB / 0.5695 GB, free: 11.29 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.3286, allocations: 25.7 kB / 0.5695 GB, free: 11.26 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.051e-05/0.3286, allocations: 84.27 kB / 0.5696 GB, free: 11.17 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.392e-06/0.3286, allocations: 0 / 0.5696 GB, free: 11.17 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.51e-05/0.3286, allocations: 13.72 kB / 0.5696 GB, free: 11.15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.3288, allocations: 310.8 kB / 0.5699 GB, free: 10.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.987e-06/0.3288, allocations: 0 / 0.5699 GB, free: 10.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.402e-05/0.3288, allocations: 65.12 kB / 0.57 GB, free: 10.76 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.463e-05/0.3289, allocations: 75.28 kB / 0.5701 GB, free: 10.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.78e-05/0.3289, allocations: 79.22 kB / 0.5701 GB, free: 10.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.821e-05/0.329, allocations: 37.62 kB / 0.5702 GB, free: 10.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.454e-05/0.329, allocations: 83.28 kB / 0.5703 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.572e-05/0.3291, allocations: 83.31 kB / 0.5703 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.013e-05/0.3291, allocations: 162.5 kB / 0.5705 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.148e-05/0.3292, allocations: 75.28 kB / 0.5706 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.891e-05/0.3292, allocations: 158.5 kB / 0.5707 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.521e-05/0.3293, allocations: 75.28 kB / 0.5708 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.3294, allocations: 75.28 kB / 0.5709 GB, free: 9.859 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.0001378/0.3295, allocations: 268.4 kB / 0.5711 GB, free: 9.586 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.142e-05/0.3296, allocations: 112.9 kB / 0.5712 GB, free: 9.469 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.018e-05/0.3296, allocations: 107.8 kB / 0.5713 GB, free: 9.355 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.058e-05/0.3297, allocations: 184.1 kB / 0.5715 GB, free: 9.168 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-05/0.3298, allocations: 184.3 kB / 0.5717 GB, free: 8.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-05/0.3299, allocations: 180.2 kB / 0.5718 GB, free: 8.797 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002562/0.3301, allocations: 376.2 kB / 0.5722 GB, free: 8.379 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.506e-05/0.3302, allocations: 101 kB / 0.5723 GB, free: 8.273 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.745e-05/0.3302, allocations: 112.8 kB / 0.5724 GB, free: 8.156 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.033e-05/0.3303, allocations: 180.3 kB / 0.5726 GB, free: 7.973 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.657e-05/0.3304, allocations: 180.3 kB / 0.5727 GB, free: 7.789 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.191e-05/0.3305, allocations: 180.2 kB / 0.5729 GB, free: 7.605 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.83e-05/0.3306, allocations: 184.3 kB / 0.5731 GB, free: 7.418 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/0.3307, allocations: 312 kB / 0.5734 GB, free: 7.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.082e-05/0.3308, allocations: 104.9 kB / 0.5735 GB, free: 6.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.009e-05/0.3309, allocations: 192.2 kB / 0.5737 GB, free: 6.785 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.331, allocations: 101 kB / 0.5738 GB, free: 6.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.231e-05/0.3311, allocations: 188.2 kB / 0.574 GB, free: 6.488 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.423e-05/0.3311, allocations: 101 kB / 0.574 GB, free: 6.383 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.03e-05/0.3312, allocations: 79.28 kB / 0.5741 GB, free: 6.305 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3312, allocations: 0 / 0.5741 GB, free: 6.305 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002796/0.3314, allocations: 4 kB / 0.5741 GB, free: 6.301 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.0004696/0.3319, allocations: 0.8047 MB / 0.5749 GB, free: 5.465 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 4.035e-05/0.332, allocations: 0 / 0.5749 GB, free: 5.465 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.332, allocations: 4.094 kB / 0.5749 GB, free: 5.461 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.677e-06/0.332, allocations: 4 kB / 0.5749 GB, free: 5.457 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000393/0.3324, allocations: 451.7 kB / 0.5754 GB, free: 5.012 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003706/0.3327, allocations: 178 kB / 0.5755 GB, free: 4.797 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.531e-05/0.3328, allocations: 63.28 kB / 0.5756 GB, free: 4.715 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.911e-05/0.3328, allocations: 3.984 kB / 0.5756 GB, free: 4.711 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.422e-05/0.3328, allocations: 7.438 kB / 0.5756 GB, free: 4.703 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3328, allocations: 0 / 0.5756 GB, free: 4.703 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02505/0.3579, allocations: 1.553 MB / 0.5771 GB, free: 3.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.52, allocations: 0 / 0.5771 GB, free: 3.25 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Utilities_TestExamplesCalculator.fmu > ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.395075838081539]