Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.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.001901/0.001901, allocations: 113 kB / 18.49 MB, free: 4.539 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.001994/0.001994, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.506/1.506, allocations: 230.6 MB / 254.8 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2259/0.2259, allocations: 44.91 MB / 355.8 MB, free: 12.33 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.ReferenceAir_ph,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.001873/0.001873, allocations: 67.91 kB / 0.4886 GB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1531, allocations: 65.43 MB / 0.5525 GB, free: 10.1 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01563/0.1687, allocations: 11.33 MB / 0.5636 GB, free: 14.71 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01404/0.1828, allocations: 11.81 MB / 0.5751 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001798/0.1829, allocations: 0 / 0.5751 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003528/0.1833, allocations: 75.48 kB / 0.5752 GB, free: 2.777 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009346/0.1926, allocations: 3.117 MB / 0.5782 GB, free: 15.64 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004299/0.1931, allocations: 151.2 kB / 0.5784 GB, free: 15.5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005894/0.199, allocations: 3.924 MB / 0.5822 GB, free: 11.57 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.855e-05/0.199, allocations: 16.38 kB / 0.5822 GB, free: 11.56 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002519/0.1993, allocations: 135.6 kB / 0.5823 GB, free: 11.43 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009775/0.2091, allocations: 7.164 MB / 0.5893 GB, free: 4.254 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.527e-05/0.2091, allocations: 11.94 kB / 0.5893 GB, free: 4.242 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005009/0.2141, allocations: 2.158 MB / 0.5914 GB, free: 2.082 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.265e-05/0.2142, allocations: 43.77 kB / 0.5915 GB, free: 2.039 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001708/0.2144, allocations: 123.5 kB / 0.5916 GB, free: 1.918 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003096/0.2175, allocations: 1.543 MB / 0.5931 GB, free: 380 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2175, allocations: 4 kB / 0.5931 GB, free: 376 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2175, allocations: 3.938 kB / 0.5931 GB, free: 372 kB / 446.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.2175, allocations: 0 / 0.5931 GB, free: 372 kB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.3028/0.5202, allocations: 0.936 MB / 0.594 GB, free: 41.46 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.031e-05/0.5203, allocations: 10.56 kB / 0.594 GB, free: 41.46 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.437e-05/0.5203, allocations: 10.69 kB / 0.5941 GB, free: 41.46 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.596e-05/0.5204, allocations: 66.05 kB / 0.5941 GB, free: 41.42 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000684/0.5211, allocations: 76.38 kB / 0.5942 GB, free: 41.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004623/0.5216, allocations: 245.7 kB / 0.5944 GB, free: 41.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.936e-05/0.5216, allocations: 18.19 kB / 0.5944 GB, free: 41.21 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.793e-05/0.5216, allocations: 27.88 kB / 0.5945 GB, free: 41.21 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/0.5228, allocations: 487.8 kB / 0.5949 GB, free: 41.1 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.5228, allocations: 3.438 kB / 0.5949 GB, free: 41.1 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.063e-05/0.5229, allocations: 11.06 kB / 0.5949 GB, free: 41.1 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.755e-05/0.5229, allocations: 6.906 kB / 0.595 GB, free: 41.1 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001451/0.5243, allocations: 0.6823 MB / 0.5956 GB, free: 41.1 MB / 446.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.007694/0.532, allocations: 4.308 MB / 0.5998 GB, free: 38.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006061/0.5326, allocations: 157.6 kB / 0.6 GB, free: 38.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.775e-05/0.5327, allocations: 51.83 kB / 0.6 GB, free: 38.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02751/0.5602, allocations: 16.41 MB / 0.6161 GB, free: 26.05 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006952/0.5609, allocations: 319.2 kB / 0.6164 GB, free: 25.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 2.575e-06/0.5609, allocations: 0 / 0.6164 GB, free: 25.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.001364/0.5623, allocations: 440.5 kB / 0.6168 GB, free: 25.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.103e-05/0.5624, allocations: 476.2 kB / 0.6172 GB, free: 25.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.5625, allocations: 185.3 kB / 0.6174 GB, free: 24.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.5626, allocations: 32.33 kB / 0.6174 GB, free: 24.95 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.667e-05/0.5626, allocations: 194.8 kB / 0.6176 GB, free: 24.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.542e-05/0.5627, allocations: 104.4 kB / 0.6177 GB, free: 24.72 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.5628, allocations: 95.06 kB / 0.6178 GB, free: 24.67 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.39e-05/0.5629, allocations: 330.6 kB / 0.6181 GB, free: 24.35 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.563, allocations: 67.95 kB / 0.6182 GB, free: 24.33 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002063/0.5632, allocations: 314.2 kB / 0.6185 GB, free: 23.97 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003967/0.5636, allocations: 426.4 kB / 0.6189 GB, free: 23.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.762e-06/0.5636, allocations: 2.062 kB / 0.6189 GB, free: 23.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006296/0.5642, allocations: 399 kB / 0.6193 GB, free: 23.36 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.5642, allocations: 8.188 kB / 0.6193 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.832e-05/0.5643, allocations: 13.12 kB / 0.6193 GB, free: 23.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.276e-05/0.5643, allocations: 15.53 kB / 0.6193 GB, free: 23.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003211/0.5646, allocations: 107.9 kB / 0.6194 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.024e-05/0.5646, allocations: 14.91 kB / 0.6194 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002566/0.5649, allocations: 49.67 kB / 0.6195 GB, free: 23.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-05/0.5649, allocations: 35.61 kB / 0.6195 GB, free: 23.28 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * 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 0.0001352/0.5651, allocations: 159.4 kB / 0.6197 GB, free: 23.13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.125e-05/0.5652, allocations: 31.09 kB / 0.6197 GB, free: 23.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009067/0.5661, allocations: 0.7829 MB / 0.6205 GB, free: 22.58 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/0.5661, allocations: 12.42 kB / 0.6205 GB, free: 22.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.5661, allocations: 3.219 kB / 0.6205 GB, free: 22.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/0.5661, allocations: 2.219 kB / 0.6205 GB, free: 22.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009364/0.567, allocations: 1.216 MB / 0.6217 GB, free: 21.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.567, allocations: 2.281 kB / 0.6217 GB, free: 21.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.5672, allocations: 36.86 kB / 0.6217 GB, free: 21.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.5672, allocations: 3.062 kB / 0.6217 GB, free: 21.47 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.5672, allocations: 8.562 kB / 0.6217 GB, free: 21.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.5672, allocations: 7.203 kB / 0.6217 GB, free: 21.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/0.5672, allocations: 7.438 kB / 0.6217 GB, free: 21.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003734/0.5676, allocations: 378.2 kB / 0.6221 GB, free: 21.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.233e-05/0.5676, allocations: 105.8 kB / 0.6222 GB, free: 21.03 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.239e-05/0.5677, allocations: 44.56 kB / 0.6222 GB, free: 21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002294/0.5679, allocations: 13.86 kB / 0.6222 GB, free: 20.99 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.77e-05/0.5679, allocations: 16.14 kB / 0.6223 GB, free: 20.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.5679, allocations: 12.41 kB / 0.6223 GB, free: 20.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002825/0.5682, allocations: 295.1 kB / 0.6226 GB, free: 20.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5682, allocations: 1.125 kB / 0.6226 GB, free: 20.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001348/0.5696, allocations: 429.3 kB / 0.623 GB, free: 20.66 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001652/0.5712, allocations: 1.458 MB / 0.6244 GB, free: 19.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004123/0.5716, allocations: 220.7 kB / 0.6246 GB, free: 19.53 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.5716, allocations: 1.125 kB / 0.6246 GB, free: 19.53 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.681e-05/0.5717, allocations: 73.91 kB / 0.6247 GB, free: 19.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007538/0.5725, allocations: 122.3 kB / 0.6248 GB, free: 19.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.327/1.9, allocations: 0.5821 GB / 1.207 GB, free: 104 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002205/1.9, allocations: 0.8107 MB / 1.208 GB, free: 103.2 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003672/1.9, allocations: 160.1 kB / 1.208 GB, free: 103 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001455/1.901, allocations: 151.4 kB / 1.208 GB, free: 102.9 MB / 0.6231 GB Notification: Performance of SimCode: time 9.41e-07/1.901, allocations: 0 / 1.208 GB, free: 102.9 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03291/1.933, allocations: 18.47 MB / 1.226 GB, free: 84.65 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.657/11.59, allocations: 13.55 kB / 1.226 GB, free: 84.64 MB / 0.6231 GB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.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: 18.771912135009188]