Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001006/0.001006, allocations: 199.1 kB / 17.43 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.261/1.261, allocations: 229.5 MB / 247.7 MB, free: 6.336 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007937/0.0007939, allocations: 98.83 kB / 299.9 MB, free: 5.363 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3235/0.3235, allocations: 45.01 MB / 397 MB, free: 31.47 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002621/0.0002622, allocations: 8 kB / 470.8 MB, free: 7.133 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3361, allocations: 63.1 MB / 0.5214 GB, free: 38.42 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.02856/0.3647, allocations: 36.78 MB / 0.5573 GB, free: 8.418 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01538/0.3801, allocations: 17.51 MB / 0.5744 GB, free: 9.102 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00026/0.3804, allocations: 1.719 kB / 0.5744 GB, free: 9.102 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003648/0.3808, allocations: 70.88 kB / 0.5745 GB, free: 9.047 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02366/0.4045, allocations: 8.05 MB / 0.5823 GB, free: 3.145 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.4056, allocations: 396.7 kB / 0.5827 GB, free: 2.879 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008592/0.4065, allocations: 0.6889 MB / 0.5834 GB, free: 2.512 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.108e-05/0.4066, allocations: 17.61 kB / 0.5834 GB, free: 2.504 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002747/0.4068, allocations: 187.6 kB / 0.5836 GB, free: 2.422 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01185/0.4187, allocations: 6.321 MB / 0.5897 GB, free: 13.07 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.049e-05/0.4188, allocations: 12 kB / 0.5898 GB, free: 13.06 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02561/0.4444, allocations: 13.36 MB / 0.6028 GB, free: 15.68 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001382/0.4446, allocations: 79.7 kB / 0.6029 GB, free: 15.6 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002235/0.4449, allocations: 169.1 kB / 0.603 GB, free: 15.43 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02026/0.4651, allocations: 6.962 MB / 0.6098 GB, free: 8.453 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.4652, allocations: 0 / 0.6098 GB, free: 8.453 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.4652, allocations: 0 / 0.6098 GB, free: 8.453 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.677e-06/0.4652, allocations: 0 / 0.6098 GB, free: 8.453 MB / 426.7 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.004376/0.4696, allocations: 1.498 MB / 0.6113 GB, free: 6.906 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.4696, allocations: 8.031 kB / 0.6113 GB, free: 6.898 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001525/0.4698, allocations: 39.83 kB / 0.6113 GB, free: 6.859 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002856/0.4701, allocations: 242.7 kB / 0.6116 GB, free: 6.582 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.4701, allocations: 20.56 kB / 0.6116 GB, free: 6.562 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.771e-05/0.4702, allocations: 27.98 kB / 0.6116 GB, free: 6.535 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007837/0.471, allocations: 0.5091 MB / 0.6121 GB, free: 5.992 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.471, allocations: 0 / 0.6121 GB, free: 5.992 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.661e-05/0.471, allocations: 15.98 kB / 0.6121 GB, free: 5.977 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.613e-05/0.4711, allocations: 28.48 kB / 0.6122 GB, free: 5.949 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.4721, allocations: 0.9154 MB / 0.6131 GB, free: 5.035 MB / 426.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.002004/0.4741, allocations: 1.906 MB / 0.6149 GB, free: 2.98 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006586/0.4748, allocations: 263.8 kB / 0.6152 GB, free: 2.715 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/0.475, allocations: 101.5 kB / 0.6153 GB, free: 2.613 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01753/0.4925, allocations: 15.74 MB / 0.6306 GB, free: 15.87 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005045/0.493, allocations: 241.1 kB / 0.6309 GB, free: 15.59 MB / 458.7 MB Notification: Performance of pre-optimization done (n=34): time 5.471e-06/0.4931, allocations: 0 / 0.6309 GB, free: 15.59 MB / 458.7 MB Notification: Performance of matching and sorting (n=36): time 0.00209/0.4952, allocations: 0.7847 MB / 0.6316 GB, free: 14.78 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000137/0.4953, allocations: 273 kB / 0.6319 GB, free: 14.45 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/0.4955, allocations: 203 kB / 0.6321 GB, free: 14.24 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/0.4955, allocations: 29.7 kB / 0.6321 GB, free: 14.21 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.4957, allocations: 203.6 kB / 0.6323 GB, free: 14 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.4958, allocations: 126.2 kB / 0.6324 GB, free: 13.88 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.167e-05/0.4958, allocations: 8 kB / 0.6324 GB, free: 13.87 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.496, allocations: 342.8 kB / 0.6328 GB, free: 13.53 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.4961, allocations: 89.05 kB / 0.6328 GB, free: 13.44 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004358/0.4966, allocations: 361.6 kB / 0.6332 GB, free: 12.96 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000715/0.4973, allocations: 0.4998 MB / 0.6337 GB, free: 12.33 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.4973, allocations: 4 kB / 0.6337 GB, free: 12.33 MB / 458.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001088/0.4984, allocations: 0.4969 MB / 0.6342 GB, free: 11.82 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.4984, allocations: 8 kB / 0.6342 GB, free: 11.82 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.4985, allocations: 16 kB / 0.6342 GB, free: 11.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.813e-05/0.4985, allocations: 16.69 kB / 0.6342 GB, free: 11.79 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005841/0.4991, allocations: 183.7 kB / 0.6344 GB, free: 11.61 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006854/0.4998, allocations: 1.191 MB / 0.6355 GB, free: 10.37 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002728/0.5001, allocations: 31.92 kB / 0.6356 GB, free: 10.34 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.108e-05/0.5002, allocations: 48.17 kB / 0.6356 GB, free: 10.29 MB / 458.7 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.0001707/0.5003, allocations: 165.6 kB / 0.6358 GB, free: 10.12 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/0.5005, allocations: 35.72 kB / 0.6358 GB, free: 10.08 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.5015, allocations: 485.4 kB / 0.6363 GB, free: 9.559 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.5015, allocations: 4 kB / 0.6363 GB, free: 9.555 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.5015, allocations: 0 / 0.6363 GB, free: 9.555 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.5016, allocations: 7.938 kB / 0.6363 GB, free: 9.547 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008593/0.5024, allocations: 0.597 MB / 0.6369 GB, free: 8.883 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.5024, allocations: 3.938 kB / 0.6369 GB, free: 8.879 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003486/0.5028, allocations: 87.86 kB / 0.637 GB, free: 8.793 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.5028, allocations: 7.938 kB / 0.637 GB, free: 8.785 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.5028, allocations: 8 kB / 0.637 GB, free: 8.777 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005172/0.5033, allocations: 1.176 MB / 0.6381 GB, free: 7.555 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.5034, allocations: 8.016 kB / 0.6381 GB, free: 7.547 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000491/0.5039, allocations: 319.4 kB / 0.6384 GB, free: 7.203 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.513e-05/0.504, allocations: 124.7 kB / 0.6386 GB, free: 7.062 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.634e-05/0.504, allocations: 11.94 kB / 0.6386 GB, free: 7.051 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002208/0.5042, allocations: 15.98 kB / 0.6386 GB, free: 7.035 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.549e-05/0.5043, allocations: 15.97 kB / 0.6386 GB, free: 7.02 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.684e-05/0.5043, allocations: 16 kB / 0.6386 GB, free: 7.004 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001386/0.5045, allocations: 168.5 kB / 0.6388 GB, free: 6.84 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5045, allocations: 0 / 0.6388 GB, free: 6.84 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004725/0.5092, allocations: 1.69 MB / 0.6404 GB, free: 5.148 MB / 458.7 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.007241/0.5165, allocations: 2.347 MB / 0.6427 GB, free: 2.797 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001107/0.5176, allocations: 325 kB / 0.643 GB, free: 2.484 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.5176, allocations: 192 / 0.643 GB, free: 2.484 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003821/0.518, allocations: 123.8 kB / 0.6431 GB, free: 2.363 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007702/0.5188, allocations: 112.5 kB / 0.6433 GB, free: 2.254 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.397/0.9157, allocations: 140.8 MB / 0.7807 GB, free: 56.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001588/0.9159, allocations: 0.7606 MB / 0.7815 GB, free: 55.32 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005781/0.9165, allocations: 145.5 kB / 0.7816 GB, free: 55.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.9167, allocations: 51.42 kB / 0.7817 GB, free: 55.15 MB / 490.7 MB Notification: Performance of SimCode: time 7.61e-07/0.9167, allocations: 0 / 0.7817 GB, free: 55.15 MB / 490.7 MB Notification: Performance of Templates: time 0.04691/0.9636, allocations: 46.87 MB / 0.8274 GB, free: 8.355 MB / 490.7 MB 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","../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches