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.001292/0.001292, allocations: 114.2 kB / 19.69 MB, free: 2.188 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.001469/0.001469, allocations: 214.9 kB / 23 MB, free: 5.008 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.406/1.406, allocations: 207.6 MB / 233.8 MB, free: 10 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.2151/0.2151, allocations: 44.24 MB / 330.3 MB, free: 9.512 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.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.00247/0.00247, allocations: 75.83 kB / 467.5 MB, free: 4.535 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1222, allocations: 61.05 MB / 0.5161 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001778/0.124, allocations: 495 kB / 0.5166 GB, free: 6.863 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003495/0.1275, allocations: 2.084 MB / 0.5186 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.714e-05/0.1275, allocations: 4 kB / 0.5186 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.61e-05/0.1275, allocations: 0 / 0.5186 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.629e-05/0.1276, allocations: 0 / 0.5186 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.1289, allocations: 374.8 kB / 0.519 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.533e-05/0.1289, allocations: 8 kB / 0.519 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.84e-05/0.1289, allocations: 0 / 0.519 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.631e-05/0.129, allocations: 3.984 kB / 0.519 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02303/0.152, allocations: 3.389 MB / 0.5223 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.152, allocations: 0 / 0.5223 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.1521, allocations: 8 kB / 0.5223 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.277e-05/0.1521, allocations: 0 / 0.5223 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.887e-05/0.1522, allocations: 0 / 0.5223 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000201/0.1524, allocations: 11.97 kB / 0.5223 GB, free: 1.023 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1524, allocations: 0 / 0.5223 GB, free: 1.023 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.1524, allocations: 4 kB / 0.5223 GB, free: 1.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.084e-06/0.1524, allocations: 4 kB / 0.5224 GB, free: 1.016 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004238/0.1528, allocations: 238.4 kB / 0.5226 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/0.1529, allocations: 8.031 kB / 0.5226 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001624/0.153, allocations: 110 kB / 0.5227 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002855/0.1533, allocations: 84.22 kB / 0.5228 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/0.1535, allocations: 181.8 kB / 0.5229 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.952e-05/0.1536, allocations: 154.9 kB / 0.5231 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.614e-05/0.1536, allocations: 162.5 kB / 0.5232 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.1538, allocations: 109 kB / 0.5234 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.978e-05/0.1538, allocations: 75.28 kB / 0.5234 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.251e-05/0.1539, allocations: 150.6 kB / 0.5236 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.791e-05/0.154, allocations: 154.6 kB / 0.5237 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.715e-05/0.154, allocations: 154.5 kB / 0.5239 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003795/0.1544, allocations: 417 kB / 0.5243 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.1545, allocations: 173 kB / 0.5244 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.661e-05/0.1546, allocations: 84.14 kB / 0.5245 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.601e-05/0.1546, allocations: 75.28 kB / 0.5246 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.539e-05/0.1547, allocations: 109.8 kB / 0.5247 GB, free: 14.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.833e-06/0.1547, allocations: 4 kB / 0.5247 GB, free: 14.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 9.443e-05/0.1548, allocations: 29.64 kB / 0.5247 GB, free: 14.45 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/0.1549, allocations: 182.1 kB / 0.5249 GB, free: 14.24 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.155, allocations: 93.86 kB / 0.525 GB, free: 14.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.155, allocations: 29.7 kB / 0.525 GB, free: 14.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.289e-05/0.1551, allocations: 80.14 kB / 0.5251 GB, free: 14.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.154e-06/0.1551, allocations: 3.938 kB / 0.5251 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.238e-05/0.1551, allocations: 9.719 kB / 0.5251 GB, free: 14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.1553, allocations: 314.8 kB / 0.5254 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.29e-06/0.1553, allocations: 0 / 0.5254 GB, free: 13.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.65e-05/0.1553, allocations: 17.7 kB / 0.5254 GB, free: 13.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.105e-05/0.1553, allocations: 79.44 kB / 0.5255 GB, free: 13.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-05/0.1554, allocations: 79.28 kB / 0.5256 GB, free: 13.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.777e-05/0.1555, allocations: 33.58 kB / 0.5256 GB, free: 13.47 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.583e-05/0.1555, allocations: 83.28 kB / 0.5257 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-05/0.1556, allocations: 75.28 kB / 0.5257 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.682e-05/0.1557, allocations: 154.5 kB / 0.5259 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.355e-05/0.1557, allocations: 75.28 kB / 0.526 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.515e-05/0.1558, allocations: 158.5 kB / 0.5261 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.1559, allocations: 87.27 kB / 0.5262 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.643e-05/0.1559, allocations: 83.28 kB / 0.5263 GB, free: 12.76 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.0001554/0.1561, allocations: 264.3 kB / 0.5265 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.356e-05/0.1561, allocations: 104.9 kB / 0.5266 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.475e-05/0.1562, allocations: 108 kB / 0.5267 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.896e-05/0.1563, allocations: 184.2 kB / 0.5269 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-05/0.1564, allocations: 184.2 kB / 0.5271 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.234e-05/0.1565, allocations: 176.3 kB / 0.5273 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002805/0.1567, allocations: 376.2 kB / 0.5276 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.297e-05/0.1568, allocations: 109 kB / 0.5277 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.373e-05/0.1568, allocations: 101 kB / 0.5278 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.434e-05/0.1569, allocations: 184.5 kB / 0.528 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-05/0.157, allocations: 180.3 kB / 0.5282 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.443e-05/0.1571, allocations: 188.2 kB / 0.5283 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.89e-05/0.1572, allocations: 180.2 kB / 0.5285 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002021/0.1574, allocations: 311.7 kB / 0.5288 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.177e-05/0.1575, allocations: 112.9 kB / 0.5289 GB, free: 9.891 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.1576, allocations: 188.2 kB / 0.5291 GB, free: 9.699 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.1577, allocations: 101 kB / 0.5292 GB, free: 9.594 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.1578, allocations: 192.2 kB / 0.5294 GB, free: 9.398 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.912e-05/0.1579, allocations: 101 kB / 0.5295 GB, free: 9.293 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.145e-05/0.1579, allocations: 75.28 kB / 0.5295 GB, free: 9.219 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1579, allocations: 0 / 0.5295 GB, free: 9.219 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003201/0.1582, allocations: 4 kB / 0.5295 GB, free: 9.215 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.000555/0.1588, allocations: 0.8048 MB / 0.5303 GB, free: 8.379 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 6.88e-05/0.1589, allocations: 4 kB / 0.5303 GB, free: 8.375 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.1589, allocations: 0 / 0.5303 GB, free: 8.375 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.003e-06/0.1589, allocations: 3.938 kB / 0.5303 GB, free: 8.371 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004542/0.1593, allocations: 459.6 kB / 0.5308 GB, free: 7.918 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004433/0.1598, allocations: 189.8 kB / 0.531 GB, free: 7.691 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.1601, allocations: 0.669 MB / 0.5316 GB, free: 6.996 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.754e-05/0.1601, allocations: 4 kB / 0.5316 GB, free: 6.992 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.806e-05/0.1602, allocations: 11.42 kB / 0.5316 GB, free: 6.98 MB / 414.1 MB Notification: Performance of SimCode: time 1.372e-06/0.1602, allocations: 0 / 0.5316 GB, free: 6.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02847/0.1886, allocations: 1.109 MB / 0.5327 GB, free: 5.836 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.3, allocations: 8.047 kB / 0.5327 GB, free: 5.828 MB / 414.1 MB " [Timeout remaining time 649] (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: 14.190369171090424]