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.001768/0.001768, allocations: 120.3 kB / 17.84 MB, free: 5.203 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.002183/0.002183, allocations: 211.9 kB / 20.8 MB, free: 2.258 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.477/1.477, allocations: 207.6 MB / 231.2 MB, free: 4.129 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.3868/0.3868, allocations: 44.23 MB / 327.3 MB, free: 7.066 MB / 254.1 MB " [Timeout remaining time 179] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestExamplesCalculator,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestExamplesCalculator",fmuType="cs",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.002368/0.002368, allocations: 76.5 kB / 462.9 MB, free: 1.035 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3313, allocations: 61 MB / 0.5116 GB, free: 13.13 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001807/0.3331, allocations: 0.4949 MB / 0.5121 GB, free: 12.76 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003228/0.3364, allocations: 2.055 MB / 0.5141 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.316e-05/0.3364, allocations: 0 / 0.5141 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.066e-05/0.3364, allocations: 0 / 0.5141 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.363e-05/0.3364, allocations: 0 / 0.5141 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001312/0.3377, allocations: 384.8 kB / 0.5145 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.615e-05/0.3378, allocations: 7.438 kB / 0.5145 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.602e-05/0.3378, allocations: 0 / 0.5145 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.779e-05/0.3378, allocations: 7.688 kB / 0.5145 GB, free: 10.9 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02088/0.3587, allocations: 3.372 MB / 0.5178 GB, free: 8.715 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.3587, allocations: 0 / 0.5178 GB, free: 8.715 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.62e-05/0.3588, allocations: 11.98 kB / 0.5178 GB, free: 8.703 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.275e-05/0.3589, allocations: 0 / 0.5178 GB, free: 8.703 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.562e-05/0.3589, allocations: 4 kB / 0.5178 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.359, allocations: 8 kB / 0.5178 GB, free: 8.691 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.359, allocations: 0 / 0.5178 GB, free: 8.691 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.359, allocations: 0 / 0.5178 GB, free: 8.691 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.359, allocations: 0 / 0.5178 GB, free: 8.691 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.000254/0.3593, allocations: 315.5 kB / 0.5181 GB, free: 8.336 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.3593, allocations: 15.89 kB / 0.5181 GB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.696e-05/0.3594, allocations: 79.47 kB / 0.5182 GB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.609e-05/0.3594, allocations: 106 kB / 0.5183 GB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002017/0.3596, allocations: 88.2 kB / 0.5184 GB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.246e-05/0.3597, allocations: 235.7 kB / 0.5186 GB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/0.3597, allocations: 166.6 kB / 0.5188 GB, free: 7.609 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.3597, allocations: 150.6 kB / 0.5189 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.72e-05/0.3598, allocations: 109 kB / 0.519 GB, free: 7.348 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.3598, allocations: 75.28 kB / 0.5191 GB, free: 7.273 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.698e-05/0.3598, allocations: 150.6 kB / 0.5192 GB, free: 7.125 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.797e-05/0.3598, allocations: 150.6 kB / 0.5194 GB, free: 6.977 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.424e-05/0.3599, allocations: 150.6 kB / 0.5195 GB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001809/0.36, allocations: 457.9 kB / 0.5199 GB, free: 6.332 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.724e-05/0.3601, allocations: 169.1 kB / 0.5201 GB, free: 6.156 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.857e-05/0.3601, allocations: 80.14 kB / 0.5202 GB, free: 6.074 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.3601, allocations: 75.28 kB / 0.5203 GB, free: 6 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.3602, allocations: 117.8 kB / 0.5204 GB, free: 5.875 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.3602, allocations: 0 / 0.5204 GB, free: 5.875 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 7.301e-05/0.3602, allocations: 29.64 kB / 0.5204 GB, free: 5.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/0.3603, allocations: 178.1 kB / 0.5206 GB, free: 5.641 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.207e-05/0.3604, allocations: 101.8 kB / 0.5207 GB, free: 5.531 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.885e-06/0.3604, allocations: 25.7 kB / 0.5207 GB, free: 5.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.557e-05/0.3604, allocations: 80.14 kB / 0.5208 GB, free: 5.418 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.433e-06/0.3604, allocations: 128 / 0.5208 GB, free: 5.418 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.413e-05/0.3604, allocations: 21.72 kB / 0.5208 GB, free: 5.391 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.824e-05/0.3605, allocations: 310.8 kB / 0.5211 GB, free: 5.078 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.209e-06/0.3605, allocations: 0 / 0.5211 GB, free: 5.078 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.196e-05/0.3605, allocations: 9.719 kB / 0.5211 GB, free: 5.062 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.288e-05/0.3605, allocations: 75.28 kB / 0.5212 GB, free: 4.988 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.138e-05/0.3605, allocations: 83.22 kB / 0.5212 GB, free: 4.906 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.896e-05/0.3606, allocations: 29.64 kB / 0.5213 GB, free: 4.871 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/0.3606, allocations: 91.3 kB / 0.5214 GB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.3606, allocations: 79.33 kB / 0.5214 GB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.426e-05/0.3606, allocations: 150.6 kB / 0.5216 GB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.201e-05/0.3606, allocations: 87.16 kB / 0.5217 GB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2e-05/0.3607, allocations: 154.6 kB / 0.5218 GB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.57e-05/0.3607, allocations: 79.22 kB / 0.5219 GB, free: 4.238 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.3607, allocations: 79.28 kB / 0.522 GB, free: 4.16 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 6.825e-05/0.3608, allocations: 264.3 kB / 0.5222 GB, free: 3.891 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.755e-05/0.3608, allocations: 105 kB / 0.5223 GB, free: 3.781 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.649e-05/0.3609, allocations: 112 kB / 0.5224 GB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.239e-05/0.3609, allocations: 180.3 kB / 0.5226 GB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.341e-05/0.3609, allocations: 184.2 kB / 0.5228 GB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.352e-05/0.3609, allocations: 176.3 kB / 0.5229 GB, free: 3.109 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/0.3611, allocations: 409.2 kB / 0.5233 GB, free: 2.652 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.41e-05/0.3611, allocations: 104.9 kB / 0.5234 GB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.416e-05/0.3611, allocations: 101 kB / 0.5235 GB, free: 2.438 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.937e-05/0.3611, allocations: 184.2 kB / 0.5237 GB, free: 2.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.723e-05/0.3612, allocations: 184.3 kB / 0.5239 GB, free: 2.062 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-05/0.3612, allocations: 180.2 kB / 0.524 GB, free: 1.879 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.5e-05/0.3612, allocations: 180.3 kB / 0.5242 GB, free: 1.695 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.993e-05/0.3613, allocations: 311.7 kB / 0.5245 GB, free: 1.367 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.97e-05/0.3613, allocations: 186 kB / 0.5247 GB, free: 1.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.814e-05/0.3614, allocations: 184.6 kB / 0.5249 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.752e-05/0.3614, allocations: 109 kB / 0.525 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.24e-05/0.3615, allocations: 180.2 kB / 0.5251 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.3615, allocations: 109 kB / 0.5252 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.326e-05/0.3615, allocations: 79.28 kB / 0.5253 GB, free: 496 kB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3615, allocations: 0 / 0.5253 GB, free: 496 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002501/0.3617, allocations: 0 / 0.5253 GB, free: 496 kB / 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.0003534/0.3621, allocations: 0.8125 MB / 0.5261 GB, free: 15.64 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 5.883e-05/0.3622, allocations: 7.938 kB / 0.5261 GB, free: 15.63 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.3622, allocations: 4.094 kB / 0.5261 GB, free: 15.63 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.3622, allocations: 0 / 0.5261 GB, free: 15.63 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004485/0.3626, allocations: 463.6 kB / 0.5266 GB, free: 15.17 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004154/0.363, allocations: 185.8 kB / 0.5267 GB, free: 14.95 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/0.3633, allocations: 0.669 MB / 0.5274 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.715e-05/0.3634, allocations: 7.984 kB / 0.5274 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.563e-05/0.3634, allocations: 11.42 kB / 0.5274 GB, free: 14.23 MB / 398.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3634, allocations: 3.938 kB / 0.5274 GB, free: 14.23 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01762/0.381, allocations: 1.059 MB / 0.5285 GB, free: 13.13 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.675/9.056, allocations: 8 kB / 0.5285 GB, free: 13.12 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Utilities_TestExamplesCalculator_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 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.mat","/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.938017460983247]