Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.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.001948/0.001948, allocations: 104.3 kB / 19.69 MB, free: 1.945 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.002274/0.002274, allocations: 223.4 kB / 23 MB, free: 4.973 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.461/1.461, allocations: 207.7 MB / 233.8 MB, free: 9.781 MB / 190.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.2463/0.2463, allocations: 44.25 MB / 330.3 MB, free: 9.312 MB / 270.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.TestFiles,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestFiles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestFiles,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestFiles",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.003536/0.003536, allocations: 71.89 kB / 467.5 MB, free: 4.391 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1531, allocations: 61.04 MB / 0.5161 GB, free: 7.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.00184/0.155, allocations: 0.4989 MB / 0.5166 GB, free: 6.711 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002598/0.1576, allocations: 1.338 MB / 0.5179 GB, free: 5.367 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.018e-05/0.1576, allocations: 0 / 0.5179 GB, free: 5.367 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.647e-05/0.1576, allocations: 3.938 kB / 0.5179 GB, free: 5.363 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002339/0.1579, allocations: 15.92 kB / 0.5179 GB, free: 5.348 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001378/0.1592, allocations: 259.3 kB / 0.5182 GB, free: 5.094 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.389e-05/0.1593, allocations: 11.98 kB / 0.5182 GB, free: 5.082 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.071e-05/0.1593, allocations: 3.984 kB / 0.5182 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.342e-05/0.1594, allocations: 11.88 kB / 0.5182 GB, free: 5.066 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.743e-05/0.1594, allocations: 0 / 0.5182 GB, free: 5.066 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.146e-06/0.1594, allocations: 0 / 0.5182 GB, free: 5.066 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004427/0.1638, allocations: 0.7145 MB / 0.5189 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.203e-05/0.1639, allocations: 0 / 0.5189 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.497e-05/0.1639, allocations: 0 / 0.5189 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004538/0.1643, allocations: 183.5 kB / 0.5191 GB, free: 4.238 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1643, allocations: 0 / 0.5191 GB, free: 4.238 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1643, allocations: 0 / 0.5191 GB, free: 4.238 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1643, allocations: 0 / 0.5191 GB, free: 4.238 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004356/0.1648, allocations: 315.7 kB / 0.5194 GB, free: 3.895 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.1648, allocations: 12.03 kB / 0.5194 GB, free: 3.883 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.215e-05/0.1649, allocations: 30.75 kB / 0.5194 GB, free: 3.844 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.497e-05/0.1649, allocations: 4.875 kB / 0.5194 GB, free: 3.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.165, allocations: 106.5 kB / 0.5195 GB, free: 3.711 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.165, allocations: 384 / 0.5195 GB, free: 3.711 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.847e-06/0.165, allocations: 4.375 kB / 0.5195 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.1651, allocations: 63.33 kB / 0.5196 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.353e-06/0.1651, allocations: 0 / 0.5196 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.1651, allocations: 0 / 0.5196 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.1651, allocations: 4 kB / 0.5196 GB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.635e-05/0.1652, allocations: 33.69 kB / 0.5196 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001491/0.1653, allocations: 116.7 kB / 0.5197 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.079e-05/0.1654, allocations: 56.23 kB / 0.5198 GB, free: 3.363 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.493e-05/0.1654, allocations: 30.56 kB / 0.5198 GB, free: 3.324 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.124e-05/0.1654, allocations: 3.938 kB / 0.5198 GB, free: 3.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.392e-05/0.1655, allocations: 60.33 kB / 0.5199 GB, free: 3.246 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.293e-06/0.1655, allocations: 0 / 0.5199 GB, free: 3.246 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002425/0.1657, allocations: 118.8 kB / 0.52 GB, free: 3.105 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.156e-05/0.1658, allocations: 85.05 kB / 0.5201 GB, free: 3.004 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.174e-05/0.1659, allocations: 97.92 kB / 0.5202 GB, free: 2.898 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.1659, allocations: 29.7 kB / 0.5202 GB, free: 2.863 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.693e-05/0.166, allocations: 80.14 kB / 0.5203 GB, free: 2.781 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.121e-05/0.166, allocations: 7.953 kB / 0.5203 GB, free: 2.773 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.392e-05/0.166, allocations: 13.72 kB / 0.5203 GB, free: 2.754 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.1662, allocations: 318.8 kB / 0.5206 GB, free: 2.434 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.647e-05/0.1662, allocations: 25.7 kB / 0.5206 GB, free: 2.402 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.492e-05/0.1662, allocations: 29.7 kB / 0.5207 GB, free: 2.367 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.984e-05/0.1663, allocations: 64.27 kB / 0.5207 GB, free: 2.289 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.1663, allocations: 4.188 kB / 0.5207 GB, free: 2.285 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001094/0.1664, allocations: 93.03 kB / 0.5208 GB, free: 2.176 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.721e-05/0.1664, allocations: 29.7 kB / 0.5208 GB, free: 2.141 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.858e-05/0.1665, allocations: 3.938 kB / 0.5208 GB, free: 2.137 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.1665, allocations: 0 / 0.5208 GB, free: 2.137 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.21e-07/0.1665, allocations: 4 kB / 0.5209 GB, free: 2.133 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.1665, allocations: 0 / 0.5209 GB, free: 2.133 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.926e-05/0.1665, allocations: 0 / 0.5209 GB, free: 2.133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.1665, allocations: 0 / 0.5209 GB, free: 2.133 MB / 398.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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001141/0.1666, allocations: 143.5 kB / 0.521 GB, free: 1.977 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.095e-05/0.1666, allocations: 7.969 kB / 0.521 GB, free: 1.969 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.369e-05/0.1666, allocations: 3.156 kB / 0.521 GB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.1666, allocations: 4 kB / 0.521 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1667, allocations: 0 / 0.521 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.1667, allocations: 4 kB / 0.521 GB, free: 1.957 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.1668, allocations: 116.8 kB / 0.5211 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.1668, allocations: 7.922 kB / 0.5211 GB, free: 1.793 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.81e-07/0.1668, allocations: 0 / 0.5211 GB, free: 1.793 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.75e-06/0.1668, allocations: 4 kB / 0.5211 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.1668, allocations: 0 / 0.5211 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1668, allocations: 0 / 0.5211 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1668, allocations: 4 kB / 0.5211 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001521/0.1669, allocations: 120.5 kB / 0.5212 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.887e-06/0.167, allocations: 7.938 kB / 0.5213 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.167, allocations: 0 / 0.5213 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.274e-05/0.167, allocations: 0 / 0.5213 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.103e-05/0.167, allocations: 4 kB / 0.5213 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.167, allocations: 4 kB / 0.5213 GB, free: 1.621 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.308e-05/0.1671, allocations: 75.28 kB / 0.5213 GB, free: 1.547 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1671, allocations: 0 / 0.5213 GB, free: 1.547 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003238/0.1674, allocations: 63.92 kB / 0.5214 GB, free: 1.484 MB / 398.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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.001255/0.1686, allocations: 0.8994 MB / 0.5223 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001521/0.1688, allocations: 122.7 kB / 0.5224 GB, free: 404 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1688, allocations: 4.062 kB / 0.5224 GB, free: 400 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.331e-05/0.1688, allocations: 81.11 kB / 0.5225 GB, free: 300 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/0.169, allocations: 0 / 0.5225 GB, free: 300 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004209/0.1694, allocations: 184 kB / 0.5226 GB, free: 68 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.825e-05/0.1695, allocations: 55.3 kB / 0.5227 GB, free: 15.99 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.635e-05/0.1695, allocations: 4 kB / 0.5227 GB, free: 15.99 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.136e-05/0.1695, allocations: 7.438 kB / 0.5227 GB, free: 15.98 MB / 414.1 MB Notification: Performance of SimCode: time 5.2e-07/0.1695, allocations: 0 / 0.5227 GB, free: 15.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03224/0.2018, allocations: 3.079 MB / 0.5257 GB, free: 12.87 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.69, allocations: 4.953 kB / 0.5257 GB, free: 12.87 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Utilities_TestFiles_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Utilities_TestFiles.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestFiles/TestFiles.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.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.752396878786385]