Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.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.00182/0.00182, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002078/0.002078, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.461/1.461, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2207/0.2207, allocations: 46.92 MB / 357.1 MB, free: 10.38 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 63.89 kB / 0.491 GB, free: 7.953 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1273, allocations: 66 MB / 0.5554 GB, free: 5.828 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.0187/0.146, allocations: 13.98 MB / 0.5691 GB, free: 7.785 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2891/0.4351, allocations: 26.68 MB / 0.5951 GB, free: 3.691 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001854/0.4353, allocations: 5.875 kB / 0.5951 GB, free: 3.691 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000336/0.4356, allocations: 92.75 kB / 0.5952 GB, free: 3.691 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02119/0.4568, allocations: 8.548 MB / 0.6036 GB, free: 3.602 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009867/0.4578, allocations: 349 kB / 0.6039 GB, free: 3.59 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004325/0.4621, allocations: 2.001 MB / 0.6059 GB, free: 3.059 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.961e-05/0.4622, allocations: 12.62 kB / 0.6059 GB, free: 3.059 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005539/0.4627, allocations: 269.1 kB / 0.6061 GB, free: 3.023 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006211/0.4689, allocations: 3.272 MB / 0.6093 GB, free: 2.062 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.259e-05/0.469, allocations: 9.312 kB / 0.6093 GB, free: 2.062 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02481/0.4938, allocations: 11.65 MB / 0.6207 GB, free: 15.54 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001353/0.494, allocations: 53.23 kB / 0.6208 GB, free: 15.52 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003358/0.4943, allocations: 141.2 kB / 0.6209 GB, free: 15.48 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02003/0.5143, allocations: 6.761 MB / 0.6275 GB, free: 11.66 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.655e-06/0.5143, allocations: 3.984 kB / 0.6275 GB, free: 11.65 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5143, allocations: 0 / 0.6275 GB, free: 11.65 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.5143, allocations: 2.906 kB / 0.6275 GB, free: 11.65 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.00537/0.5197, allocations: 1.666 MB / 0.6291 GB, free: 10.48 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.5197, allocations: 12.61 kB / 0.6291 GB, free: 10.48 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.582e-05/0.5198, allocations: 65.64 kB / 0.6292 GB, free: 10.41 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001497/0.5213, allocations: 187.1 kB / 0.6294 GB, free: 10.33 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003524/0.5217, allocations: 277.1 kB / 0.6296 GB, free: 10.05 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.5217, allocations: 20.38 kB / 0.6297 GB, free: 10.04 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.661e-05/0.5217, allocations: 31.28 kB / 0.6297 GB, free: 10.03 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002114/0.5239, allocations: 0.7658 MB / 0.6304 GB, free: 9.52 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.5239, allocations: 0 / 0.6304 GB, free: 9.52 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.993e-05/0.5239, allocations: 12.81 kB / 0.6305 GB, free: 9.512 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.5239, allocations: 8.875 kB / 0.6305 GB, free: 9.512 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002133/0.526, allocations: 0.8185 MB / 0.6313 GB, free: 9.129 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.003595/0.5296, allocations: 2.703 MB / 0.6339 GB, free: 6.629 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001249/0.5309, allocations: 343.6 kB / 0.6342 GB, free: 6.449 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.531, allocations: 72.2 kB / 0.6343 GB, free: 6.41 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4153/0.9463, allocations: 147.9 MB / 0.7787 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00141/0.9477, allocations: 446 kB / 0.7791 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=31): time 2.224e-06/0.9477, allocations: 0 / 0.7791 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of matching and sorting (n=32): time 0.004183/0.9519, allocations: 1.141 MB / 0.7802 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002186/0.9521, allocations: 373.3 kB / 0.7806 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.9524, allocations: 198.4 kB / 0.7808 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.62e-05/0.9524, allocations: 29.7 kB / 0.7808 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.9525, allocations: 196.1 kB / 0.781 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.9527, allocations: 117.9 kB / 0.7811 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001838/0.9528, allocations: 122.2 kB / 0.7812 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.953, allocations: 330.8 kB / 0.7815 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001862/0.9532, allocations: 77.06 kB / 0.7816 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004128/0.9536, allocations: 347.1 kB / 0.7819 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007111/0.9543, allocations: 491.1 kB / 0.7824 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.9543, allocations: 4 kB / 0.7824 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009841/0.9553, allocations: 476.8 kB / 0.7829 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.9553, allocations: 11.84 kB / 0.7829 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/0.9553, allocations: 16.12 kB / 0.7829 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.205e-05/0.9554, allocations: 12 kB / 0.7829 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001606/0.957, allocations: 211.7 kB / 0.7831 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008392/0.9578, allocations: 1.181 MB / 0.7843 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003448/0.9582, allocations: 32.08 kB / 0.7843 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.212e-05/0.9582, allocations: 43.97 kB / 0.7843 GB, free: 0.7539 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.0002128/0.9584, allocations: 162.8 kB / 0.7845 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.9585, allocations: 23.91 kB / 0.7845 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003352/0.9619, allocations: 2.81 MB / 0.7873 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.882e-05/0.9619, allocations: 23.97 kB / 0.7873 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.9619, allocations: 4.375 kB / 0.7873 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/0.962, allocations: 11.92 kB / 0.7873 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001365/0.9633, allocations: 0.9707 MB / 0.7882 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.9633, allocations: 4 kB / 0.7883 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007177/0.964, allocations: 96.27 kB / 0.7883 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000266/0.9643, allocations: 164.7 kB / 0.7885 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.478e-05/0.9643, allocations: 8 kB / 0.7885 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005711/0.9649, allocations: 0.6479 MB / 0.7891 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.9649, allocations: 8.094 kB / 0.7891 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001533/0.9665, allocations: 0.9566 MB / 0.7901 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001477/0.9666, allocations: 140.6 kB / 0.7902 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001743/0.9668, allocations: 95.14 kB / 0.7903 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003337/0.9671, allocations: 15.98 kB / 0.7903 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.788e-05/0.9672, allocations: 31.84 kB / 0.7904 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.302e-05/0.9672, allocations: 23.23 kB / 0.7904 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006359/0.9678, allocations: 467 kB / 0.7908 GB, free: 9.957 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7.1e-08/0.9678, allocations: 0 / 0.7908 GB, free: 9.957 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.006206/0.9741, allocations: 1.645 MB / 0.7924 GB, free: 8.309 MB / 0.6231 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.0114/0.9855, allocations: 3.154 MB / 0.7955 GB, free: 5.242 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001946/0.9874, allocations: 0.5279 MB / 0.796 GB, free: 4.719 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.937e-06/0.9874, allocations: 8.062 kB / 0.796 GB, free: 4.711 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005442/0.988, allocations: 285.6 kB / 0.7963 GB, free: 4.426 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.989, allocations: 121.7 kB / 0.7964 GB, free: 4.309 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.939/1.928, allocations: 353.3 MB / 1.141 GB, free: 207.2 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/1.928, allocations: 0.9859 MB / 1.142 GB, free: 206.2 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005471/1.929, allocations: 0.5067 MB / 1.143 GB, free: 205.7 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002907/1.929, allocations: 315.3 kB / 1.143 GB, free: 205.4 MB / 0.6544 GB Notification: Performance of SimCode: time 8.11e-07/1.929, allocations: 0 / 1.143 GB, free: 205.4 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09033/2.019, allocations: 66.49 MB / 1.208 GB, free: 139.1 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.35/19.36, allocations: 7.016 kB / 1.208 GB, free: 139.1 MB / 0.6544 GB " [Timeout remaining time 640] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 23.01673424988985]