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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001208/0.001208, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 225.6 MB / 234.8 MB, free: 3.293 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008921/0.0008922, allocations: 97.05 kB / 286.7 MB, free: 5.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2121/0.2121, allocations: 45.15 MB / 383.8 MB, free: 300 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.576e-05/1.579e-05, allocations: 6.438 kB / 453.2 MB, free: 75.83 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1313, allocations: 63.25 MB / 0.5044 GB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.497/1.628, allocations: 0.5455 GB / 1.05 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/1.629, allocations: 80.7 kB / 1.05 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.1699/1.799, allocations: 105.9 MB / 1.153 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.104e-06/1.799, allocations: 0 / 1.153 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.852e-05/1.799, allocations: 4 kB / 1.153 GB, free: 12.21 MB / 0.5261 GB 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.003768/1.802, allocations: 1.028 MB / 1.154 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.299e-05/1.802, allocations: 8.031 kB / 1.154 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005634/1.803, allocations: 75.66 kB / 1.154 GB, free: 11.06 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000308/1.803, allocations: 246.7 kB / 1.155 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/1.803, allocations: 12 kB / 1.155 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.325e-05/1.803, allocations: 12 kB / 1.155 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006639/1.804, allocations: 0.5983 MB / 1.155 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004276/1.805, allocations: 356.4 kB / 1.156 GB, free: 9.77 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/1.805, allocations: 0 / 1.156 GB, free: 9.77 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/1.805, allocations: 0 / 1.156 GB, free: 9.77 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/1.805, allocations: 8 kB / 1.156 GB, free: 9.762 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.419/2.224, allocations: 29.49 MB / 1.184 GB, free: 142 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/2.224, allocations: 34.05 kB / 1.185 GB, free: 142 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.201e-05/2.224, allocations: 16.62 kB / 1.185 GB, free: 141.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007989/2.232, allocations: 3.539 MB / 1.188 GB, free: 140.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002179/2.232, allocations: 66 kB / 1.188 GB, free: 140.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=6): time 3.156e-06/2.232, allocations: 4 kB / 1.188 GB, free: 140.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.0008384/2.233, allocations: 161.3 kB / 1.188 GB, free: 140.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/2.233, allocations: 52.5 kB / 1.188 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002539/2.233, allocations: 224 kB / 1.188 GB, free: 140 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/2.233, allocations: 26.64 kB / 1.188 GB, free: 140 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/2.233, allocations: 258.3 kB / 1.189 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.453e-05/2.233, allocations: 29.47 kB / 1.189 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.333e-05/2.233, allocations: 0 / 1.189 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.643e-05/2.234, allocations: 325.4 kB / 1.189 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.223e-05/2.234, allocations: 53.72 kB / 1.189 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002539/2.234, allocations: 299.6 kB / 1.189 GB, free: 139.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001436/2.235, allocations: 205.8 kB / 1.19 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/2.235, allocations: 6.641 kB / 1.19 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001635/2.237, allocations: 454.2 kB / 1.19 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/2.237, allocations: 11.41 kB / 1.19 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/2.237, allocations: 8.375 kB / 1.19 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.475e-05/2.237, allocations: 12.44 kB / 1.19 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003271/2.237, allocations: 105.7 kB / 1.19 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.072e-05/2.237, allocations: 17.41 kB / 1.19 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003453/2.238, allocations: 52.8 kB / 1.19 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.377e-05/2.238, allocations: 26.84 kB / 1.19 GB, free: 139.1 MB / 0.5261 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.172e-05/2.238, allocations: 122.4 kB / 1.19 GB, free: 139 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.753e-05/2.238, allocations: 30.67 kB / 1.19 GB, free: 139 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002885/2.238, allocations: 148.4 kB / 1.191 GB, free: 138.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/2.238, allocations: 3.844 kB / 1.191 GB, free: 138.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/2.238, allocations: 4 kB / 1.191 GB, free: 138.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/2.238, allocations: 1.75 kB / 1.191 GB, free: 138.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004567/2.239, allocations: 433.5 kB / 1.191 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/2.239, allocations: 1.188 kB / 1.191 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.614e-05/2.239, allocations: 12.11 kB / 1.191 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/2.239, allocations: 0 / 1.191 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/2.239, allocations: 1.219 kB / 1.191 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/2.239, allocations: 3.344 kB / 1.191 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/2.239, allocations: 32 / 1.191 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000226/2.239, allocations: 205 kB / 1.191 GB, free: 138.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.876e-05/2.239, allocations: 136.7 kB / 1.191 GB, free: 138.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.247e-05/2.239, allocations: 3.25 kB / 1.191 GB, free: 138.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/2.239, allocations: 8.5 kB / 1.191 GB, free: 138.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.525e-05/2.239, allocations: 8.312 kB / 1.191 GB, free: 138.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/2.239, allocations: 4.875 kB / 1.191 GB, free: 138.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001543/2.24, allocations: 178.4 kB / 1.192 GB, free: 138.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.51e-07/2.24, allocations: 0 / 1.192 GB, free: 138.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001905/2.242, allocations: 412.1 kB / 1.192 GB, free: 138.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001967/2.244, allocations: 0.7806 MB / 1.193 GB, free: 138.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002792/2.244, allocations: 152.3 kB / 1.193 GB, free: 138.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/2.244, allocations: 2.25 kB / 1.193 GB, free: 138.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.305e-05/2.244, allocations: 16.16 kB / 1.193 GB, free: 138.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/2.244, allocations: 27.64 kB / 1.193 GB, free: 138.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2085/2.453, allocations: 162.4 MB / 1.351 GB, free: 18.66 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002027/2.453, allocations: 0.7444 MB / 1.352 GB, free: 17.89 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0005429/2.453, allocations: 222.6 kB / 1.352 GB, free: 17.68 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.712e-05/2.454, allocations: 31.44 kB / 1.352 GB, free: 17.65 MB / 0.5261 GB Notification: Performance of SimCode: time 9.22e-07/2.454, allocations: 0 / 1.352 GB, free: 17.65 MB / 0.5261 GB Notification: Performance of Templates: time 0.01658/2.47, allocations: 10.87 MB / 1.363 GB, free: 6.969 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches