Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.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.Essotherm650,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|cp|cp2|cv|cv2|h2|d2|err_T|err_d|err_u|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|cp|cp2|cv|cv2|h2|d2|err_T|err_d|err_u|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001212/0.001212, allocations: 112.4 kB / 18.45 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001441/0.001441, allocations: 208 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2176/0.2176, allocations: 46.1 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001636/0.001636, allocations: 76.11 kB / 482 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3508, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.008902/0.3597, allocations: 5.3 MB / 0.5369 GB, free: 9.375 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003608/0.3634, allocations: 2.649 MB / 0.5394 GB, free: 7.227 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001939/0.3636, allocations: 1.344 kB / 0.5394 GB, free: 7.227 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003355/0.364, allocations: 42.72 kB / 0.5395 GB, free: 7.191 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003586/0.3676, allocations: 1.106 MB / 0.5406 GB, free: 6.445 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003976/0.368, allocations: 150.3 kB / 0.5407 GB, free: 6.348 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005954/0.3686, allocations: 303 kB / 0.541 GB, free: 6.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.142e-05/0.3687, allocations: 12.45 kB / 0.541 GB, free: 6.176 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001371/0.3701, allocations: 0.7408 MB / 0.5417 GB, free: 5.832 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003589/0.3705, allocations: 155.7 kB / 0.5419 GB, free: 5.754 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.396e-05/0.3705, allocations: 6.125 kB / 0.5419 GB, free: 5.754 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002436/0.3729, allocations: 1.33 MB / 0.5432 GB, free: 5.129 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.84e-05/0.373, allocations: 40.52 kB / 0.5432 GB, free: 5.098 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001542/0.3732, allocations: 82.11 kB / 0.5433 GB, free: 5.055 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001344/0.3746, allocations: 0.5306 MB / 0.5438 GB, free: 4.766 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3746, allocations: 3.938 kB / 0.5438 GB, free: 4.762 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3746, allocations: 1.344 kB / 0.5438 GB, free: 4.762 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.298e-06/0.3746, allocations: 4 kB / 0.5438 GB, free: 4.758 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001249/0.3759, allocations: 0.5598 MB / 0.5444 GB, free: 4.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.3759, allocations: 10.36 kB / 0.5444 GB, free: 4.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000542/0.3765, allocations: 50.98 kB / 0.5444 GB, free: 4.227 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003468/0.3768, allocations: 205.5 kB / 0.5446 GB, free: 4 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.3768, allocations: 15.53 kB / 0.5446 GB, free: 3.992 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.854e-05/0.3769, allocations: 23.16 kB / 0.5447 GB, free: 3.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004729/0.3774, allocations: 238.9 kB / 0.5449 GB, free: 3.789 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.3774, allocations: 0 / 0.5449 GB, free: 3.789 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.239e-05/0.3774, allocations: 10.69 kB / 0.5449 GB, free: 3.781 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.3774, allocations: 5.469 kB / 0.5449 GB, free: 3.781 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003778/0.3778, allocations: 235.9 kB / 0.5451 GB, free: 3.676 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.001359/0.3792, allocations: 1.363 MB / 0.5465 GB, free: 2.281 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002241/0.3794, allocations: 99.19 kB / 0.5466 GB, free: 2.191 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.919e-05/0.3795, allocations: 39.08 kB / 0.5466 GB, free: 2.152 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001563/0.3811, allocations: 2.051 MB / 0.5486 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002235/0.3813, allocations: 163 kB / 0.5488 GB, free: 15.49 MB / 414.1 MB Notification: Performance of pre-optimization done (n=18): time 1.104e-05/0.3813, allocations: 0 / 0.5488 GB, free: 15.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009505/0.3823, allocations: 363 kB / 0.5491 GB, free: 15.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/0.3824, allocations: 270 kB / 0.5494 GB, free: 14.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.3826, allocations: 157 kB / 0.5495 GB, free: 14.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/0.3826, allocations: 34.36 kB / 0.5495 GB, free: 14.6 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.071e-05/0.3827, allocations: 139.8 kB / 0.5497 GB, free: 14.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.289e-05/0.3828, allocations: 71.03 kB / 0.5497 GB, free: 14.39 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.365e-05/0.3829, allocations: 65.59 kB / 0.5498 GB, free: 14.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.383, allocations: 322.8 kB / 0.5501 GB, free: 14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.483e-05/0.3831, allocations: 43.97 kB / 0.5502 GB, free: 13.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/0.3832, allocations: 191.4 kB / 0.5503 GB, free: 13.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002933/0.3835, allocations: 262.4 kB / 0.5506 GB, free: 13.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.3836, allocations: 8 kB / 0.5506 GB, free: 13.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000422/0.384, allocations: 253.1 kB / 0.5508 GB, free: 13.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.384, allocations: 8.656 kB / 0.5508 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.384, allocations: 8 kB / 0.5509 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.3841, allocations: 11.98 kB / 0.5509 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004848/0.3845, allocations: 99.81 kB / 0.551 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000326/0.3849, allocations: 0.5898 MB / 0.5515 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001572/0.385, allocations: 15.94 kB / 0.5516 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-05/0.3851, allocations: 23.98 kB / 0.5516 GB, free: 12.34 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000128/0.3852, allocations: 137.8 kB / 0.5517 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.445e-05/0.3853, allocations: 19.81 kB / 0.5517 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004719/0.3858, allocations: 223.8 kB / 0.5519 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.3858, allocations: 4 kB / 0.5519 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.3858, allocations: 3.938 kB / 0.5519 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.3858, allocations: 4.062 kB / 0.552 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004701/0.3863, allocations: 444.8 kB / 0.5524 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.3863, allocations: 0 / 0.5524 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003576/0.3867, allocations: 51.91 kB / 0.5524 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.724e-06/0.3867, allocations: 7.938 kB / 0.5524 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.3867, allocations: 7.922 kB / 0.5524 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002746/0.387, allocations: 0.5861 MB / 0.553 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.387, allocations: 4.031 kB / 0.553 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002148/0.3872, allocations: 146.5 kB / 0.5532 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.673e-05/0.3873, allocations: 101 kB / 0.5533 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.597e-05/0.3873, allocations: 4 kB / 0.5533 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.3875, allocations: 8.094 kB / 0.5533 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.442e-05/0.3875, allocations: 11.98 kB / 0.5533 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.3876, allocations: 11.98 kB / 0.5533 GB, free: 10.4 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000106/0.3877, allocations: 123.3 kB / 0.5534 GB, free: 10.28 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3877, allocations: 3.938 kB / 0.5534 GB, free: 10.28 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005702/0.3883, allocations: 131.9 kB / 0.5535 GB, free: 10.15 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006438/0.3889, allocations: 270.5 kB / 0.5538 GB, free: 9.883 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000509/0.3894, allocations: 151.7 kB / 0.5539 GB, free: 9.734 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.136e-05/0.3895, allocations: 1.312 kB / 0.5539 GB, free: 9.734 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001946/0.3897, allocations: 55.84 kB / 0.554 GB, free: 9.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004032/0.3901, allocations: 52.06 kB / 0.554 GB, free: 9.629 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.3916, allocations: 0.8081 MB / 0.5548 GB, free: 8.781 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.3918, allocations: 0.7167 MB / 0.5555 GB, free: 8.039 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.392, allocations: 35.42 kB / 0.5556 GB, free: 8.004 MB / 414.1 MB Notification: Performance of SimCode: time 8.41e-07/0.392, allocations: 4 kB / 0.5556 GB, free: 8 MB / 414.1 MB Notification: Performance of Templates: time 0.00857/0.4005, allocations: 5.023 MB / 0.5605 GB, free: 2.988 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/Essotherm650/Essotherm650.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches