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.001198/0.001198, allocations: 100.9 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002161/0.002161, allocations: 199.9 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 227.2 MB / 245.9 MB, free: 12.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2384/0.2384, allocations: 45.91 MB / 344 MB, free: 12.36 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002867/0.0002869, allocations: 8 kB / 417.9 MB, free: 20.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1288, allocations: 63.47 MB / 481.4 MB, free: 5.449 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.02817/0.157, allocations: 22.42 MB / 0.492 GB, free: 14.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01199/0.169, allocations: 9.685 MB / 0.5015 GB, free: 5.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002033/0.1693, allocations: 0 / 0.5015 GB, free: 5.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003003/0.1696, allocations: 55.77 kB / 0.5015 GB, free: 5.215 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2776/0.4472, allocations: 6.745 MB / 0.5081 GB, free: 13.01 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.4483, allocations: 317.7 kB / 0.5084 GB, free: 13.01 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006046/0.4489, allocations: 312.5 kB / 0.5087 GB, free: 13.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.32e-05/0.4489, allocations: 19.88 kB / 0.5087 GB, free: 13.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002968/0.4492, allocations: 176.1 kB / 0.5089 GB, free: 13.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01706/0.4663, allocations: 11.11 MB / 0.5197 GB, free: 12.37 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.462e-05/0.4665, allocations: 9.625 kB / 0.5197 GB, free: 12.37 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02406/0.4905, allocations: 11.65 MB / 0.5311 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001286/0.4907, allocations: 73.89 kB / 0.5312 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001569/0.4909, allocations: 79.02 kB / 0.5313 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0108/0.5017, allocations: 4.235 MB / 0.5354 GB, free: 7.586 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.5017, allocations: 0 / 0.5354 GB, free: 7.586 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.567e-06/0.5018, allocations: 0 / 0.5354 GB, free: 7.586 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.323e-05/0.5018, allocations: 1.531 kB / 0.5354 GB, free: 7.586 MB / 382.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.004446/0.5062, allocations: 1.496 MB / 0.5369 GB, free: 6.109 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.5063, allocations: 12.03 kB / 0.5369 GB, free: 6.098 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001561/0.5064, allocations: 31.19 kB / 0.5369 GB, free: 6.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002556/0.5067, allocations: 241.7 kB / 0.5371 GB, free: 5.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.5067, allocations: 25.27 kB / 0.5372 GB, free: 5.809 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/0.5068, allocations: 27.52 kB / 0.5372 GB, free: 5.789 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007049/0.5075, allocations: 0.5098 MB / 0.5377 GB, free: 5.383 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.5075, allocations: 0 / 0.5377 GB, free: 5.383 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.939e-05/0.5075, allocations: 11.7 kB / 0.5377 GB, free: 5.379 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.424e-05/0.5076, allocations: 22.16 kB / 0.5377 GB, free: 5.363 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008816/0.5085, allocations: 0.9228 MB / 0.5386 GB, free: 4.625 MB / 382.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.001659/0.5101, allocations: 1.959 MB / 0.5405 GB, free: 2.809 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006388/0.5108, allocations: 273.5 kB / 0.5408 GB, free: 2.609 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01843/0.5292, allocations: 15.69 MB / 0.5561 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004719/0.5297, allocations: 250.4 kB / 0.5563 GB, free: 44 kB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 2.004e-06/0.5298, allocations: 0 / 0.5563 GB, free: 44 kB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002241/0.532, allocations: 0.7793 MB / 0.5571 GB, free: 15.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001438/0.5322, allocations: 272.5 kB / 0.5574 GB, free: 15.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/0.5324, allocations: 203.4 kB / 0.5576 GB, free: 14.86 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.102e-05/0.5324, allocations: 36.58 kB / 0.5576 GB, free: 14.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.5325, allocations: 194.1 kB / 0.5578 GB, free: 14.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.758e-05/0.5326, allocations: 128.6 kB / 0.5579 GB, free: 14.53 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.965e-05/0.5327, allocations: 10.19 kB / 0.5579 GB, free: 14.53 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.5328, allocations: 332.9 kB / 0.5582 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.533, allocations: 94.36 kB / 0.5583 GB, free: 14.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004348/0.5334, allocations: 357.9 kB / 0.5587 GB, free: 13.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000377/0.5338, allocations: 153.9 kB / 0.5588 GB, free: 13.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.5338, allocations: 0 / 0.5588 GB, free: 13.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001184/0.535, allocations: 0.4964 MB / 0.5593 GB, free: 13.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.535, allocations: 13.2 kB / 0.5593 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.535, allocations: 11.95 kB / 0.5593 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.753e-05/0.5351, allocations: 16 kB / 0.5593 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006518/0.5357, allocations: 184.4 kB / 0.5595 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006482/0.5364, allocations: 1.187 MB / 0.5607 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002929/0.5367, allocations: 33.92 kB / 0.5607 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.262e-05/0.5368, allocations: 46.67 kB / 0.5607 GB, free: 11.75 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001842/0.537, allocations: 167.6 kB / 0.5609 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001749/0.5372, allocations: 35.72 kB / 0.5609 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001145/0.5383, allocations: 496.1 kB / 0.5614 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.5383, allocations: 9.953 kB / 0.5614 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.5383, allocations: 5.188 kB / 0.5614 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.5384, allocations: 0 / 0.5614 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009093/0.5393, allocations: 0.6129 MB / 0.562 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.5393, allocations: 4 kB / 0.562 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004015/0.5397, allocations: 85.59 kB / 0.5621 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.271e-06/0.5397, allocations: 4 kB / 0.5621 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/0.5397, allocations: 14.86 kB / 0.5621 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006716/0.5404, allocations: 1.168 MB / 0.5633 GB, free: 9.289 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.5404, allocations: 0 / 0.5633 GB, free: 9.289 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006064/0.541, allocations: 386.8 kB / 0.5636 GB, free: 8.898 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/0.5412, allocations: 133.2 kB / 0.5638 GB, free: 8.766 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.026e-05/0.5412, allocations: 9.734 kB / 0.5638 GB, free: 8.758 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002315/0.5415, allocations: 13.81 kB / 0.5638 GB, free: 8.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.699e-05/0.5415, allocations: 19.81 kB / 0.5638 GB, free: 8.734 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.079e-05/0.5416, allocations: 22.23 kB / 0.5638 GB, free: 8.715 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001808/0.5417, allocations: 171.4 kB / 0.564 GB, free: 8.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5418, allocations: 0 / 0.564 GB, free: 8.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.005123/0.5469, allocations: 1.672 MB / 0.5656 GB, free: 7.008 MB / 414.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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007618/0.5545, allocations: 2.125 MB / 0.5677 GB, free: 5.125 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001177/0.5557, allocations: 323.7 kB / 0.568 GB, free: 4.887 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.5558, allocations: 0 / 0.568 GB, free: 4.887 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000422/0.5562, allocations: 123.4 kB / 0.5681 GB, free: 4.789 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000514/0.5567, allocations: 60.02 kB / 0.5682 GB, free: 4.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.5579, allocations: 0.6295 MB / 0.5688 GB, free: 4.113 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004487/0.5583, allocations: 0.7608 MB / 0.5695 GB, free: 3.328 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005614/0.5589, allocations: 151.1 kB / 0.5697 GB, free: 3.195 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.559, allocations: 52.89 kB / 0.5697 GB, free: 3.152 MB / 414.1 MB Notification: Performance of SimCode: time 7.11e-07/0.559, allocations: 0 / 0.5697 GB, free: 3.152 MB / 414.1 MB Notification: Performance of Templates: time 0.06635/0.6254, allocations: 46.36 MB / 0.615 GB, free: 4.973 MB / 462.1 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