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.001329/0.001329, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001466/0.001466, allocations: 213.9 kB / 22.99 MB, free: 4.605 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.449/1.449, allocations: 207.7 MB / 233.8 MB, free: 9.801 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.2167/0.2167, allocations: 44.27 MB / 330.3 MB, free: 9.309 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.002308/0.002308, allocations: 69.62 kB / 467.5 MB, free: 4.379 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.129, allocations: 61.04 MB / 0.5161 GB, free: 7.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.002318/0.1313, allocations: 0.5028 MB / 0.5166 GB, free: 6.707 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003715/0.135, allocations: 1.342 MB / 0.5179 GB, free: 5.359 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.889e-05/0.135, allocations: 0 / 0.5179 GB, free: 5.359 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.926e-05/0.1351, allocations: 0 / 0.5179 GB, free: 5.359 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00024/0.1353, allocations: 11.94 kB / 0.5179 GB, free: 5.348 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001845/0.1371, allocations: 267.2 kB / 0.5182 GB, free: 5.086 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.526e-05/0.1372, allocations: 4 kB / 0.5182 GB, free: 5.082 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.79e-05/0.1373, allocations: 3.938 kB / 0.5182 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.731e-05/0.1373, allocations: 4 kB / 0.5182 GB, free: 5.074 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.105e-05/0.1374, allocations: 4 kB / 0.5182 GB, free: 5.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.027e-06/0.1374, allocations: 3.938 kB / 0.5182 GB, free: 5.066 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007731/0.1451, allocations: 0.7184 MB / 0.5189 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.401e-05/0.1451, allocations: 0 / 0.5189 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.928e-05/0.1452, allocations: 11.92 kB / 0.5189 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004969/0.1457, allocations: 171.6 kB / 0.5191 GB, free: 4.234 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1457, allocations: 0 / 0.5191 GB, free: 4.234 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1457, allocations: 0 / 0.5191 GB, free: 4.234 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.1457, allocations: 0 / 0.5191 GB, free: 4.234 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.0005412/0.1462, allocations: 315.7 kB / 0.5194 GB, free: 3.891 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.1463, allocations: 12.03 kB / 0.5194 GB, free: 3.879 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.658e-05/0.1463, allocations: 30.75 kB / 0.5194 GB, free: 3.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.147e-05/0.1463, allocations: 0.9375 kB / 0.5194 GB, free: 3.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.1465, allocations: 114.5 kB / 0.5195 GB, free: 3.703 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.1465, allocations: 384 / 0.5195 GB, free: 3.703 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.476e-06/0.1465, allocations: 384 / 0.5195 GB, free: 3.703 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.1466, allocations: 59.34 kB / 0.5196 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.1466, allocations: 0 / 0.5196 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.1466, allocations: 0 / 0.5196 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.299e-06/0.1467, allocations: 0 / 0.5196 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.419e-05/0.1467, allocations: 37.7 kB / 0.5196 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002184/0.1469, allocations: 120.7 kB / 0.5198 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.959e-05/0.147, allocations: 48.25 kB / 0.5198 GB, free: 3.367 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.169e-05/0.1471, allocations: 38.62 kB / 0.5198 GB, free: 3.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.001e-05/0.1471, allocations: 3.938 kB / 0.5198 GB, free: 3.316 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.771e-05/0.1472, allocations: 60.2 kB / 0.5199 GB, free: 3.242 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 2.385e-06/0.1472, allocations: 0 / 0.5199 GB, free: 3.242 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0003221/0.1475, allocations: 118.8 kB / 0.52 GB, free: 3.102 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.9e-05/0.1476, allocations: 81.11 kB / 0.5201 GB, free: 3.004 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.1477, allocations: 97.98 kB / 0.5202 GB, free: 2.898 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.1477, allocations: 29.69 kB / 0.5202 GB, free: 2.863 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.899e-05/0.1478, allocations: 84.08 kB / 0.5203 GB, free: 2.777 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.047e-05/0.1478, allocations: 7.891 kB / 0.5203 GB, free: 2.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.968e-05/0.1479, allocations: 13.72 kB / 0.5203 GB, free: 2.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002178/0.1481, allocations: 314.8 kB / 0.5206 GB, free: 2.434 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.26e-05/0.1481, allocations: 25.7 kB / 0.5206 GB, free: 2.402 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.847e-05/0.1482, allocations: 29.7 kB / 0.5207 GB, free: 2.367 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.521e-05/0.1483, allocations: 64.25 kB / 0.5207 GB, free: 2.289 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1483, allocations: 192 / 0.5207 GB, free: 2.289 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000163/0.1484, allocations: 97.05 kB / 0.5208 GB, free: 2.176 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.456e-05/0.1485, allocations: 29.7 kB / 0.5208 GB, free: 2.141 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1485, allocations: 4 kB / 0.5208 GB, free: 2.137 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.1485, allocations: 0 / 0.5208 GB, free: 2.137 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.343e-06/0.1485, allocations: 0 / 0.5208 GB, free: 2.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.1485, allocations: 3.938 kB / 0.5209 GB, free: 2.133 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.024e-05/0.1485, allocations: 7.984 kB / 0.5209 GB, free: 2.125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.1485, allocations: 0 / 0.5209 GB, free: 2.125 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.0001462/0.1487, allocations: 135.5 kB / 0.521 GB, free: 1.977 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.654e-05/0.1487, allocations: 3.938 kB / 0.521 GB, free: 1.973 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.742e-05/0.1487, allocations: 11.17 kB / 0.521 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1487, allocations: 4 kB / 0.521 GB, free: 1.957 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.1487, allocations: 0 / 0.521 GB, free: 1.957 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1487, allocations: 0 / 0.521 GB, free: 1.957 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/0.1489, allocations: 124.8 kB / 0.5211 GB, free: 1.793 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.1489, allocations: 7.938 kB / 0.5211 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.072e-06/0.1489, allocations: 0 / 0.5211 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1489, allocations: 0 / 0.5211 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.1489, allocations: 0 / 0.5211 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.1489, allocations: 0 / 0.5211 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.1489, allocations: 0 / 0.5211 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002132/0.1491, allocations: 124.5 kB / 0.5213 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.638e-06/0.1491, allocations: 3.938 kB / 0.5213 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.1491, allocations: 0 / 0.5213 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.891e-05/0.1492, allocations: 0 / 0.5213 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.068e-05/0.1492, allocations: 7.938 kB / 0.5213 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.1492, allocations: 0 / 0.5213 GB, free: 1.621 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.805e-05/0.1493, allocations: 83.27 kB / 0.5213 GB, free: 1.539 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1493, allocations: 7.875 kB / 0.5213 GB, free: 1.531 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000531/0.1498, allocations: 63.86 kB / 0.5214 GB, free: 1.469 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.001864/0.1517, allocations: 0.8917 MB / 0.5223 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000183/0.1518, allocations: 106.8 kB / 0.5224 GB, free: 412 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1518, allocations: 3.938 kB / 0.5224 GB, free: 408 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.442e-05/0.1519, allocations: 89.17 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.0002352/0.1522, allocations: 7.984 kB / 0.5225 GB, free: 292 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005989/0.1528, allocations: 176 kB / 0.5226 GB, free: 68 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.941e-05/0.1528, allocations: 59.3 kB / 0.5227 GB, free: 15.99 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.431e-05/0.1529, allocations: 3.984 kB / 0.5227 GB, free: 15.98 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.749e-05/0.1529, allocations: 7.438 kB / 0.5227 GB, free: 15.98 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1529, allocations: 0 / 0.5227 GB, free: 15.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03738/0.1903, allocations: 3.071 MB / 0.5257 GB, free: 12.88 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.77, allocations: 8.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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles_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_TestFiles.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles_res.csv","/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.90800137585029]