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.001604/0.001604, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001917/0.001917, allocations: 214.8 kB / 23.73 MB, free: 4.406 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.443/1.443, allocations: 230.5 MB / 257.4 MB, free: 7.781 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.2478/0.2478, allocations: 46.94 MB / 360.8 MB, free: 3.934 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002464/0.002464, allocations: 79.88 kB / 0.4962 GB, free: 7.516 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3283, allocations: 66.09 MB / 0.5607 GB, free: 4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01335/0.3417, allocations: 10.15 MB / 0.5707 GB, free: 9.805 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01348/0.3552, allocations: 10.3 MB / 0.5807 GB, free: 15.47 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.3553, allocations: 4 kB / 0.5807 GB, free: 15.46 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003226/0.3556, allocations: 63.52 kB / 0.5808 GB, free: 15.4 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008864/0.3645, allocations: 3.095 MB / 0.5838 GB, free: 12.29 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004334/0.3649, allocations: 152.9 kB / 0.5839 GB, free: 12.15 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006039/0.371, allocations: 3.971 MB / 0.5878 GB, free: 8.172 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.402e-05/0.371, allocations: 16.58 kB / 0.5878 GB, free: 8.16 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002042/0.3712, allocations: 147.5 kB / 0.588 GB, free: 8.016 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0102/0.3814, allocations: 7.242 MB / 0.5951 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.306e-05/0.3815, allocations: 8 kB / 0.5951 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004799/0.3863, allocations: 2.025 MB / 0.597 GB, free: 14.73 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.785e-05/0.3864, allocations: 47.77 kB / 0.5971 GB, free: 14.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001633/0.3866, allocations: 111.5 kB / 0.5972 GB, free: 14.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003013/0.3896, allocations: 1.535 MB / 0.5987 GB, free: 13.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3896, allocations: 0 / 0.5987 GB, free: 13.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3896, allocations: 4 kB / 0.5987 GB, free: 13.03 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.3896, allocations: 3.984 kB / 0.5987 GB, free: 13.03 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.002159/0.3917, allocations: 0.8583 MB / 0.5995 GB, free: 12.14 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/0.3918, allocations: 8.031 kB / 0.5995 GB, free: 12.13 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.153e-05/0.3919, allocations: 70.72 kB / 0.5996 GB, free: 12.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006386/0.3925, allocations: 80.73 kB / 0.5997 GB, free: 11.97 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004219/0.3929, allocations: 190.1 kB / 0.5999 GB, free: 11.76 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.845e-05/0.393, allocations: 20.97 kB / 0.5999 GB, free: 11.74 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.843e-05/0.393, allocations: 28.38 kB / 0.5999 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/0.3943, allocations: 0.5331 MB / 0.6004 GB, free: 11.13 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.3943, allocations: 0 / 0.6004 GB, free: 11.13 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.692e-05/0.3944, allocations: 16 kB / 0.6004 GB, free: 11.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.3944, allocations: 8 kB / 0.6005 GB, free: 11.11 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001235/0.3956, allocations: 0.6888 MB / 0.6011 GB, free: 10.42 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.007315/0.4029, allocations: 2.871 MB / 0.6039 GB, free: 7.469 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005688/0.4035, allocations: 159.1 kB / 0.6041 GB, free: 7.305 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.079e-05/0.4036, allocations: 53.47 kB / 0.6041 GB, free: 7.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02503/0.4286, allocations: 7.71 MB / 0.6117 GB, free: 15.51 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007493/0.4294, allocations: 314 kB / 0.612 GB, free: 15.14 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.254e-06/0.4294, allocations: 0 / 0.612 GB, free: 15.14 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.001424/0.4308, allocations: 446.4 kB / 0.6124 GB, free: 14.7 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003131/0.4311, allocations: 482.5 kB / 0.6129 GB, free: 14.12 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002314/0.4313, allocations: 201.9 kB / 0.613 GB, free: 13.91 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.425e-05/0.4314, allocations: 33.7 kB / 0.6131 GB, free: 13.87 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.4315, allocations: 188.2 kB / 0.6133 GB, free: 13.68 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.307e-05/0.4316, allocations: 103.2 kB / 0.6134 GB, free: 13.58 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/0.4318, allocations: 94.06 kB / 0.6134 GB, free: 13.48 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.4319, allocations: 326.8 kB / 0.6138 GB, free: 13.16 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.4321, allocations: 61.14 kB / 0.6138 GB, free: 13.1 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003917/0.4324, allocations: 314.8 kB / 0.6141 GB, free: 12.67 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000581/0.433, allocations: 417 kB / 0.6145 GB, free: 12.14 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.433, allocations: 8 kB / 0.6145 GB, free: 12.13 MB / 462.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007052/0.4337, allocations: 400.9 kB / 0.6149 GB, free: 11.73 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.297e-05/0.4338, allocations: 12 kB / 0.6149 GB, free: 11.72 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.4338, allocations: 8 kB / 0.6149 GB, free: 11.71 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.739e-05/0.4338, allocations: 12.78 kB / 0.6149 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003193/0.4341, allocations: 115.8 kB / 0.615 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.881e-05/0.4341, allocations: 19.94 kB / 0.6151 GB, free: 11.57 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002547/0.4344, allocations: 51.61 kB / 0.6151 GB, free: 11.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.106e-05/0.4345, allocations: 31.98 kB / 0.6151 GB, free: 11.49 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.0001647/0.4346, allocations: 149.6 kB / 0.6153 GB, free: 11.33 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.029e-05/0.4347, allocations: 27.86 kB / 0.6153 GB, free: 11.3 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001223/0.4359, allocations: 0.8445 MB / 0.6161 GB, free: 10.42 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.387e-06/0.4359, allocations: 7.984 kB / 0.6161 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.4359, allocations: 4 kB / 0.6161 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/0.436, allocations: 11.92 kB / 0.6162 GB, free: 10.4 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00122/0.4372, allocations: 0.9005 MB / 0.617 GB, free: 9.441 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/0.4372, allocations: 7.938 kB / 0.617 GB, free: 9.434 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.4373, allocations: 27.98 kB / 0.6171 GB, free: 9.406 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.355e-06/0.4373, allocations: 7.938 kB / 0.6171 GB, free: 9.398 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.4373, allocations: 8 kB / 0.6171 GB, free: 9.391 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.394e-06/0.4373, allocations: 7.938 kB / 0.6171 GB, free: 9.383 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.4373, allocations: 0 / 0.6171 GB, free: 9.383 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004953/0.4378, allocations: 379.7 kB / 0.6175 GB, free: 8.965 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.234e-05/0.4379, allocations: 31.72 kB / 0.6175 GB, free: 8.934 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.31e-05/0.438, allocations: 47.72 kB / 0.6175 GB, free: 8.887 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002283/0.4382, allocations: 15.98 kB / 0.6175 GB, free: 8.871 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.864e-05/0.4382, allocations: 15.92 kB / 0.6176 GB, free: 8.855 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.28e-05/0.4383, allocations: 15.98 kB / 0.6176 GB, free: 8.84 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003609/0.4386, allocations: 290.9 kB / 0.6179 GB, free: 8.555 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4386, allocations: 0 / 0.6179 GB, free: 8.555 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001556/0.4402, allocations: 434.5 kB / 0.6183 GB, free: 8.129 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.002274/0.4425, allocations: 1.435 MB / 0.6197 GB, free: 6.637 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004584/0.4429, allocations: 241.2 kB / 0.6199 GB, free: 6.402 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.824e-06/0.4429, allocations: 0 / 0.6199 GB, free: 6.402 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001104/0.443, allocations: 67.86 kB / 0.62 GB, free: 6.336 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007572/0.4438, allocations: 118.4 kB / 0.6201 GB, free: 6.227 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.269/1.713, allocations: 0.5821 GB / 1.202 GB, free: 2.984 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001523/1.713, allocations: 211.1 kB / 1.202 GB, free: 2.758 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004494/1.714, allocations: 161.2 kB / 1.203 GB, free: 2.625 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001848/1.714, allocations: 147.4 kB / 1.203 GB, free: 2.48 MB / 0.6231 GB Notification: Performance of SimCode: time 1.803e-06/1.714, allocations: 0 / 1.203 GB, free: 2.48 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2962/2.01, allocations: 19.36 MB / 1.222 GB, free: 224.1 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/13.61, allocations: 8 kB / 1.222 GB, free: 224.1 MB / 0.6231 GB " [Timeout remaining time 646] (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: 18.668489267118275]