Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.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.001286/0.001286, allocations: 116.9 kB / 18.49 MB, free: 4.535 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.001477/0.001477, allocations: 220.7 kB / 21.46 MB, free: 1.582 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.448/1.448, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.2254/0.2254, allocations: 46.92 MB / 357.7 MB, free: 10.17 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.ReferenceAir_ph,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00246/0.00246, allocations: 83.88 kB / 0.4917 GB, free: 7.617 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1348, allocations: 66.04 MB / 0.5562 GB, free: 5.441 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01457/0.1494, allocations: 11.33 MB / 0.5673 GB, free: 10.05 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01341/0.1628, allocations: 11.81 MB / 0.5788 GB, free: 14.2 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001696/0.1629, allocations: 0 / 0.5788 GB, free: 14.2 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003513/0.1633, allocations: 79.48 kB / 0.5789 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01014/0.1734, allocations: 3.117 MB / 0.5819 GB, free: 10.99 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004195/0.1738, allocations: 154.3 kB / 0.5821 GB, free: 10.84 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005789/0.1796, allocations: 3.912 MB / 0.5859 GB, free: 6.926 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.995e-05/0.1797, allocations: 12.39 kB / 0.5859 GB, free: 6.918 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002082/0.1799, allocations: 147.5 kB / 0.586 GB, free: 6.773 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2667/0.4466, allocations: 7.158 MB / 0.593 GB, free: 16.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.374e-05/0.4467, allocations: 9.75 kB / 0.593 GB, free: 16.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004923/0.4516, allocations: 2.152 MB / 0.5951 GB, free: 16.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.68e-05/0.4517, allocations: 44.66 kB / 0.5952 GB, free: 16.23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001832/0.4518, allocations: 129 kB / 0.5953 GB, free: 16.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003286/0.4551, allocations: 1.547 MB / 0.5968 GB, free: 16.15 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.4551, allocations: 0 / 0.5968 GB, free: 16.15 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.4551, allocations: 0.625 kB / 0.5968 GB, free: 16.15 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.4551, allocations: 0 / 0.5968 GB, free: 16.15 MB / 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.002258/0.4574, allocations: 0.9366 MB / 0.5977 GB, free: 15.58 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.4575, allocations: 14.5 kB / 0.5978 GB, free: 15.58 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.959e-05/0.4575, allocations: 6.875 kB / 0.5978 GB, free: 15.58 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.106e-05/0.4575, allocations: 63.09 kB / 0.5978 GB, free: 15.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006229/0.4582, allocations: 86.42 kB / 0.5979 GB, free: 15.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003404/0.4585, allocations: 254.5 kB / 0.5981 GB, free: 15.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.4585, allocations: 18.69 kB / 0.5982 GB, free: 15.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.064e-05/0.4586, allocations: 26.56 kB / 0.5982 GB, free: 15.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/0.4596, allocations: 483 kB / 0.5986 GB, free: 15.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.4596, allocations: 4.859 kB / 0.5987 GB, free: 15.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.709e-05/0.4596, allocations: 13.56 kB / 0.5987 GB, free: 15.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.4597, allocations: 7.906 kB / 0.5987 GB, free: 15.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001199/0.4609, allocations: 0.683 MB / 0.5993 GB, free: 15.2 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.00668/0.4675, allocations: 4.299 MB / 0.6035 GB, free: 12.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005457/0.4681, allocations: 160.2 kB / 0.6037 GB, free: 12.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.885e-05/0.4682, allocations: 53.28 kB / 0.6037 GB, free: 12.39 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02524/0.4934, allocations: 16.41 MB / 0.6198 GB, free: 16.88 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007262/0.4941, allocations: 313.3 kB / 0.6201 GB, free: 16.7 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.544e-06/0.4941, allocations: 5.188 kB / 0.6201 GB, free: 16.69 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.001448/0.4956, allocations: 435.5 kB / 0.6205 GB, free: 16.65 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002865/0.4959, allocations: 482 kB / 0.6209 GB, free: 16.09 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002026/0.4961, allocations: 193.1 kB / 0.6211 GB, free: 15.97 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.038e-05/0.4961, allocations: 31.7 kB / 0.6212 GB, free: 15.94 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.4962, allocations: 190.1 kB / 0.6213 GB, free: 15.79 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.666e-05/0.4963, allocations: 102.9 kB / 0.6214 GB, free: 15.72 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.4964, allocations: 96.5 kB / 0.6215 GB, free: 15.7 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.4965, allocations: 335 kB / 0.6218 GB, free: 15.38 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.4966, allocations: 58.38 kB / 0.6219 GB, free: 15.38 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/0.4968, allocations: 313.6 kB / 0.6222 GB, free: 15.06 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003875/0.4972, allocations: 426.8 kB / 0.6226 GB, free: 14.74 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.4972, allocations: 2.188 kB / 0.6226 GB, free: 14.74 MB / 462.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006374/0.4979, allocations: 397.7 kB / 0.623 GB, free: 14.69 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.4979, allocations: 8.656 kB / 0.623 GB, free: 14.69 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.4979, allocations: 8.906 kB / 0.623 GB, free: 14.69 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.668e-05/0.4979, allocations: 11.97 kB / 0.623 GB, free: 14.69 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002973/0.4982, allocations: 112.8 kB / 0.6231 GB, free: 14.69 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.792e-05/0.4982, allocations: 18.16 kB / 0.6231 GB, free: 14.69 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000254/0.4985, allocations: 59.28 kB / 0.6232 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.757e-05/0.4985, allocations: 27.88 kB / 0.6232 GB, free: 14.66 MB / 462.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.0001442/0.4987, allocations: 158.7 kB / 0.6234 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.635e-05/0.4988, allocations: 23.12 kB / 0.6234 GB, free: 14.53 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008568/0.4996, allocations: 0.784 MB / 0.6242 GB, free: 14.3 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.4996, allocations: 9.391 kB / 0.6242 GB, free: 14.3 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.4996, allocations: 4.969 kB / 0.6242 GB, free: 14.3 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.4996, allocations: 6.703 kB / 0.6242 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.5007, allocations: 1.22 MB / 0.6254 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.5007, allocations: 4.609 kB / 0.6254 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.5008, allocations: 34.81 kB / 0.6254 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/0.5008, allocations: 8.344 kB / 0.6254 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.5008, allocations: 7.406 kB / 0.6254 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/0.5008, allocations: 7.938 kB / 0.6254 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.5008, allocations: 2.312 kB / 0.6254 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003674/0.5012, allocations: 379.2 kB / 0.6258 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.343e-05/0.5013, allocations: 105.4 kB / 0.6259 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.86e-05/0.5013, allocations: 52.7 kB / 0.626 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002242/0.5016, allocations: 16.42 kB / 0.626 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.669e-05/0.5016, allocations: 15.77 kB / 0.626 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.5016, allocations: 11.19 kB / 0.626 GB, free: 13.16 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003288/0.5019, allocations: 292.3 kB / 0.6263 GB, free: 13.07 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5019, allocations: 0 / 0.6263 GB, free: 13.07 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001603/0.5035, allocations: 432.3 kB / 0.6267 GB, free: 12.98 MB / 462.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.002147/0.5057, allocations: 1.437 MB / 0.6281 GB, free: 12.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004036/0.5061, allocations: 234.8 kB / 0.6283 GB, free: 12.09 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5061, allocations: 0 / 0.6283 GB, free: 12.09 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 8.767e-05/0.5062, allocations: 77.67 kB / 0.6284 GB, free: 12.09 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007192/0.5069, allocations: 111.9 kB / 0.6285 GB, free: 12.07 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.339/1.846, allocations: 0.5821 GB / 1.211 GB, free: 117.9 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001903/1.846, allocations: 0.8107 MB / 1.211 GB, free: 117 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003675/1.846, allocations: 170.8 kB / 1.212 GB, free: 116.9 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/1.847, allocations: 143.4 kB / 1.212 GB, free: 116.8 MB / 0.6387 GB Notification: Performance of SimCode: time 1.142e-06/1.847, allocations: 0 / 1.212 GB, free: 116.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03466/1.881, allocations: 18.47 MB / 1.23 GB, free: 98.56 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.117/11, allocations: 7.922 kB / 1.23 GB, free: 98.55 MB / 0.6387 GB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 17.92705694801407]