Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.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.ReferenceAir_dT,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|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,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|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001454/0.001454, allocations: 200.4 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.279/1.279, allocations: 229.5 MB / 247.7 MB, free: 6.328 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007255/0.0007254, allocations: 97.25 kB / 299.9 MB, free: 5.359 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3176/0.3176, allocations: 45 MB / 397 MB, free: 31.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002858/0.0002858, allocations: 8 kB / 470.8 MB, free: 7.109 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3439, allocations: 63.1 MB / 0.5214 GB, free: 38.38 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.009437/0.3534, allocations: 13.01 MB / 0.5341 GB, free: 27.82 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01112/0.3646, allocations: 18.12 MB / 0.5518 GB, free: 11.36 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000222/0.3649, allocations: 6.344 kB / 0.5518 GB, free: 11.36 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003962/0.3653, allocations: 64.84 kB / 0.5518 GB, free: 11.32 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009222/0.3745, allocations: 2.627 MB / 0.5544 GB, free: 9.957 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003963/0.3749, allocations: 153.8 kB / 0.5546 GB, free: 9.871 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007407/0.3823, allocations: 4.151 MB / 0.5586 GB, free: 8.758 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.118e-05/0.3825, allocations: 14.91 kB / 0.5586 GB, free: 8.754 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002276/0.3827, allocations: 142.8 kB / 0.5588 GB, free: 8.707 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01232/0.395, allocations: 7.581 MB / 0.5662 GB, free: 5.816 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.907e-05/0.3952, allocations: 6.281 kB / 0.5662 GB, free: 5.816 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006648/0.4018, allocations: 2.006 MB / 0.5681 GB, free: 4.898 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.402, allocations: 50.41 kB / 0.5682 GB, free: 4.859 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002781/0.4023, allocations: 151.5 kB / 0.5683 GB, free: 4.754 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003983/0.4063, allocations: 1.528 MB / 0.5698 GB, free: 3.223 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.4063, allocations: 0 / 0.5698 GB, free: 3.223 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.4063, allocations: 0 / 0.5698 GB, free: 3.223 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.4063, allocations: 3.938 kB / 0.5698 GB, free: 3.219 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001879/0.4082, allocations: 0.862 MB / 0.5707 GB, free: 2.309 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.055e-05/0.4083, allocations: 8.031 kB / 0.5707 GB, free: 2.301 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000542/0.4088, allocations: 76.59 kB / 0.5707 GB, free: 2.227 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.4091, allocations: 244 kB / 0.571 GB, free: 1.949 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.4091, allocations: 20.94 kB / 0.571 GB, free: 1.926 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.891e-05/0.4092, allocations: 24.38 kB / 0.571 GB, free: 1.902 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008324/0.41, allocations: 485.6 kB / 0.5715 GB, free: 1.398 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.41, allocations: 0 / 0.5715 GB, free: 1.398 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.562e-05/0.4101, allocations: 15.98 kB / 0.5715 GB, free: 1.383 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.4101, allocations: 8 kB / 0.5715 GB, free: 1.375 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008758/0.411, allocations: 0.6812 MB / 0.5722 GB, free: 0.6914 MB / 378.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.005976/0.4169, allocations: 3.091 MB / 0.5752 GB, free: 13.4 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005436/0.4175, allocations: 207.3 kB / 0.5754 GB, free: 13.19 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.4176, allocations: 77.31 kB / 0.5755 GB, free: 13.11 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07246/0.4901, allocations: 30.61 MB / 0.6053 GB, free: 12.12 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006863/0.4908, allocations: 350.7 kB / 0.6057 GB, free: 11.72 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 1.873e-06/0.4908, allocations: 0 / 0.6057 GB, free: 11.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=37): time 0.002663/0.4935, allocations: 0.9582 MB / 0.6066 GB, free: 10.75 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001794/0.4937, allocations: 490.7 kB / 0.6071 GB, free: 10.16 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.4938, allocations: 153.1 kB / 0.6072 GB, free: 10 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.087e-05/0.4939, allocations: 33.7 kB / 0.6073 GB, free: 9.961 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.487e-05/0.494, allocations: 163.9 kB / 0.6074 GB, free: 9.797 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.397e-05/0.494, allocations: 126.2 kB / 0.6075 GB, free: 9.672 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.955e-05/0.4941, allocations: 12 kB / 0.6076 GB, free: 9.66 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.4942, allocations: 330.8 kB / 0.6079 GB, free: 9.328 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.4943, allocations: 73.02 kB / 0.6079 GB, free: 9.258 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002552/0.4946, allocations: 317.9 kB / 0.6082 GB, free: 8.832 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000449/0.4951, allocations: 440.1 kB / 0.6087 GB, free: 8.285 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.4951, allocations: 4 kB / 0.6087 GB, free: 8.281 MB / 426.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006373/0.4957, allocations: 446.6 kB / 0.6091 GB, free: 7.832 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.4957, allocations: 8 kB / 0.6091 GB, free: 7.824 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.4958, allocations: 8 kB / 0.6091 GB, free: 7.816 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001777/0.4975, allocations: 313.9 kB / 0.6094 GB, free: 7.504 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002838/0.4978, allocations: 99.83 kB / 0.6095 GB, free: 7.406 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006871/0.4985, allocations: 1.223 MB / 0.6107 GB, free: 6.137 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/0.4987, allocations: 23.94 kB / 0.6107 GB, free: 6.113 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.76e-05/0.4988, allocations: 31.98 kB / 0.6107 GB, free: 6.082 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (54): * Single equations (assignments): 52 * 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 {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001524/0.499, allocations: 165.5 kB / 0.6109 GB, free: 5.91 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.367e-05/0.499, allocations: 27.72 kB / 0.6109 GB, free: 5.883 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001303/0.5003, allocations: 1.052 MB / 0.612 GB, free: 4.785 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/0.5004, allocations: 11.92 kB / 0.612 GB, free: 4.773 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.5004, allocations: 7.938 kB / 0.612 GB, free: 4.766 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.5004, allocations: 0 / 0.612 GB, free: 4.766 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001407/0.5018, allocations: 1.546 MB / 0.6135 GB, free: 3.074 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.842e-06/0.5018, allocations: 3.938 kB / 0.6135 GB, free: 3.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/0.502, allocations: 35.98 kB / 0.6135 GB, free: 3.035 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001108/0.5031, allocations: 253.5 kB / 0.6138 GB, free: 2.781 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.86e-05/0.5031, allocations: 12 kB / 0.6138 GB, free: 2.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000601/0.5037, allocations: 1.266 MB / 0.615 GB, free: 1.457 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.5037, allocations: 7.922 kB / 0.615 GB, free: 1.449 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005922/0.5043, allocations: 0.6024 MB / 0.6156 GB, free: 0.7891 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001584/0.5045, allocations: 228 kB / 0.6158 GB, free: 0.5469 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.788e-05/0.5045, allocations: 7.938 kB / 0.6158 GB, free: 0.5391 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/0.5048, allocations: 15.98 kB / 0.6159 GB, free: 0.5234 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.125e-05/0.5048, allocations: 23.92 kB / 0.6159 GB, free: 0.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-05/0.5049, allocations: 19.98 kB / 0.6159 GB, free: 492 kB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002658/0.5051, allocations: 267.1 kB / 0.6161 GB, free: 224 kB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5051, allocations: 4 kB / 0.6162 GB, free: 220 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.001284/0.5064, allocations: 439.6 kB / 0.6166 GB, free: 15.79 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001196/0.5076, allocations: 0.6507 MB / 0.6172 GB, free: 15.12 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005366/0.5082, allocations: 365 kB / 0.6176 GB, free: 14.77 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.5082, allocations: 4.688 kB / 0.6176 GB, free: 14.76 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002658/0.5085, allocations: 225.6 kB / 0.6178 GB, free: 14.54 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008274/0.5093, allocations: 129.5 kB / 0.6179 GB, free: 14.41 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.197/1.707, allocations: 0.4901 GB / 1.108 GB, free: 145.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/1.707, allocations: 0.8299 MB / 1.109 GB, free: 144.5 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004931/1.708, allocations: 160.6 kB / 1.109 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.692e-05/1.708, allocations: 41.61 kB / 1.109 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of SimCode: time 7.31e-07/1.708, allocations: 1.062 kB / 1.109 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of Templates: time 0.01761/1.725, allocations: 15.21 MB / 1.124 GB, free: 130.7 MB / 0.5105 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_dT/ReferenceAir_dT.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches