Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.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: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,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|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,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|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00131/0.00131, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001174/0.001174, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2235/0.2235, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001946, allocations: 79.88 kB / 481.3 MB, free: 4.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4616/0.4636, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.03607/0.4997, allocations: 27.13 MB / 0.5575 GB, free: 6.508 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01483/0.5146, allocations: 11.04 MB / 0.5683 GB, free: 11.43 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001874/0.5148, allocations: 0 / 0.5683 GB, free: 11.43 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004305/0.5153, allocations: 71.56 kB / 0.5684 GB, free: 11.36 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02767/0.543, allocations: 9.25 MB / 0.5774 GB, free: 2.105 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.5441, allocations: 416.8 kB / 0.5778 GB, free: 1.703 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007209/0.5448, allocations: 494.4 kB / 0.5783 GB, free: 1.219 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.862e-05/0.5449, allocations: 16.3 kB / 0.5783 GB, free: 1.203 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002698/0.5452, allocations: 191.4 kB / 0.5785 GB, free: 1.016 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01102/0.5562, allocations: 6.015 MB / 0.5844 GB, free: 10.97 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001055/0.5564, allocations: 16 kB / 0.5844 GB, free: 10.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02766/0.584, allocations: 13.41 MB / 0.5975 GB, free: 13.52 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001637/0.5842, allocations: 91.69 kB / 0.5976 GB, free: 13.43 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002502/0.5845, allocations: 143.4 kB / 0.5977 GB, free: 13.29 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02577/0.6103, allocations: 6.812 MB / 0.6043 GB, free: 6.461 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.6104, allocations: 0 / 0.6043 GB, free: 6.461 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.257e-06/0.6104, allocations: 0 / 0.6043 GB, free: 6.461 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.221e-05/0.6104, allocations: 4 kB / 0.6043 GB, free: 6.457 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.006591/0.617, allocations: 1.614 MB / 0.6059 GB, free: 4.785 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.526e-05/0.6171, allocations: 12.03 kB / 0.6059 GB, free: 4.773 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002273/0.6173, allocations: 35.98 kB / 0.606 GB, free: 4.738 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003438/0.6177, allocations: 250.6 kB / 0.6062 GB, free: 4.453 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.6177, allocations: 20.56 kB / 0.6062 GB, free: 4.434 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.051e-05/0.6177, allocations: 24 kB / 0.6063 GB, free: 4.41 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009361/0.6187, allocations: 0.513 MB / 0.6068 GB, free: 3.867 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.6187, allocations: 0 / 0.6068 GB, free: 3.867 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.768e-05/0.6187, allocations: 12 kB / 0.6068 GB, free: 3.855 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.246e-05/0.6188, allocations: 28.5 kB / 0.6068 GB, free: 3.828 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/0.62, allocations: 0.9154 MB / 0.6077 GB, free: 2.91 MB / 462.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.002358/0.6224, allocations: 1.902 MB / 0.6095 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007759/0.6232, allocations: 274.7 kB / 0.6098 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.6234, allocations: 105.5 kB / 0.6099 GB, free: 492 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01939/0.6428, allocations: 15.68 MB / 0.6252 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005577/0.6434, allocations: 249.6 kB / 0.6255 GB, free: 13.51 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 4.669e-06/0.6434, allocations: 0 / 0.6255 GB, free: 13.51 MB / 494.1 MB Notification: Performance of matching and sorting (n=36): time 0.002401/0.6458, allocations: 0.8049 MB / 0.6262 GB, free: 12.68 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001404/0.6459, allocations: 278 kB / 0.6265 GB, free: 12.35 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001992/0.6462, allocations: 210.8 kB / 0.6267 GB, free: 12.13 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.367e-05/0.6462, allocations: 33.7 kB / 0.6267 GB, free: 12.09 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.6463, allocations: 204 kB / 0.6269 GB, free: 11.89 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.6464, allocations: 134.9 kB / 0.6271 GB, free: 11.76 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001507/0.6466, allocations: 122.1 kB / 0.6272 GB, free: 11.63 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.6467, allocations: 338.7 kB / 0.6275 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.6469, allocations: 93.06 kB / 0.6276 GB, free: 11.2 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004564/0.6474, allocations: 365.5 kB / 0.6279 GB, free: 10.72 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007706/0.6481, allocations: 0.5112 MB / 0.6284 GB, free: 10.08 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.6482, allocations: 4 kB / 0.6284 GB, free: 10.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0012/0.6494, allocations: 0.493 MB / 0.6289 GB, free: 9.578 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.6494, allocations: 12.25 kB / 0.6289 GB, free: 9.566 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/0.6494, allocations: 8 kB / 0.6289 GB, free: 9.559 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-05/0.6495, allocations: 15.94 kB / 0.629 GB, free: 9.543 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006292/0.6501, allocations: 183.7 kB / 0.6291 GB, free: 9.363 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006672/0.6508, allocations: 1.188 MB / 0.6303 GB, free: 8.129 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000272/0.6511, allocations: 31.83 kB / 0.6303 GB, free: 8.098 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.32e-05/0.6511, allocations: 43.98 kB / 0.6304 GB, free: 8.055 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001845/0.6513, allocations: 165.6 kB / 0.6305 GB, free: 7.883 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001966/0.6515, allocations: 31.86 kB / 0.6306 GB, free: 7.852 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001035/0.6526, allocations: 478.7 kB / 0.631 GB, free: 7.348 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.6526, allocations: 0 / 0.631 GB, free: 7.348 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.6526, allocations: 4 kB / 0.631 GB, free: 7.344 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.6526, allocations: 7.922 kB / 0.631 GB, free: 7.336 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009664/0.6536, allocations: 0.5991 MB / 0.6316 GB, free: 6.668 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.6536, allocations: 8.156 kB / 0.6316 GB, free: 6.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00039/0.654, allocations: 91.92 kB / 0.6317 GB, free: 6.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.654, allocations: 3.938 kB / 0.6317 GB, free: 6.566 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/0.6541, allocations: 8 kB / 0.6317 GB, free: 6.559 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006207/0.6547, allocations: 1.18 MB / 0.6329 GB, free: 5.332 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.6547, allocations: 0 / 0.6329 GB, free: 5.332 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006119/0.6553, allocations: 317.2 kB / 0.6332 GB, free: 4.992 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.112e-05/0.6554, allocations: 109 kB / 0.6333 GB, free: 4.867 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.127e-05/0.6555, allocations: 7.938 kB / 0.6333 GB, free: 4.859 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002303/0.6557, allocations: 15.98 kB / 0.6333 GB, free: 4.844 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.599e-05/0.6557, allocations: 11.98 kB / 0.6333 GB, free: 4.832 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.09e-05/0.6558, allocations: 19.98 kB / 0.6333 GB, free: 4.812 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001941/0.656, allocations: 168.5 kB / 0.6335 GB, free: 4.645 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.656, allocations: 0 / 0.6335 GB, free: 4.645 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00571/0.6617, allocations: 1.722 MB / 0.6352 GB, free: 2.918 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00924/0.671, allocations: 2.37 MB / 0.6375 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001368/0.6724, allocations: 328.3 kB / 0.6378 GB, free: 228 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.6724, allocations: 4 kB / 0.6378 GB, free: 224 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004233/0.6728, allocations: 127.3 kB / 0.6379 GB, free: 100 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008078/0.6736, allocations: 108.5 kB / 0.638 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5539/1.228, allocations: 141.2 MB / 0.7759 GB, free: 113.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002049/1.228, allocations: 0.7534 MB / 0.7766 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005191/1.228, allocations: 147.7 kB / 0.7768 GB, free: 113 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/1.228, allocations: 43.42 kB / 0.7768 GB, free: 112.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.793e-06/1.228, allocations: 3.75 kB / 0.7768 GB, free: 112.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.04879/1.277, allocations: 47.07 MB / 0.8228 GB, free: 66.04 MB / 0.5606 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceMoistAir/ReferenceMoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches