Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001324/0.001324, allocations: 118.6 kB / 18.5 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001332/0.001332, allocations: 214.6 kB / 21.46 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 230.2 MB / 254.5 MB, free: 15.38 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2372/0.2372, allocations: 46.9 MB / 357.4 MB, free: 10.47 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002223/0.002223, allocations: 89.36 kB / 0.4913 GB, free: 26.88 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1329, allocations: 65.97 MB / 0.5557 GB, free: 9.016 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01901/0.1519, allocations: 13.99 MB / 0.5694 GB, free: 10.95 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.03331/0.1852, allocations: 26.69 MB / 0.5955 GB, free: 172 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001892/0.1854, allocations: 0 / 0.5955 GB, free: 172 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003624/0.1857, allocations: 95.38 kB / 0.5956 GB, free: 76 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0228/0.2085, allocations: 8.542 MB / 0.6039 GB, free: 7.531 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001023/0.2096, allocations: 338.4 kB / 0.6042 GB, free: 7.203 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004142/0.2137, allocations: 2.006 MB / 0.6062 GB, free: 5.172 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.466e-05/0.2138, allocations: 12.41 kB / 0.6062 GB, free: 5.16 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005549/0.2143, allocations: 266.9 kB / 0.6064 GB, free: 4.898 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006378/0.2207, allocations: 3.27 MB / 0.6096 GB, free: 1.574 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.803e-05/0.2207, allocations: 12 kB / 0.6096 GB, free: 1.562 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.287/0.5077, allocations: 11.64 MB / 0.621 GB, free: 13.42 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001328/0.5078, allocations: 54.44 kB / 0.6211 GB, free: 13.42 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002826/0.5081, allocations: 134.4 kB / 0.6212 GB, free: 13.42 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01699/0.5251, allocations: 6.778 MB / 0.6278 GB, free: 13.21 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.5251, allocations: 0 / 0.6278 GB, free: 13.21 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5251, allocations: 1.156 kB / 0.6278 GB, free: 13.21 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.386e-05/0.5251, allocations: 0 / 0.6278 GB, free: 13.21 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.005452/0.5306, allocations: 1.672 MB / 0.6294 GB, free: 12.3 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.5306, allocations: 12.89 kB / 0.6295 GB, free: 12.3 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.607e-05/0.5307, allocations: 69.16 kB / 0.6295 GB, free: 12.26 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001476/0.5322, allocations: 184.9 kB / 0.6297 GB, free: 12.25 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003378/0.5325, allocations: 273.2 kB / 0.63 GB, free: 12.04 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.5325, allocations: 21.56 kB / 0.63 GB, free: 12.04 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.534e-05/0.5326, allocations: 34.81 kB / 0.63 GB, free: 12.03 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001923/0.5345, allocations: 0.7528 MB / 0.6307 GB, free: 11.88 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.5345, allocations: 4.031 kB / 0.6308 GB, free: 11.88 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.575e-05/0.5345, allocations: 15.94 kB / 0.6308 GB, free: 11.88 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/0.5345, allocations: 8.656 kB / 0.6308 GB, free: 11.88 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001977/0.5365, allocations: 0.8198 MB / 0.6316 GB, free: 11.88 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002733/0.5393, allocations: 2.708 MB / 0.6342 GB, free: 9.867 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.5404, allocations: 337 kB / 0.6345 GB, free: 9.844 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.5405, allocations: 73.77 kB / 0.6346 GB, free: 9.836 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3955/0.936, allocations: 147.9 MB / 0.779 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001453/0.9374, allocations: 451.7 kB / 0.7794 GB, free: 4.355 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 2.615e-06/0.9374, allocations: 0 / 0.7794 GB, free: 4.355 MB / 0.5919 GB Notification: Performance of matching and sorting (n=32): time 0.004178/0.9416, allocations: 1.141 MB / 0.7806 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002292/0.9418, allocations: 375.5 kB / 0.7809 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000216/0.9421, allocations: 190.1 kB / 0.7811 GB, free: 2.598 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.609e-05/0.9421, allocations: 29.7 kB / 0.7811 GB, free: 2.562 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.9423, allocations: 198 kB / 0.7813 GB, free: 2.367 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.9424, allocations: 117.8 kB / 0.7814 GB, free: 2.258 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001839/0.9426, allocations: 122.2 kB / 0.7815 GB, free: 2.133 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.9427, allocations: 334.8 kB / 0.7819 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001851/0.9429, allocations: 77.06 kB / 0.7819 GB, free: 1.723 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004231/0.9433, allocations: 344.9 kB / 0.7823 GB, free: 1.258 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006801/0.944, allocations: 484.4 kB / 0.7827 GB, free: 0.6953 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.944, allocations: 4 kB / 0.7827 GB, free: 0.6914 MB / 0.5919 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00095/0.945, allocations: 479.5 kB / 0.7832 GB, free: 284 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/0.945, allocations: 8 kB / 0.7832 GB, free: 276 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.911e-05/0.945, allocations: 12 kB / 0.7832 GB, free: 264 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.559e-05/0.945, allocations: 12 kB / 0.7832 GB, free: 252 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001579/0.9466, allocations: 209.4 kB / 0.7834 GB, free: 52 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008593/0.9475, allocations: 1.183 MB / 0.7846 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003626/0.9478, allocations: 27.89 kB / 0.7846 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.333e-05/0.9479, allocations: 43.97 kB / 0.7846 GB, free: 14.76 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state.phase,state_h_is.phase,medium.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002627/0.9482, allocations: 162.2 kB / 0.7848 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.9483, allocations: 23.91 kB / 0.7848 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003653/0.9519, allocations: 2.819 MB / 0.7876 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.441e-05/0.952, allocations: 25.61 kB / 0.7876 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.952, allocations: 4 kB / 0.7876 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.328e-05/0.952, allocations: 11.92 kB / 0.7876 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001258/0.9533, allocations: 0.9662 MB / 0.7886 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.9533, allocations: 4 kB / 0.7886 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005785/0.9539, allocations: 98.09 kB / 0.7887 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002352/0.9541, allocations: 162.8 kB / 0.7888 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.114e-05/0.9541, allocations: 8 kB / 0.7888 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00054/0.9547, allocations: 0.6478 MB / 0.7894 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/0.9547, allocations: 4 kB / 0.7895 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001501/0.9562, allocations: 0.9687 MB / 0.7904 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001859/0.9564, allocations: 138 kB / 0.7905 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001542/0.9565, allocations: 92.14 kB / 0.7906 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003179/0.9568, allocations: 18.83 kB / 0.7906 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.737e-05/0.9569, allocations: 27.91 kB / 0.7907 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.053e-05/0.9569, allocations: 23.98 kB / 0.7907 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006128/0.9575, allocations: 467 kB / 0.7911 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.9575, allocations: 3.844 kB / 0.7911 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.006296/0.9638, allocations: 1.637 MB / 0.7927 GB, free: 6.379 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 11 ($cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01159/0.9754, allocations: 3.158 MB / 0.7958 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001832/0.9772, allocations: 0.5309 MB / 0.7963 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/0.9773, allocations: 0 / 0.7963 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005031/0.9778, allocations: 295.3 kB / 0.7966 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009593/0.9787, allocations: 118.5 kB / 0.7967 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.949/1.928, allocations: 353.3 MB / 1.142 GB, free: 218 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003834/1.928, allocations: 0.9859 MB / 1.143 GB, free: 217 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000663/1.929, allocations: 0.5106 MB / 1.143 GB, free: 216.5 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003094/1.929, allocations: 315.3 kB / 1.144 GB, free: 216.2 MB / 0.6544 GB Notification: Performance of SimCode: time 1.493e-06/1.929, allocations: 0 / 1.144 GB, free: 216.2 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.114/2.043, allocations: 66.48 MB / 1.208 GB, free: 149.9 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.44/19.48, allocations: 10.52 kB / 1.208 GB, free: 149.9 MB / 0.6544 GB " [Timeout remaining time 640] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.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: 22.976359718013555]