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.001258/0.001258, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.00135/0.00135, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.446/1.446, allocations: 230.2 MB / 254.5 MB, free: 15.23 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.2319/0.2319, allocations: 46.9 MB / 357.4 MB, free: 10.54 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.002412/0.002412, allocations: 83.84 kB / 0.4913 GB, free: 8.441 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1357, allocations: 65.98 MB / 0.5557 GB, free: 6.324 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01848/0.1542, allocations: 11.35 MB / 0.5668 GB, free: 10.92 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02029/0.1745, allocations: 11.81 MB / 0.5783 GB, free: 15.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000206/0.1747, allocations: 0 / 0.5783 GB, free: 15.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004664/0.1752, allocations: 79.48 kB / 0.5784 GB, free: 14.99 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01571/0.1909, allocations: 3.11 MB / 0.5815 GB, free: 11.86 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006797/0.1916, allocations: 169.4 kB / 0.5816 GB, free: 11.7 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.008448/0.2, allocations: 3.901 MB / 0.5854 GB, free: 7.797 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.2001, allocations: 16.38 kB / 0.5854 GB, free: 7.785 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003522/0.2005, allocations: 143.5 kB / 0.5856 GB, free: 7.645 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01069/0.2112, allocations: 7.164 MB / 0.5926 GB, free: 484 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.118e-05/0.2112, allocations: 8 kB / 0.5926 GB, free: 476 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2893/0.5006, allocations: 2.151 MB / 0.5947 GB, free: 17.05 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.5007, allocations: 43.45 kB / 0.5947 GB, free: 17.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001786/0.5009, allocations: 124.1 kB / 0.5948 GB, free: 17.05 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003667/0.5045, allocations: 1.548 MB / 0.5964 GB, free: 16.97 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.5045, allocations: 1.375 kB / 0.5964 GB, free: 16.97 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.5045, allocations: 0 / 0.5964 GB, free: 16.97 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.5045, allocations: 0 / 0.5964 GB, free: 16.97 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.002315/0.5069, allocations: 0.9465 MB / 0.5973 GB, free: 16.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.5069, allocations: 9.719 kB / 0.5973 GB, free: 16.39 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.199e-05/0.507, allocations: 63.95 kB / 0.5974 GB, free: 16.36 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005962/0.5076, allocations: 80.23 kB / 0.5974 GB, free: 16.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003521/0.5079, allocations: 245.4 kB / 0.5977 GB, free: 16.14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.654e-05/0.5079, allocations: 19.5 kB / 0.5977 GB, free: 16.14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.817e-05/0.508, allocations: 28.7 kB / 0.5977 GB, free: 16.14 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/0.509, allocations: 489 kB / 0.5982 GB, free: 16.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.509, allocations: 3.031 kB / 0.5982 GB, free: 16.02 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.232e-05/0.5091, allocations: 15.48 kB / 0.5982 GB, free: 16.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.5091, allocations: 7.125 kB / 0.5982 GB, free: 16.02 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.5103, allocations: 0.6806 MB / 0.5989 GB, free: 16.02 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.007371/0.5176, allocations: 4.302 MB / 0.6031 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006108/0.5183, allocations: 158.4 kB / 0.6032 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.5184, allocations: 59.73 kB / 0.6033 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02682/0.5452, allocations: 16.4 MB / 0.6193 GB, free: 17.75 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006574/0.5458, allocations: 318.4 kB / 0.6196 GB, free: 17.55 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.054e-06/0.5458, allocations: 0 / 0.6196 GB, free: 17.55 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.001364/0.5472, allocations: 437.8 kB / 0.62 GB, free: 17.51 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002692/0.5475, allocations: 485.8 kB / 0.6205 GB, free: 16.95 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.5476, allocations: 182.4 kB / 0.6206 GB, free: 16.84 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.191e-05/0.5477, allocations: 31.58 kB / 0.6207 GB, free: 16.81 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.283e-05/0.5478, allocations: 195.3 kB / 0.6209 GB, free: 16.65 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.224e-05/0.5478, allocations: 104.5 kB / 0.621 GB, free: 16.59 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.567e-05/0.5479, allocations: 99.67 kB / 0.6211 GB, free: 16.56 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.5481, allocations: 330.4 kB / 0.6214 GB, free: 16.25 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.5482, allocations: 67.11 kB / 0.6214 GB, free: 16.25 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002069/0.5484, allocations: 316.2 kB / 0.6217 GB, free: 15.92 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000371/0.5487, allocations: 415.8 kB / 0.6221 GB, free: 15.6 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.5487, allocations: 2.75 kB / 0.6221 GB, free: 15.6 MB / 462.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006308/0.5494, allocations: 403.1 kB / 0.6225 GB, free: 15.55 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.5494, allocations: 9.469 kB / 0.6225 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.5494, allocations: 9.625 kB / 0.6225 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.872e-05/0.5494, allocations: 11.81 kB / 0.6225 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003073/0.5497, allocations: 114.6 kB / 0.6227 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.841e-05/0.5498, allocations: 18.91 kB / 0.6227 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002692/0.55, allocations: 55.06 kB / 0.6227 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.752e-05/0.5501, allocations: 30.81 kB / 0.6228 GB, free: 15.52 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.0001548/0.5502, allocations: 154 kB / 0.6229 GB, free: 15.4 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.627e-05/0.5503, allocations: 26.44 kB / 0.6229 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009416/0.5513, allocations: 0.7878 MB / 0.6237 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.5513, allocations: 4.531 kB / 0.6237 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.5513, allocations: 4.812 kB / 0.6237 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.5513, allocations: 6.125 kB / 0.6237 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/0.5525, allocations: 1.217 MB / 0.6249 GB, free: 14.42 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.5525, allocations: 3.125 kB / 0.6249 GB, free: 14.42 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.5526, allocations: 30.56 kB / 0.6249 GB, free: 14.42 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.5526, allocations: 8.062 kB / 0.6249 GB, free: 14.42 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.5526, allocations: 11.66 kB / 0.625 GB, free: 14.42 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.5526, allocations: 4.281 kB / 0.625 GB, free: 14.42 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.5526, allocations: 5.75 kB / 0.625 GB, free: 14.42 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004125/0.553, allocations: 387 kB / 0.6253 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.221e-05/0.5531, allocations: 99.34 kB / 0.6254 GB, free: 14.06 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.83e-05/0.5532, allocations: 48.62 kB / 0.6255 GB, free: 14.03 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.5534, allocations: 13.12 kB / 0.6255 GB, free: 14.03 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.925e-05/0.5534, allocations: 15.75 kB / 0.6255 GB, free: 14.03 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.5534, allocations: 8.609 kB / 0.6255 GB, free: 14.03 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000335/0.5538, allocations: 293.1 kB / 0.6258 GB, free: 13.94 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5538, allocations: 6.188 kB / 0.6258 GB, free: 13.94 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001778/0.5556, allocations: 434.8 kB / 0.6262 GB, free: 13.85 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.002122/0.5577, allocations: 1.444 MB / 0.6276 GB, free: 12.96 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004154/0.5581, allocations: 220.5 kB / 0.6278 GB, free: 12.96 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.5581, allocations: 1.375 kB / 0.6278 GB, free: 12.96 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.5582, allocations: 76.61 kB / 0.6279 GB, free: 12.96 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007365/0.559, allocations: 119.3 kB / 0.628 GB, free: 12.95 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.376/1.935, allocations: 0.5821 GB / 1.21 GB, free: 130.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002053/1.935, allocations: 0.8068 MB / 1.211 GB, free: 129.4 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004014/1.935, allocations: 166.3 kB / 1.211 GB, free: 129.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001523/1.936, allocations: 147.4 kB / 1.211 GB, free: 129.1 MB / 0.6387 GB Notification: Performance of SimCode: time 1.062e-06/1.936, allocations: 3.938 kB / 1.211 GB, free: 129.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04295/1.979, allocations: 18.42 MB / 1.229 GB, free: 110.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.395/11.37, allocations: 8.094 kB / 1.229 GB, free: 110.9 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 16.487840177025646]