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.0008371/0.0008371, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0008694/0.0008694, allocations: 160.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8704/0.8704, allocations: 177 MB / 204.1 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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.2476/0.2476, allocations: 34.24 MB / 294.8 MB, free: 0.7148 MB / 266.7 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 1.453e-06/1.453e-06, allocations: 0 / 442.2 MB, free: 1.539 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.497e-05/1.642e-05, allocations: 2.281 kB / 442.2 MB, free: 1.535 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.1798/0.1798, allocations: 10.15 MB / 452.4 MB, free: 38.33 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005747/0.1856, allocations: 10.29 MB / 462.7 MB, free: 31.46 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.339e-05/0.1857, allocations: 7.219 kB / 462.7 MB, free: 31.45 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002753/0.1859, allocations: 68.36 kB / 462.7 MB, free: 31.42 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00495/0.1909, allocations: 3.17 MB / 465.9 MB, free: 29.76 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002542/0.1911, allocations: 163.3 kB / 466.1 MB, free: 29.68 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002924/0.1941, allocations: 4.012 MB / 470.1 MB, free: 28.63 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.729e-05/0.1941, allocations: 10.97 kB / 470.1 MB, free: 28.62 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/0.1942, allocations: 191.7 kB / 470.3 MB, free: 28.57 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004776/0.199, allocations: 7.283 MB / 477.5 MB, free: 26.89 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.845e-05/0.1991, allocations: 13.05 kB / 477.6 MB, free: 26.88 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002364/0.2014, allocations: 2.037 MB / 479.6 MB, free: 26.34 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.282e-05/0.2015, allocations: 44.95 kB / 479.6 MB, free: 26.31 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.217e-05/0.2016, allocations: 98.8 kB / 479.7 MB, free: 26.28 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001454/0.203, allocations: 1.782 MB / 481.5 MB, free: 25.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.203, allocations: 0 / 481.5 MB, free: 25.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.203, allocations: 0 / 481.5 MB, free: 25.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.203, allocations: 1.344 kB / 481.5 MB, free: 25.61 MB / 410.7 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.001201/0.2042, allocations: 0.8675 MB / 482.4 MB, free: 25.06 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.2043, allocations: 13.34 kB / 482.4 MB, free: 25.06 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.268e-05/0.2043, allocations: 62.58 kB / 482.5 MB, free: 25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003157/0.2046, allocations: 79.14 kB / 482.5 MB, free: 24.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002439/0.2049, allocations: 185.6 kB / 482.7 MB, free: 24.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.2049, allocations: 19.59 kB / 482.7 MB, free: 24.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.2049, allocations: 30.25 kB / 482.8 MB, free: 24.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000567/0.2055, allocations: 0.5284 MB / 483.3 MB, free: 24.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.2055, allocations: 1.312 kB / 483.3 MB, free: 24.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.393e-05/0.2055, allocations: 19.31 kB / 483.3 MB, free: 24.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.2055, allocations: 7.75 kB / 483.3 MB, free: 24.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006513/0.2062, allocations: 0.6808 MB / 484 MB, free: 24.35 MB / 410.7 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.003766/0.2099, allocations: 2.859 MB / 486.9 MB, free: 22.99 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003363/0.2103, allocations: 159.4 kB / 487 MB, free: 22.94 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.528e-05/0.2103, allocations: 53.62 kB / 487.1 MB, free: 22.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01268/0.223, allocations: 7.683 MB / 494.8 MB, free: 21.44 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004236/0.2234, allocations: 313.4 kB / 495.1 MB, free: 21.22 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.844e-06/0.2234, allocations: 0 / 495.1 MB, free: 21.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.0008429/0.2243, allocations: 443.1 kB / 495.5 MB, free: 21.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.161e-05/0.2244, allocations: 480.5 kB / 496 MB, free: 20.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.2245, allocations: 200.2 kB / 496.2 MB, free: 20.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.2245, allocations: 32.48 kB / 496.2 MB, free: 20.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.308e-05/0.2246, allocations: 185.3 kB / 496.4 MB, free: 20.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.352e-05/0.2246, allocations: 108.9 kB / 496.5 MB, free: 20.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.634e-05/0.2247, allocations: 92.48 kB / 496.6 MB, free: 20.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.058e-05/0.2247, allocations: 333.8 kB / 496.9 MB, free: 19.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.307e-05/0.2248, allocations: 60.53 kB / 497 MB, free: 19.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/0.225, allocations: 317.6 kB / 497.3 MB, free: 19.33 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002738/0.2252, allocations: 422 kB / 497.7 MB, free: 18.92 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.2252, allocations: 3.75 kB / 497.7 MB, free: 18.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004493/0.2257, allocations: 408.5 kB / 498.1 MB, free: 18.74 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.2257, allocations: 9 kB / 498.1 MB, free: 18.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.2257, allocations: 8.812 kB / 498.1 MB, free: 18.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.405e-05/0.2257, allocations: 12.09 kB / 498.1 MB, free: 18.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002053/0.226, allocations: 109.5 kB / 498.2 MB, free: 18.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.48e-05/0.226, allocations: 19.2 kB / 498.2 MB, free: 18.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.2261, allocations: 44.77 kB / 498.3 MB, free: 18.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.591e-05/0.2261, allocations: 30.27 kB / 498.3 MB, free: 18.69 MB / 410.7 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 8.108e-05/0.2262, allocations: 159.1 kB / 498.5 MB, free: 18.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.462e-05/0.2263, allocations: 31.62 kB / 498.5 MB, free: 18.53 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006621/0.2269, allocations: 0.8391 MB / 499.3 MB, free: 18.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.2269, allocations: 4.812 kB / 499.3 MB, free: 18.06 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2269, allocations: 2.75 kB / 499.3 MB, free: 18.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.2269, allocations: 5.594 kB / 499.3 MB, free: 18.06 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000662/0.2276, allocations: 0.9037 MB / 0.4885 GB, free: 17.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.2276, allocations: 2.688 kB / 0.4885 GB, free: 17.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.269e-05/0.2277, allocations: 27.53 kB / 0.4886 GB, free: 17.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.2277, allocations: 4.188 kB / 0.4886 GB, free: 17.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.2277, allocations: 8.75 kB / 0.4886 GB, free: 17.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.2277, allocations: 12.28 kB / 0.4886 GB, free: 17.49 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.2277, allocations: 7.75 kB / 0.4886 GB, free: 17.49 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002579/0.228, allocations: 374.9 kB / 0.4889 GB, free: 17.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.421e-05/0.228, allocations: 25.17 kB / 0.489 GB, free: 17.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.072e-05/0.228, allocations: 46.55 kB / 0.489 GB, free: 17.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.2281, allocations: 13.98 kB / 0.489 GB, free: 17.15 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.618e-05/0.2282, allocations: 21.78 kB / 0.489 GB, free: 17.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.2282, allocations: 10.17 kB / 0.4891 GB, free: 17.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002247/0.2284, allocations: 292.5 kB / 0.4893 GB, free: 17 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2284, allocations: 4 kB / 0.4893 GB, free: 17 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009326/0.2293, allocations: 432.6 kB / 0.4897 GB, free: 16.88 MB / 410.7 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.001168/0.2305, allocations: 1.472 MB / 0.4912 GB, free: 15.87 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002767/0.2308, allocations: 234.4 kB / 0.4914 GB, free: 15.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.2308, allocations: 1.25 kB / 0.4914 GB, free: 15.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.273e-05/0.2309, allocations: 72.53 kB / 0.4915 GB, free: 15.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000461/0.2313, allocations: 116.5 kB / 0.4916 GB, free: 15.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9585/1.19, allocations: 0.582 GB / 1.074 GB, free: 146 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/1.19, allocations: 209.4 kB / 1.074 GB, free: 145.9 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003667/1.19, allocations: 167.8 kB / 1.074 GB, free: 145.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001263/1.19, allocations: 153.7 kB / 1.074 GB, free: 145.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.353e-06/1.19, allocations: 1.062 kB / 1.074 GB, free: 145.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03589/1.226, allocations: 19.56 MB / 1.093 GB, free: 135.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.316/8.542, allocations: 8.016 kB / 1.093 GB, free: 135.7 MB / 0.5261 GB " [Timeout remaining time 651] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.csv","/var/lib/jenkins/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: 11.731764131225646]