Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.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.0009377/0.0009377, allocations: 83.64 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003916/0.003916, allocations: 162.5 kB / 24.69 MB, free: 9.441 MB / 18.57 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 0.7832/0.7832, allocations: 158.6 MB / 186.5 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] 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(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 298.4 MB, free: 3.531 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.831e-05/2.01e-05, allocations: 6.281 kB / 298.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.115/0.115, allocations: 4.184 MB / 302.6 MB, free: 13.18 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001285/0.1163, allocations: 1.624 MB / 304.2 MB, free: 12.77 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.369e-05/0.1164, allocations: 1.344 kB / 304.2 MB, free: 12.77 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002406/0.1166, allocations: 43.52 kB / 304.3 MB, free: 12.75 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003011/0.1169, allocations: 130 kB / 304.4 MB, free: 12.68 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005019/0.1174, allocations: 255 kB / 304.7 MB, free: 12.59 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002722/0.1177, allocations: 298.3 kB / 304.9 MB, free: 12.51 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.338e-05/0.1177, allocations: 11.56 kB / 305 MB, free: 12.51 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000267/0.118, allocations: 169.8 kB / 305.1 MB, free: 12.48 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.968e-05/0.1181, allocations: 69.28 kB / 305.2 MB, free: 12.46 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.277e-05/0.1181, allocations: 8.781 kB / 305.2 MB, free: 12.46 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001793/0.1183, allocations: 97.95 kB / 305.3 MB, free: 12.45 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.736e-05/0.1184, allocations: 41.42 kB / 305.3 MB, free: 12.44 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.44e-05/0.1184, allocations: 59.19 kB / 305.4 MB, free: 12.43 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002894/0.1187, allocations: 226.2 kB / 305.6 MB, free: 12.39 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.1187, allocations: 1.219 kB / 305.6 MB, free: 12.39 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1187, allocations: 0 / 305.6 MB, free: 12.39 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.1187, allocations: 0 / 305.6 MB, free: 12.39 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0006501/0.1194, allocations: 415.5 kB / 306 MB, free: 12.09 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.1194, allocations: 15.12 kB / 306 MB, free: 12.09 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.891e-05/0.1195, allocations: 48.38 kB / 306.1 MB, free: 12.05 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.1196, allocations: 20.45 kB / 306.1 MB, free: 12.04 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.1198, allocations: 158.1 kB / 306.3 MB, free: 11.9 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.1198, allocations: 10.5 kB / 306.3 MB, free: 11.9 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.705e-05/0.1198, allocations: 12.39 kB / 306.3 MB, free: 11.9 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003085/0.1202, allocations: 381.9 kB / 306.6 MB, free: 11.62 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.1202, allocations: 2.719 kB / 306.7 MB, free: 11.62 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.002e-05/0.1202, allocations: 11.66 kB / 306.7 MB, free: 11.61 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.1202, allocations: 3.375 kB / 306.7 MB, free: 11.61 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000222/0.1204, allocations: 151.4 kB / 306.8 MB, free: 11.61 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007618/0.1212, allocations: 0.8574 MB / 307.7 MB, free: 10.94 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002463/0.1214, allocations: 144 kB / 307.8 MB, free: 10.91 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.159e-05/0.1215, allocations: 53.95 kB / 307.9 MB, free: 10.9 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00029/0.1218, allocations: 335.4 kB / 308.2 MB, free: 10.63 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.334e-05/0.1218, allocations: 35.06 kB / 308.2 MB, free: 10.59 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 1.763e-06/0.1218, allocations: 3.938 kB / 308.2 MB, free: 10.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=20): time 0.001444/0.1233, allocations: 0.6951 MB / 308.9 MB, free: 10.26 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.176e-05/0.1233, allocations: 57.31 kB / 309 MB, free: 10.19 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.945e-05/0.1234, allocations: 160.7 kB / 309.1 MB, free: 10.07 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.1234, allocations: 30.77 kB / 309.2 MB, free: 10.03 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.775e-05/0.1234, allocations: 136.9 kB / 309.3 MB, free: 9.906 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/0.1234, allocations: 79.31 kB / 309.4 MB, free: 9.844 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.605e-05/0.1235, allocations: 62.09 kB / 309.4 MB, free: 9.805 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.055e-05/0.1235, allocations: 322 kB / 309.8 MB, free: 9.488 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.1237, allocations: 89.02 kB / 309.8 MB, free: 9.461 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001701/0.1239, allocations: 202.3 kB / 310 MB, free: 9.293 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003162/0.1242, allocations: 290.4 kB / 310.3 MB, free: 9.082 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.1242, allocations: 5.25 kB / 310.3 MB, free: 9.078 MB / 282.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003991/0.1246, allocations: 323.2 kB / 310.6 MB, free: 8.941 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.1246, allocations: 7.75 kB / 310.7 MB, free: 8.941 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.1246, allocations: 3.531 kB / 310.7 MB, free: 8.941 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.1246, allocations: 5.094 kB / 310.7 MB, free: 8.941 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002064/0.1248, allocations: 81.42 kB / 310.7 MB, free: 8.938 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.1248, allocations: 7.219 kB / 310.7 MB, free: 8.938 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.1249, allocations: 24.06 kB / 310.8 MB, free: 8.926 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.549e-05/0.125, allocations: 16.34 kB / 310.8 MB, free: 8.922 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (37): * Single equations (assignments): 37 * 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 7.341e-05/0.125, allocations: 135.9 kB / 310.9 MB, free: 8.789 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.098e-05/0.1251, allocations: 19.98 kB / 310.9 MB, free: 8.777 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003968/0.1255, allocations: 238.2 kB / 311.2 MB, free: 8.676 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.1255, allocations: 6.047 kB / 311.2 MB, free: 8.672 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.1255, allocations: 1.094 kB / 311.2 MB, free: 8.672 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1255, allocations: 0.6562 kB / 311.2 MB, free: 8.672 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007037/0.1262, allocations: 0.5603 MB / 311.7 MB, free: 8.266 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1262, allocations: 2.156 kB / 311.7 MB, free: 8.266 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001416/0.1263, allocations: 50.92 kB / 311.8 MB, free: 8.262 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.1263, allocations: 2.375 kB / 311.8 MB, free: 8.262 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.1264, allocations: 9.234 kB / 311.8 MB, free: 8.258 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.1264, allocations: 2.156 kB / 311.8 MB, free: 8.258 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.1264, allocations: 1.062 kB / 311.8 MB, free: 8.258 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004643/0.1268, allocations: 412.1 kB / 312.2 MB, free: 8.008 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.674e-05/0.1268, allocations: 9.734 kB / 312.2 MB, free: 8.004 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.1269, allocations: 7.438 kB / 312.2 MB, free: 8 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.127, allocations: 14.69 kB / 312.2 MB, free: 7.996 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.199e-05/0.127, allocations: 15.48 kB / 312.3 MB, free: 7.992 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.915e-05/0.127, allocations: 18.31 kB / 312.3 MB, free: 7.984 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.364e-05/0.1271, allocations: 111.1 kB / 312.4 MB, free: 7.898 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1271, allocations: 0 / 312.4 MB, free: 7.898 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002727/0.1273, allocations: 64.69 kB / 312.4 MB, free: 7.887 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (medium.T) * 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 (20): * Single equations (assignments): 20 * 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.0006908/0.128, allocations: 0.9623 MB / 313.4 MB, free: 7.098 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003508/0.1284, allocations: 209.4 kB / 313.6 MB, free: 7.039 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.1284, allocations: 5.812 kB / 313.6 MB, free: 7.035 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.1285, allocations: 88.8 kB / 313.7 MB, free: 7.012 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.1288, allocations: 43.36 kB / 313.7 MB, free: 6.996 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001832/0.1306, allocations: 2.318 MB / 316.1 MB, free: 5.168 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.401e-05/0.1307, allocations: 104.5 kB / 316.2 MB, free: 5.086 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001436/0.1308, allocations: 44 kB / 316.2 MB, free: 5.07 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.714e-05/0.1309, allocations: 52.91 kB / 316.3 MB, free: 5.035 MB / 282.7 MB Notification: Performance of SimCode: time 5.51e-07/0.1309, allocations: 0 / 316.3 MB, free: 5.035 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01879/0.1497, allocations: 5.348 MB / 321.6 MB, free: 3.129 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.685/6.835, allocations: 13.38 kB / 321.6 MB, free: 3.117 MB / 282.7 MB " [Timeout remaining time 653] (rm -f Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_SimpleLiquidWater_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_SimpleLiquidWater.fmu > Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.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: 8.307209932245314]