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.001825/0.001824, allocations: 117 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002183/0.002183, allocations: 204.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2022/0.2022, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 72.16 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1051, allocations: 62.45 MB / 481.5 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.02916/0.1343, allocations: 27.12 MB / 0.4967 GB, free: 9.309 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2098/0.3442, allocations: 11.02 MB / 0.5074 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001765/0.3444, allocations: 4.156 kB / 0.5074 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004001/0.3448, allocations: 78.89 kB / 0.5075 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02188/0.3667, allocations: 9.232 MB / 0.5165 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001268/0.368, allocations: 420.9 kB / 0.5169 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006486/0.3687, allocations: 498.3 kB / 0.5174 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.734e-05/0.3687, allocations: 16.08 kB / 0.5174 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002526/0.369, allocations: 188.7 kB / 0.5176 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01001/0.379, allocations: 6.015 MB / 0.5235 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.664e-05/0.3791, allocations: 13.5 kB / 0.5235 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0223/0.4014, allocations: 13.43 MB / 0.5366 GB, free: 5.191 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.4016, allocations: 95.66 kB / 0.5367 GB, free: 5.141 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002331/0.4018, allocations: 145.6 kB / 0.5368 GB, free: 5.105 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01528/0.4171, allocations: 6.783 MB / 0.5435 GB, free: 15.35 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.4171, allocations: 0 / 0.5435 GB, free: 15.35 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4172, allocations: 0 / 0.5435 GB, free: 15.35 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.4172, allocations: 0 / 0.5435 GB, free: 15.35 MB / 398.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.004042/0.4212, allocations: 1.564 MB / 0.545 GB, free: 13.74 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.4213, allocations: 8.031 kB / 0.545 GB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001851/0.4215, allocations: 41.2 kB / 0.545 GB, free: 13.69 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002844/0.4218, allocations: 242.7 kB / 0.5453 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.4218, allocations: 19.53 kB / 0.5453 GB, free: 13.4 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.683e-05/0.4218, allocations: 28 kB / 0.5453 GB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007575/0.4226, allocations: 0.5122 MB / 0.5458 GB, free: 12.83 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.4226, allocations: 3.938 kB / 0.5458 GB, free: 12.83 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.294e-05/0.4227, allocations: 12 kB / 0.5458 GB, free: 12.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.665e-05/0.4227, allocations: 24.55 kB / 0.5458 GB, free: 12.79 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.4237, allocations: 0.9154 MB / 0.5467 GB, free: 11.88 MB / 398.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.00201/0.4258, allocations: 1.911 MB / 0.5486 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007131/0.4265, allocations: 273.1 kB / 0.5489 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001457/0.4266, allocations: 101.5 kB / 0.549 GB, free: 9.461 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01741/0.4441, allocations: 15.68 MB / 0.5643 GB, free: 6.805 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004712/0.4446, allocations: 248.3 kB / 0.5645 GB, free: 6.527 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 1.864e-06/0.4446, allocations: 8 kB / 0.5645 GB, free: 6.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.002155/0.4467, allocations: 0.7792 MB / 0.5653 GB, free: 5.715 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/0.4469, allocations: 269.2 kB / 0.5655 GB, free: 5.391 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.447, allocations: 204.2 kB / 0.5657 GB, free: 5.184 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.078e-05/0.4471, allocations: 33.7 kB / 0.5658 GB, free: 5.145 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.4472, allocations: 204.2 kB / 0.566 GB, free: 4.945 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.704e-05/0.4473, allocations: 129.6 kB / 0.5661 GB, free: 4.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.4474, allocations: 114.1 kB / 0.5662 GB, free: 4.703 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.4476, allocations: 342.8 kB / 0.5665 GB, free: 4.359 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.4477, allocations: 95.62 kB / 0.5666 GB, free: 4.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004653/0.4482, allocations: 366.3 kB / 0.567 GB, free: 3.781 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007231/0.4489, allocations: 0.5054 MB / 0.5675 GB, free: 3.148 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.4489, allocations: 4 kB / 0.5675 GB, free: 3.145 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001232/0.4502, allocations: 0.5048 MB / 0.5679 GB, free: 2.637 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.4502, allocations: 8 kB / 0.568 GB, free: 2.629 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.4502, allocations: 12 kB / 0.568 GB, free: 2.617 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.188e-05/0.4503, allocations: 12 kB / 0.568 GB, free: 2.605 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006003/0.4509, allocations: 175.7 kB / 0.5681 GB, free: 2.434 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005835/0.4515, allocations: 1.185 MB / 0.5693 GB, free: 1.203 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002626/0.4517, allocations: 20.88 kB / 0.5693 GB, free: 1.184 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.357e-05/0.4518, allocations: 51.98 kB / 0.5694 GB, free: 1.133 MB / 414.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.0001561/0.452, allocations: 173.5 kB / 0.5695 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001977/0.4522, allocations: 31.7 kB / 0.5696 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009295/0.4531, allocations: 486 kB / 0.57 GB, free: 432 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.4531, allocations: 4 kB / 0.57 GB, free: 428 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4531, allocations: 0 / 0.57 GB, free: 428 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.4532, allocations: 0 / 0.57 GB, free: 428 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009063/0.4541, allocations: 0.6088 MB / 0.5706 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.4541, allocations: 0.625 kB / 0.5706 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003742/0.4545, allocations: 89.36 kB / 0.5707 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.4545, allocations: 4 kB / 0.5707 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/0.4545, allocations: 12.73 kB / 0.5707 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005117/0.455, allocations: 1.168 MB / 0.5719 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.455, allocations: 7.875 kB / 0.5719 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005719/0.4556, allocations: 322.4 kB / 0.5722 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.473e-05/0.4557, allocations: 100.8 kB / 0.5723 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.776e-05/0.4557, allocations: 11.94 kB / 0.5723 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002231/0.456, allocations: 11.98 kB / 0.5723 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.375e-05/0.456, allocations: 31.31 kB / 0.5723 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.931e-05/0.4561, allocations: 16 kB / 0.5724 GB, free: 13.9 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001476/0.4562, allocations: 168.5 kB / 0.5725 GB, free: 13.73 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4562, allocations: 4 kB / 0.5725 GB, free: 13.73 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004153/0.4604, allocations: 1.689 MB / 0.5742 GB, free: 12.04 MB / 430.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.006381/0.4668, allocations: 2.336 MB / 0.5764 GB, free: 9.887 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001111/0.4679, allocations: 316.2 kB / 0.5767 GB, free: 9.582 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.4679, allocations: 4.312 kB / 0.5768 GB, free: 9.578 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004454/0.4684, allocations: 119.8 kB / 0.5769 GB, free: 9.461 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000781/0.4692, allocations: 112.6 kB / 0.577 GB, free: 9.352 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1892/0.6584, allocations: 141.2 MB / 0.7148 GB, free: 2.793 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004208/0.6589, allocations: 0.7573 MB / 0.7156 GB, free: 2.008 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005887/0.6595, allocations: 143 kB / 0.7157 GB, free: 1.883 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001474/0.6596, allocations: 55.34 kB / 0.7157 GB, free: 1.828 MB / 0.545 GB Notification: Performance of SimCode: time 1.383e-06/0.6596, allocations: 4 kB / 0.7157 GB, free: 1.824 MB / 0.545 GB Notification: Performance of Templates: time 0.2329/0.8925, allocations: 47.01 MB / 0.7617 GB, free: 181.2 MB / 0.545 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceMoistAir/ReferenceMoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches