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.00202/0.00202, allocations: 97.91 kB / 20.48 MB, free: 1.367 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.002159/0.002159, allocations: 211 kB / 23.78 MB, free: 4.527 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.428/1.428, allocations: 207.7 MB / 234.6 MB, free: 9.777 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.2246/0.2246, allocations: 44.27 MB / 331.1 MB, free: 9.395 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestFiles,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestFiles",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.002246/0.002246, allocations: 69.78 kB / 468.3 MB, free: 4.398 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1124, allocations: 61.04 MB / 0.5169 GB, free: 7.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.001801/0.1142, allocations: 0.495 MB / 0.5174 GB, free: 6.727 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002372/0.1166, allocations: 1.349 MB / 0.5187 GB, free: 5.371 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.51e-05/0.1166, allocations: 0 / 0.5187 GB, free: 5.371 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.711e-05/0.1166, allocations: 3.938 kB / 0.5187 GB, free: 5.367 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002095/0.1168, allocations: 4 kB / 0.5187 GB, free: 5.363 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.1179, allocations: 265.1 kB / 0.519 GB, free: 5.105 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.964e-05/0.118, allocations: 11.94 kB / 0.519 GB, free: 5.094 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.213e-05/0.118, allocations: 0 / 0.519 GB, free: 5.094 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.764e-05/0.118, allocations: 7.922 kB / 0.519 GB, free: 5.086 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.891e-05/0.1181, allocations: 4 kB / 0.519 GB, free: 5.082 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.344e-06/0.1181, allocations: 0 / 0.519 GB, free: 5.082 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004227/0.1223, allocations: 0.7331 MB / 0.5197 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.496e-05/0.1223, allocations: 3.984 kB / 0.5197 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.536e-05/0.1223, allocations: 3.938 kB / 0.5197 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003234/0.1227, allocations: 179.6 kB / 0.5199 GB, free: 4.227 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1227, allocations: 0 / 0.5199 GB, free: 4.227 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1227, allocations: 0 / 0.5199 GB, free: 4.227 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.1227, allocations: 0 / 0.5199 GB, free: 4.227 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.0004617/0.1231, allocations: 307.7 kB / 0.5202 GB, free: 3.891 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.1232, allocations: 16.02 kB / 0.5202 GB, free: 3.875 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.347e-05/0.1232, allocations: 192 / 0.5202 GB, free: 3.875 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.132e-05/0.1232, allocations: 34.69 kB / 0.5202 GB, free: 3.832 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.151e-05/0.1233, allocations: 0.9375 kB / 0.5202 GB, free: 3.832 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.1234, allocations: 106.5 kB / 0.5203 GB, free: 3.703 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.1234, allocations: 384 / 0.5203 GB, free: 3.703 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.1234, allocations: 8.125 kB / 0.5203 GB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.1235, allocations: 59.39 kB / 0.5204 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.1235, allocations: 0 / 0.5204 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.1236, allocations: 3.984 kB / 0.5204 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1236, allocations: 0 / 0.5204 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.928e-05/0.1236, allocations: 33.7 kB / 0.5204 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001522/0.1238, allocations: 116.7 kB / 0.5205 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.293e-05/0.1239, allocations: 48.25 kB / 0.5206 GB, free: 3.363 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.873e-05/0.1239, allocations: 42.55 kB / 0.5206 GB, free: 3.312 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.906e-06/0.1239, allocations: 4 kB / 0.5206 GB, free: 3.309 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.976e-05/0.124, allocations: 60.27 kB / 0.5207 GB, free: 3.234 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.124, allocations: 0 / 0.5207 GB, free: 3.234 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002481/0.1242, allocations: 114.8 kB / 0.5208 GB, free: 3.098 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.233e-05/0.1243, allocations: 92.97 kB / 0.5209 GB, free: 2.988 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.421e-05/0.1244, allocations: 93.86 kB / 0.521 GB, free: 2.887 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.1244, allocations: 25.7 kB / 0.521 GB, free: 2.855 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.002e-05/0.1244, allocations: 80.14 kB / 0.5211 GB, free: 2.773 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.847e-05/0.1244, allocations: 3.953 kB / 0.5211 GB, free: 2.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-05/0.1245, allocations: 13.72 kB / 0.5211 GB, free: 2.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.1246, allocations: 323 kB / 0.5214 GB, free: 2.426 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.485e-05/0.1246, allocations: 29.69 kB / 0.5214 GB, free: 2.391 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.142e-05/0.1247, allocations: 29.7 kB / 0.5214 GB, free: 2.355 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.542e-05/0.1247, allocations: 64.27 kB / 0.5215 GB, free: 2.277 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1247, allocations: 0 / 0.5215 GB, free: 2.277 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001013/0.1248, allocations: 101 kB / 0.5216 GB, free: 2.16 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.277e-05/0.1249, allocations: 29.7 kB / 0.5216 GB, free: 2.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1249, allocations: 4 kB / 0.5216 GB, free: 2.121 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.1249, allocations: 0 / 0.5216 GB, free: 2.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-07/0.1249, allocations: 4.094 kB / 0.5216 GB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1249, allocations: 0 / 0.5216 GB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.794e-05/0.1249, allocations: 0 / 0.5216 GB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.1249, allocations: 0 / 0.5216 GB, free: 2.117 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.0001057/0.125, allocations: 139.5 kB / 0.5218 GB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.116e-05/0.125, allocations: 3.938 kB / 0.5218 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.546e-05/0.1251, allocations: 11.12 kB / 0.5218 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.1251, allocations: 4 kB / 0.5218 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1251, allocations: 0 / 0.5218 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1251, allocations: 0 / 0.5218 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.1252, allocations: 120.7 kB / 0.5219 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.1252, allocations: 8 kB / 0.5219 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.22e-07/0.1252, allocations: 0 / 0.5219 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.1252, allocations: 0 / 0.5219 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.1252, allocations: 0 / 0.5219 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.1252, allocations: 3.984 kB / 0.5219 GB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1252, allocations: 0 / 0.5219 GB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00015/0.1254, allocations: 124.4 kB / 0.522 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.061e-06/0.1254, allocations: 3.984 kB / 0.522 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.1254, allocations: 0 / 0.522 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.128e-05/0.1254, allocations: 0 / 0.522 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.702e-05/0.1254, allocations: 11.97 kB / 0.5221 GB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.1254, allocations: 0 / 0.5221 GB, free: 1.605 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.287e-05/0.1255, allocations: 75.28 kB / 0.5221 GB, free: 1.531 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1255, allocations: 0 / 0.5221 GB, free: 1.531 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003213/0.1258, allocations: 67.86 kB / 0.5222 GB, free: 1.465 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.001247/0.127, allocations: 0.9034 MB / 0.5231 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001501/0.1272, allocations: 114.7 kB / 0.5232 GB, free: 388 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1272, allocations: 0 / 0.5232 GB, free: 388 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.355e-05/0.1272, allocations: 85.11 kB / 0.5233 GB, free: 284 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001539/0.1274, allocations: 4 kB / 0.5233 GB, free: 280 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004498/0.1278, allocations: 179.9 kB / 0.5234 GB, free: 52 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.754e-05/0.1279, allocations: 59.47 kB / 0.5235 GB, free: 15.97 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.015e-06/0.1279, allocations: 4 kB / 0.5235 GB, free: 15.97 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.938e-05/0.128, allocations: 11.44 kB / 0.5235 GB, free: 15.96 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.128, allocations: 0 / 0.5235 GB, free: 15.96 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02487/0.1528, allocations: 2.728 MB / 0.5262 GB, free: 13.2 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/12.2, allocations: 5.062 kB / 0.5262 GB, free: 13.2 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: 15.245591631974094]