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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001126/0.001126, allocations: 104.6 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001153/0.001153, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.321/1.321, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2034/0.2034, allocations: 46.1 MB / 344.1 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 78.75 kB / 417.7 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1125, allocations: 62.44 MB / 480.1 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01369/0.1263, allocations: 11.28 MB / 491.4 MB, free: 9.82 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01268/0.139, allocations: 11.77 MB / 0.4914 GB, free: 14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002445/0.1393, allocations: 8 kB / 0.4914 GB, free: 14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003354/0.1397, allocations: 75.48 kB / 0.4915 GB, free: 13.92 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01007/0.1498, allocations: 3.121 MB / 0.4945 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004428/0.1502, allocations: 155.2 kB / 0.4947 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005571/0.1558, allocations: 3.889 MB / 0.4985 GB, free: 6.742 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.55e-05/0.1559, allocations: 16.41 kB / 0.4985 GB, free: 6.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002252/0.1561, allocations: 147.5 kB / 0.4986 GB, free: 6.586 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2178/0.3739, allocations: 7.12 MB / 0.5056 GB, free: 22.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.413e-05/0.3741, allocations: 8.844 kB / 0.5056 GB, free: 22.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005865/0.3799, allocations: 2.099 MB / 0.5076 GB, free: 22.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.3801, allocations: 48.09 kB / 0.5077 GB, free: 22.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002392/0.3803, allocations: 124.8 kB / 0.5078 GB, free: 22.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004724/0.3851, allocations: 1.543 MB / 0.5093 GB, free: 22.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3851, allocations: 5.375 kB / 0.5093 GB, free: 22.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3851, allocations: 0 / 0.5093 GB, free: 22.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.3851, allocations: 0 / 0.5093 GB, free: 22.89 MB / 382.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.003154/0.3883, allocations: 0.9232 MB / 0.5102 GB, free: 22.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.3883, allocations: 9.844 kB / 0.5102 GB, free: 22.34 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.553e-05/0.3884, allocations: 62.7 kB / 0.5103 GB, free: 22.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006535/0.3891, allocations: 79.67 kB / 0.5104 GB, free: 22.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002658/0.3894, allocations: 244.6 kB / 0.5106 GB, free: 22.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.3894, allocations: 22.75 kB / 0.5106 GB, free: 22.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.437e-05/0.3894, allocations: 25.83 kB / 0.5106 GB, free: 22.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009987/0.3904, allocations: 486.5 kB / 0.5111 GB, free: 21.97 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.3905, allocations: 4.188 kB / 0.5111 GB, free: 21.97 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.427e-05/0.3905, allocations: 10.12 kB / 0.5111 GB, free: 21.97 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.3905, allocations: 12.05 kB / 0.5111 GB, free: 21.97 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001312/0.3918, allocations: 0.6827 MB / 0.5118 GB, free: 21.96 MB / 382.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.007718/0.3996, allocations: 4.295 MB / 0.516 GB, free: 19.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006023/0.4002, allocations: 169.9 kB / 0.5161 GB, free: 19.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.501e-05/0.4003, allocations: 62.14 kB / 0.5162 GB, free: 19.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0253/0.4256, allocations: 16.4 MB / 0.5322 GB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006352/0.4263, allocations: 328 kB / 0.5325 GB, free: 7.281 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 3.998e-06/0.4263, allocations: 0.6562 kB / 0.5325 GB, free: 7.281 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001335/0.4276, allocations: 438.1 kB / 0.533 GB, free: 7.164 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.091e-05/0.4277, allocations: 483.3 kB / 0.5334 GB, free: 6.598 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.4279, allocations: 192.7 kB / 0.5336 GB, free: 6.465 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.4279, allocations: 31.48 kB / 0.5336 GB, free: 6.434 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.585e-05/0.428, allocations: 189.2 kB / 0.5338 GB, free: 6.273 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.461e-05/0.4281, allocations: 105.7 kB / 0.5339 GB, free: 6.199 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.511e-05/0.4282, allocations: 94.83 kB / 0.534 GB, free: 6.168 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.039e-05/0.4282, allocations: 328.8 kB / 0.5343 GB, free: 5.848 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.4283, allocations: 66.55 kB / 0.5344 GB, free: 5.832 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001802/0.4285, allocations: 306.8 kB / 0.5347 GB, free: 5.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003659/0.4289, allocations: 428.8 kB / 0.5351 GB, free: 5.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.4289, allocations: 2.375 kB / 0.5351 GB, free: 5.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006465/0.4295, allocations: 400.7 kB / 0.5355 GB, free: 5.074 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.4296, allocations: 10.91 kB / 0.5355 GB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/0.4296, allocations: 9.344 kB / 0.5355 GB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-05/0.4296, allocations: 12.66 kB / 0.5355 GB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003033/0.4299, allocations: 105.5 kB / 0.5356 GB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.862e-05/0.43, allocations: 18.08 kB / 0.5356 GB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002788/0.4303, allocations: 47.12 kB / 0.5357 GB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.634e-05/0.4303, allocations: 27.22 kB / 0.5357 GB, free: 5.035 MB / 382.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.0001262/0.4304, allocations: 161.7 kB / 0.5358 GB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.466e-05/0.4305, allocations: 27.62 kB / 0.5359 GB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009589/0.4315, allocations: 0.7811 MB / 0.5366 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/0.4315, allocations: 7.812 kB / 0.5366 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.4315, allocations: 5.938 kB / 0.5366 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.4315, allocations: 9.297 kB / 0.5366 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/0.4327, allocations: 1.211 MB / 0.5378 GB, free: 3.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.298e-06/0.4327, allocations: 3.5 kB / 0.5378 GB, free: 3.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.4328, allocations: 28.83 kB / 0.5379 GB, free: 3.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.685e-06/0.4328, allocations: 8.094 kB / 0.5379 GB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.4329, allocations: 7.859 kB / 0.5379 GB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.4329, allocations: 6.25 kB / 0.5379 GB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.4329, allocations: 3.969 kB / 0.5379 GB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004638/0.4333, allocations: 377.7 kB / 0.5382 GB, free: 3.445 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.19e-05/0.4334, allocations: 102.1 kB / 0.5383 GB, free: 3.336 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.832e-05/0.4335, allocations: 52.75 kB / 0.5384 GB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00024/0.4338, allocations: 14.2 kB / 0.5384 GB, free: 3.297 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.611e-05/0.4338, allocations: 14.58 kB / 0.5384 GB, free: 3.293 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/0.4338, allocations: 12.12 kB / 0.5384 GB, free: 3.293 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002642/0.4341, allocations: 289.4 kB / 0.5387 GB, free: 3.168 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.52e-07/0.4341, allocations: 4 kB / 0.5387 GB, free: 3.164 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001604/0.4357, allocations: 421.5 kB / 0.5391 GB, free: 3.078 MB / 382.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.002471/0.4382, allocations: 1.451 MB / 0.5405 GB, free: 2.113 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003541/0.4386, allocations: 238.4 kB / 0.5408 GB, free: 2.047 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.4386, allocations: 4.25 kB / 0.5408 GB, free: 2.043 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.859e-05/0.4387, allocations: 88.12 kB / 0.5408 GB, free: 2.012 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007684/0.4394, allocations: 107 kB / 0.541 GB, free: 1.957 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.258/1.698, allocations: 0.582 GB / 1.123 GB, free: 187.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/1.698, allocations: 0.8067 MB / 1.124 GB, free: 186.5 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000485/1.699, allocations: 169.5 kB / 1.124 GB, free: 186.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001546/1.699, allocations: 152.8 kB / 1.124 GB, free: 186.3 MB / 0.5294 GB Notification: Performance of SimCode: time 8.21e-07/1.699, allocations: 0 / 1.124 GB, free: 186.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03817/1.737, allocations: 18.28 MB / 1.142 GB, free: 172.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.047/9.784, allocations: 15.81 kB / 1.142 GB, free: 172.5 MB / 0.5294 GB (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 --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) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches