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.001917/0.001917, allocations: 111.7 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.002324/0.002324, allocations: 221.1 kB / 23.01 MB, free: 5.004 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.427/1.427, 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.2192/0.2192, allocations: 44.25 MB / 330.3 MB, free: 9.527 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.00226/0.00226, allocations: 82.48 kB / 467.5 MB, free: 4.535 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1166, allocations: 61.03 MB / 0.5161 GB, free: 7.367 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.001682/0.1183, allocations: 0.502 MB / 0.5166 GB, free: 6.867 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00243/0.1207, allocations: 1.373 MB / 0.5179 GB, free: 5.488 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.759e-05/0.1207, allocations: 0 / 0.5179 GB, free: 5.488 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.349e-05/0.1207, allocations: 0 / 0.5179 GB, free: 5.488 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001923/0.1209, allocations: 8 kB / 0.518 GB, free: 5.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.1221, allocations: 268.3 kB / 0.5182 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.42e-05/0.1221, allocations: 8 kB / 0.5182 GB, free: 5.211 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.498e-05/0.1222, allocations: 0 / 0.5182 GB, free: 5.211 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.954e-05/0.1222, allocations: 4 kB / 0.5182 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.411e-05/0.1223, allocations: 11.92 kB / 0.5182 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.135e-06/0.1223, allocations: 0 / 0.5182 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004389/0.1267, allocations: 0.7445 MB / 0.519 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.391e-05/0.1267, allocations: 3.984 kB / 0.519 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.719e-05/0.1267, allocations: 0 / 0.519 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003593/0.1271, allocations: 183.5 kB / 0.5191 GB, free: 4.336 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.1271, allocations: 4 kB / 0.5191 GB, free: 4.332 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1271, allocations: 0 / 0.5191 GB, free: 4.332 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.1271, allocations: 0 / 0.5191 GB, free: 4.332 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.0004849/0.1276, allocations: 311.7 kB / 0.5194 GB, free: 3.992 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.1276, allocations: 8.031 kB / 0.5194 GB, free: 3.984 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.181e-05/0.1277, allocations: 38.75 kB / 0.5195 GB, free: 3.938 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.066e-05/0.1277, allocations: 0.9375 kB / 0.5195 GB, free: 3.938 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.1278, allocations: 110.5 kB / 0.5196 GB, free: 3.805 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.1279, allocations: 384 / 0.5196 GB, free: 3.805 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.1279, allocations: 8.359 kB / 0.5196 GB, free: 3.797 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.511e-05/0.128, allocations: 37.56 kB / 0.5196 GB, free: 3.754 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.128, allocations: 0 / 0.5196 GB, free: 3.754 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.128, allocations: 4 kB / 0.5196 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.128, allocations: 0 / 0.5196 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.728e-05/0.128, allocations: 4 kB / 0.5196 GB, free: 3.746 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001631/0.1282, allocations: 128.7 kB / 0.5198 GB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.633e-05/0.1282, allocations: 14.58 kB / 0.5198 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.676e-05/0.1282, allocations: 8.797 kB / 0.5198 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.1282, allocations: 8 kB / 0.5198 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.756e-05/0.1283, allocations: 56.27 kB / 0.5198 GB, free: 3.465 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.1283, allocations: 7.938 kB / 0.5199 GB, free: 3.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002143/0.1285, allocations: 67.39 kB / 0.5199 GB, free: 3.379 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.105e-05/0.1286, allocations: 77.11 kB / 0.52 GB, free: 3.285 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.112e-05/0.1287, allocations: 93.86 kB / 0.5201 GB, free: 3.184 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.1287, allocations: 25.7 kB / 0.5201 GB, free: 3.152 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.158e-05/0.1287, allocations: 80.14 kB / 0.5202 GB, free: 3.07 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.719e-05/0.1287, allocations: 7.953 kB / 0.5202 GB, free: 3.062 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.284e-05/0.1288, allocations: 17.95 kB / 0.5202 GB, free: 3.039 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.1289, allocations: 314.8 kB / 0.5205 GB, free: 2.723 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.466e-05/0.129, allocations: 8 kB / 0.5205 GB, free: 2.715 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.73e-06/0.129, allocations: 0 / 0.5205 GB, free: 2.715 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.749e-05/0.129, allocations: 64.2 kB / 0.5206 GB, free: 2.637 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.129, allocations: 0 / 0.5206 GB, free: 2.637 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.852e-05/0.1291, allocations: 71.33 kB / 0.5206 GB, free: 2.555 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.626e-05/0.1291, allocations: 29.7 kB / 0.5207 GB, free: 2.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1292, allocations: 4 kB / 0.5207 GB, free: 2.516 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.1292, allocations: 4.094 kB / 0.5207 GB, free: 2.512 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-07/0.1292, allocations: 3.938 kB / 0.5207 GB, free: 2.508 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1292, allocations: 0 / 0.5207 GB, free: 2.508 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.716e-05/0.1292, allocations: 0 / 0.5207 GB, free: 2.508 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.1292, allocations: 0 / 0.5207 GB, free: 2.508 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.0001098/0.1293, allocations: 135.5 kB / 0.5208 GB, free: 2.359 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.152e-05/0.1293, allocations: 3.938 kB / 0.5208 GB, free: 2.355 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.646e-05/0.1293, allocations: 11.14 kB / 0.5208 GB, free: 2.344 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.1293, allocations: 0 / 0.5208 GB, free: 2.344 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.1293, allocations: 8 kB / 0.5208 GB, free: 2.336 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.1293, allocations: 0 / 0.5208 GB, free: 2.336 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001155/0.1295, allocations: 116.8 kB / 0.5209 GB, free: 2.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.1295, allocations: 3.938 kB / 0.521 GB, free: 2.176 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.4e-06/0.1295, allocations: 7.922 kB / 0.521 GB, free: 2.168 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.1295, allocations: 4 kB / 0.521 GB, free: 2.164 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.1295, allocations: 0 / 0.521 GB, free: 2.164 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.1295, allocations: 0 / 0.521 GB, free: 2.164 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.1295, allocations: 0 / 0.521 GB, free: 2.164 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001336/0.1296, allocations: 90.84 kB / 0.5211 GB, free: 2.051 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.255e-06/0.1296, allocations: 7.922 kB / 0.5211 GB, free: 2.043 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.1296, allocations: 4 kB / 0.5211 GB, free: 2.039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.134e-05/0.1296, allocations: 0 / 0.5211 GB, free: 2.039 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.08e-05/0.1297, allocations: 0 / 0.5211 GB, free: 2.039 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.1297, allocations: 3.938 kB / 0.5211 GB, free: 2.035 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.137e-05/0.1297, allocations: 79.28 kB / 0.5211 GB, free: 1.957 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1297, allocations: 0 / 0.5211 GB, free: 1.957 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003414/0.1301, allocations: 67.98 kB / 0.5212 GB, free: 1.891 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.001121/0.1312, allocations: 0.8509 MB / 0.522 GB, free: 1 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001077/0.1313, allocations: 59.41 kB / 0.5221 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1313, allocations: 0 / 0.5221 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.804e-05/0.1313, allocations: 55.39 kB / 0.5221 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001322/0.1315, allocations: 4 kB / 0.5222 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003708/0.1318, allocations: 150.3 kB / 0.5223 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.1322, allocations: 0.6808 MB / 0.523 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.223e-05/0.1322, allocations: 4 kB / 0.523 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.949e-05/0.1322, allocations: 11.38 kB / 0.523 GB, free: 15.95 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1322, allocations: 0 / 0.523 GB, free: 15.95 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03004/0.1623, allocations: 2.665 MB / 0.5256 GB, free: 13.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.59, allocations: 4.906 kB / 0.5256 GB, free: 13.25 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.700976124993758]