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.001818/0.001818, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.002288/0.002288, allocations: 205.4 kB / 24.51 MB, free: 3.945 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.42/1.42, allocations: 230.5 MB / 258.2 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.2228/0.2228, allocations: 46.95 MB / 361.6 MB, free: 3.906 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.002274/0.002274, allocations: 80.2 kB / 0.4969 GB, free: 7.488 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3268, allocations: 66.08 MB / 0.5615 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01375/0.3405, allocations: 10.15 MB / 0.5714 GB, free: 9.793 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01248/0.353, allocations: 10.28 MB / 0.5814 GB, free: 15.47 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001582/0.3532, allocations: 0 / 0.5814 GB, free: 15.47 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003258/0.3535, allocations: 67.52 kB / 0.5815 GB, free: 15.41 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009706/0.3632, allocations: 3.095 MB / 0.5845 GB, free: 12.3 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004908/0.3637, allocations: 160.1 kB / 0.5847 GB, free: 12.14 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006154/0.3699, allocations: 3.967 MB / 0.5885 GB, free: 8.172 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.552e-05/0.3699, allocations: 16.58 kB / 0.5886 GB, free: 8.16 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002067/0.3701, allocations: 147.5 kB / 0.5887 GB, free: 8.016 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01067/0.3808, allocations: 7.246 MB / 0.5958 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.983e-05/0.3809, allocations: 12 kB / 0.5958 GB, free: 0.75 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004897/0.3858, allocations: 2.115 MB / 0.5979 GB, free: 14.63 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.3859, allocations: 51.75 kB / 0.5979 GB, free: 14.58 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001792/0.3861, allocations: 111.5 kB / 0.598 GB, free: 14.47 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004399/0.3905, allocations: 1.539 MB / 0.5995 GB, free: 12.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3905, allocations: 3.938 kB / 0.5995 GB, free: 12.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3905, allocations: 0 / 0.5995 GB, free: 12.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.3905, allocations: 0 / 0.5995 GB, free: 12.93 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.002516/0.393, allocations: 0.8622 MB / 0.6004 GB, free: 12.03 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.3931, allocations: 12.03 kB / 0.6004 GB, free: 12.02 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.049e-05/0.3931, allocations: 8.844 kB / 0.6004 GB, free: 12.01 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.304e-05/0.3932, allocations: 66.72 kB / 0.6004 GB, free: 11.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006555/0.3938, allocations: 80.67 kB / 0.6005 GB, free: 11.86 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003988/0.3942, allocations: 190.2 kB / 0.6007 GB, free: 11.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/0.3943, allocations: 21.03 kB / 0.6007 GB, free: 11.62 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.21e-05/0.3943, allocations: 28.12 kB / 0.6008 GB, free: 11.6 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.3954, allocations: 0.5293 MB / 0.6013 GB, free: 11.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.3954, allocations: 11.94 kB / 0.6013 GB, free: 11.01 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.341e-05/0.3955, allocations: 8 kB / 0.6013 GB, free: 11 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.948e-05/0.3955, allocations: 8 kB / 0.6013 GB, free: 11 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/0.3967, allocations: 0.7005 MB / 0.602 GB, free: 10.29 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.007476/0.4042, allocations: 2.875 MB / 0.6048 GB, free: 7.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006378/0.4048, allocations: 159 kB / 0.6049 GB, free: 7.176 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.712e-05/0.4049, allocations: 53.53 kB / 0.605 GB, free: 7.121 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02589/0.4308, allocations: 7.702 MB / 0.6125 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008452/0.4317, allocations: 318 kB / 0.6128 GB, free: 15.02 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.204e-06/0.4317, allocations: 0 / 0.6128 GB, free: 15.02 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.001489/0.4331, allocations: 445 kB / 0.6132 GB, free: 14.57 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002944/0.4334, allocations: 480.3 kB / 0.6137 GB, free: 13.99 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002258/0.4337, allocations: 190 kB / 0.6139 GB, free: 13.8 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.49e-05/0.4337, allocations: 33.7 kB / 0.6139 GB, free: 13.76 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.4338, allocations: 192.2 kB / 0.6141 GB, free: 13.57 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.4339, allocations: 111.1 kB / 0.6142 GB, free: 13.46 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/0.4341, allocations: 94.06 kB / 0.6143 GB, free: 13.36 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.4343, allocations: 326.8 kB / 0.6146 GB, free: 13.03 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.4344, allocations: 64.83 kB / 0.6147 GB, free: 12.97 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004567/0.4349, allocations: 310.8 kB / 0.615 GB, free: 12.54 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006373/0.4355, allocations: 424.9 kB / 0.6154 GB, free: 12.01 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.613e-06/0.4355, allocations: 4 kB / 0.6154 GB, free: 12 MB / 462.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007479/0.4363, allocations: 405.5 kB / 0.6158 GB, free: 11.6 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.4363, allocations: 8.188 kB / 0.6158 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.4363, allocations: 12 kB / 0.6158 GB, free: 11.58 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.777e-05/0.4363, allocations: 12 kB / 0.6158 GB, free: 11.57 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000343/0.4367, allocations: 107.8 kB / 0.6159 GB, free: 11.46 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.499e-05/0.4367, allocations: 27.8 kB / 0.6159 GB, free: 11.44 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002715/0.437, allocations: 39.73 kB / 0.616 GB, free: 11.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-05/0.437, allocations: 31.98 kB / 0.616 GB, free: 11.37 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.0001701/0.4372, allocations: 158.9 kB / 0.6161 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.789e-05/0.4373, allocations: 27.86 kB / 0.6162 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/0.4384, allocations: 0.8102 MB / 0.617 GB, free: 10.33 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/0.4384, allocations: 8.203 kB / 0.617 GB, free: 10.32 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.4384, allocations: 11.94 kB / 0.617 GB, free: 10.31 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.4384, allocations: 3.938 kB / 0.617 GB, free: 10.3 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001419/0.4398, allocations: 0.8964 MB / 0.6179 GB, free: 9.352 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.4398, allocations: 4 kB / 0.6179 GB, free: 9.348 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.44, allocations: 35.86 kB / 0.6179 GB, free: 9.312 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.44, allocations: 0 / 0.6179 GB, free: 9.312 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.44, allocations: 12 kB / 0.6179 GB, free: 9.301 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.44, allocations: 0 / 0.6179 GB, free: 9.301 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.44, allocations: 4 kB / 0.6179 GB, free: 9.297 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004784/0.4405, allocations: 379.8 kB / 0.6183 GB, free: 8.879 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.975e-05/0.4405, allocations: 35.72 kB / 0.6183 GB, free: 8.844 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.351e-05/0.4406, allocations: 47.56 kB / 0.6183 GB, free: 8.797 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002814/0.4409, allocations: 7.984 kB / 0.6184 GB, free: 8.789 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.09e-05/0.4409, allocations: 19.92 kB / 0.6184 GB, free: 8.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.95e-05/0.441, allocations: 12 kB / 0.6184 GB, free: 8.758 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004042/0.4414, allocations: 302.8 kB / 0.6187 GB, free: 8.461 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4414, allocations: 0 / 0.6187 GB, free: 8.461 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001679/0.443, allocations: 426.6 kB / 0.6191 GB, free: 8.043 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.002994/0.446, allocations: 1.446 MB / 0.6205 GB, free: 6.539 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006727/0.4467, allocations: 228 kB / 0.6207 GB, free: 6.316 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/0.4467, allocations: 8 kB / 0.6207 GB, free: 6.309 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001494/0.4469, allocations: 69.58 kB / 0.6208 GB, free: 6.242 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008698/0.4477, allocations: 112.8 kB / 0.6209 GB, free: 6.137 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.259/1.706, allocations: 0.5821 GB / 1.203 GB, free: 30.12 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001199/1.706, allocations: 207.1 kB / 1.203 GB, free: 29.89 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003626/1.707, allocations: 158.3 kB / 1.203 GB, free: 29.77 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001446/1.707, allocations: 155.4 kB / 1.203 GB, free: 29.61 MB / 0.6387 GB Notification: Performance of SimCode: time 1.513e-06/1.707, allocations: 3.938 kB / 1.203 GB, free: 29.61 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0384/1.745, allocations: 19.1 MB / 1.222 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/13.91, allocations: 8 kB / 1.222 GB, free: 10.71 MB / 0.6387 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: 21.105057497974485]