Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0018/0.0018, allocations: 115.2 kB / 17.13 MB, free: 5.93 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.002209/0.002209, allocations: 212 kB / 20.09 MB, free: 2.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.51/1.51, allocations: 207.6 MB / 230.5 MB, free: 4 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3515/0.3515, allocations: 44.23 MB / 326.6 MB, free: 7.195 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Utilities_TestExamplesCalculator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestExamplesCalculator,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestExamplesCalculator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003266/0.003266, allocations: 71.89 kB / 462.2 MB, free: 1.051 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3319, allocations: 60.99 MB / 0.5109 GB, free: 13.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001624/0.3336, allocations: 0.4943 MB / 0.5114 GB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002373/0.3359, allocations: 2.056 MB / 0.5134 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.888e-05/0.3359, allocations: 0 / 0.5134 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.939e-05/0.336, allocations: 3.938 kB / 0.5134 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.7e-05/0.336, allocations: 0 / 0.5134 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009483/0.3369, allocations: 373 kB / 0.5138 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.251e-05/0.337, allocations: 11 kB / 0.5138 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.401e-05/0.337, allocations: 3.984 kB / 0.5138 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.54e-05/0.337, allocations: 5.5 kB / 0.5138 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01915/0.3562, allocations: 3.374 MB / 0.5171 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.3562, allocations: 0 / 0.5171 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.3563, allocations: 12 kB / 0.5171 GB, free: 8.863 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.172e-05/0.3563, allocations: 0 / 0.5171 GB, free: 8.863 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.53e-05/0.3563, allocations: 0 / 0.5171 GB, free: 8.863 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000161/0.3565, allocations: 11.94 kB / 0.5171 GB, free: 8.852 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3565, allocations: 0 / 0.5171 GB, free: 8.852 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.3565, allocations: 0 / 0.5171 GB, free: 8.852 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.3565, allocations: 0 / 0.5171 GB, free: 8.852 MB / 382.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.0003284/0.3569, allocations: 315.6 kB / 0.5174 GB, free: 8.496 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.3569, allocations: 11.89 kB / 0.5174 GB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.676e-05/0.3569, allocations: 118 kB / 0.5175 GB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002044/0.3571, allocations: 84.2 kB / 0.5176 GB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.3573, allocations: 235.7 kB / 0.5178 GB, free: 8.008 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.049e-05/0.3573, allocations: 150.9 kB / 0.518 GB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.013e-05/0.3573, allocations: 158.5 kB / 0.5181 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.724e-05/0.3574, allocations: 108.9 kB / 0.5182 GB, free: 7.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.3574, allocations: 79.28 kB / 0.5183 GB, free: 7.512 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.661e-05/0.3574, allocations: 150.6 kB / 0.5185 GB, free: 7.363 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.731e-05/0.3575, allocations: 154.5 kB / 0.5186 GB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.733e-05/0.3575, allocations: 150.6 kB / 0.5187 GB, free: 7.062 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002028/0.3577, allocations: 446 kB / 0.5192 GB, free: 6.578 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.51e-05/0.3577, allocations: 177 kB / 0.5193 GB, free: 6.395 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.39e-05/0.3578, allocations: 84.12 kB / 0.5194 GB, free: 6.309 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.3578, allocations: 75.28 kB / 0.5195 GB, free: 6.234 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.3578, allocations: 105.8 kB / 0.5196 GB, free: 6.121 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.3578, allocations: 0 / 0.5196 GB, free: 6.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 8.093e-05/0.3579, allocations: 33.7 kB / 0.5196 GB, free: 6.082 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.637e-05/0.358, allocations: 186.1 kB / 0.5198 GB, free: 5.875 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.253e-05/0.3581, allocations: 89.86 kB / 0.5199 GB, free: 5.777 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.494e-06/0.3581, allocations: 25.7 kB / 0.5199 GB, free: 5.746 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.944e-05/0.3581, allocations: 84.14 kB / 0.52 GB, free: 5.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.525e-06/0.3581, allocations: 3.984 kB / 0.52 GB, free: 5.656 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.016e-05/0.3581, allocations: 9.719 kB / 0.52 GB, free: 5.641 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.176e-05/0.3582, allocations: 318.9 kB / 0.5203 GB, free: 5.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.428e-06/0.3582, allocations: 0 / 0.5203 GB, free: 5.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.986e-05/0.3582, allocations: 17.72 kB / 0.5203 GB, free: 5.297 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.36e-05/0.3582, allocations: 75.28 kB / 0.5204 GB, free: 5.223 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.1e-05/0.3582, allocations: 75.28 kB / 0.5205 GB, free: 5.148 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.85e-05/0.3583, allocations: 41.56 kB / 0.5205 GB, free: 5.102 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.3583, allocations: 79.28 kB / 0.5206 GB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.3583, allocations: 87.25 kB / 0.5207 GB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.292e-05/0.3583, allocations: 154.6 kB / 0.5208 GB, free: 4.785 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.102e-05/0.3583, allocations: 75.28 kB / 0.5209 GB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.348e-05/0.3584, allocations: 154.5 kB / 0.521 GB, free: 4.559 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.875e-05/0.3584, allocations: 79.28 kB / 0.5211 GB, free: 4.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.3584, allocations: 87.2 kB / 0.5212 GB, free: 4.395 MB / 382.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 5.854e-05/0.3585, allocations: 268.3 kB / 0.5215 GB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.023e-05/0.3585, allocations: 105 kB / 0.5216 GB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.77e-05/0.3586, allocations: 104.1 kB / 0.5217 GB, free: 3.898 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.724e-05/0.3586, allocations: 180.2 kB / 0.5218 GB, free: 3.715 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.762e-05/0.3586, allocations: 188.2 kB / 0.522 GB, free: 3.523 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.437e-05/0.3586, allocations: 184.2 kB / 0.5222 GB, free: 3.336 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.3588, allocations: 397.2 kB / 0.5226 GB, free: 2.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.604e-05/0.3588, allocations: 105 kB / 0.5227 GB, free: 2.781 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.769e-05/0.3588, allocations: 112.9 kB / 0.5228 GB, free: 2.664 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.114e-05/0.3588, allocations: 180.3 kB / 0.5229 GB, free: 2.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.5e-05/0.3589, allocations: 180.2 kB / 0.5231 GB, free: 2.297 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-05/0.3589, allocations: 180.3 kB / 0.5233 GB, free: 2.113 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-05/0.3589, allocations: 188.2 kB / 0.5235 GB, free: 1.922 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.305e-05/0.359, allocations: 307.8 kB / 0.5238 GB, free: 1.598 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.28e-05/0.359, allocations: 186 kB / 0.5239 GB, free: 1.391 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.138e-05/0.3591, allocations: 180.7 kB / 0.5241 GB, free: 1.207 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.679e-05/0.3591, allocations: 112.9 kB / 0.5242 GB, free: 1.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.78e-05/0.3592, allocations: 176.3 kB / 0.5244 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.3592, allocations: 105 kB / 0.5245 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.067e-05/0.3592, allocations: 79.28 kB / 0.5246 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3592, allocations: 0 / 0.5246 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002559/0.3595, allocations: 4.094 kB / 0.5246 GB, free: 0.7188 MB / 382.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.00031/0.3598, allocations: 0.8125 MB / 0.5254 GB, free: 15.88 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 6.296e-05/0.3598, allocations: 0 / 0.5254 GB, free: 15.88 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.3598, allocations: 4 kB / 0.5254 GB, free: 15.87 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.042e-06/0.3598, allocations: 0 / 0.5254 GB, free: 15.87 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004055/0.3603, allocations: 459.6 kB / 0.5258 GB, free: 15.42 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004052/0.3607, allocations: 189.8 kB / 0.526 GB, free: 15.19 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.361, allocations: 0.6729 MB / 0.5266 GB, free: 14.49 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.594e-05/0.361, allocations: 0 / 0.5266 GB, free: 14.49 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.988e-05/0.3611, allocations: 15.38 kB / 0.5266 GB, free: 14.48 MB / 398.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3611, allocations: 4 kB / 0.5267 GB, free: 14.47 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02303/0.3841, allocations: 1.008 MB / 0.5276 GB, free: 13.43 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.085/8.469, allocations: 11.91 kB / 0.5276 GB, free: 13.42 MB / 398.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Utilities_TestExamplesCalculator.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 11.421580066002207]