Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000918/0.000918, allocations: 189.5 kB / 7.808 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.125/1.125, allocations: 205.2 MB / 213.4 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008488/0.0008486, allocations: 84.56 kB / 261.4 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1595/0.1595, allocations: 43.48 MB / 352.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.192e-06/6.212e-06, allocations: 4 kB / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.2309, allocations: 58.84 MB / 476.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.823/9.054, allocations: 6.605 GB / 7.07 GB, free: 7.074 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/9.055, allocations: 75.95 kB / 7.07 GB, free: 7 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.879/9.934, allocations: 246.1 MB / 7.311 GB, free: 81.09 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.244e-05/9.934, allocations: 3.875 kB / 7.311 GB, free: 81.09 MB / 0.4948 GB 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.007739/9.941, allocations: 1.923 MB / 7.312 GB, free: 80.11 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/9.942, allocations: 11.22 kB / 7.312 GB, free: 80.11 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/9.942, allocations: 30.2 kB / 7.312 GB, free: 80.09 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/9.942, allocations: 253.7 kB / 7.313 GB, free: 79.88 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/9.942, allocations: 11.44 kB / 7.313 GB, free: 79.88 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.348e-05/9.942, allocations: 17.75 kB / 7.313 GB, free: 79.88 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007859/9.943, allocations: 0.8584 MB / 7.314 GB, free: 79.88 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004598/9.943, allocations: 471.2 kB / 7.314 GB, free: 79.78 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/9.943, allocations: 0 / 7.314 GB, free: 79.78 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.253e-05/9.943, allocations: 3.531 kB / 7.314 GB, free: 79.78 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.97e-05/9.943, allocations: 20.09 kB / 7.314 GB, free: 79.78 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002741/9.946, allocations: 3.918 MB / 7.318 GB, free: 76.41 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/9.946, allocations: 110.8 kB / 7.318 GB, free: 76.39 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.853e-05/9.946, allocations: 38.36 kB / 7.318 GB, free: 76.38 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01182/9.958, allocations: 14.82 MB / 7.332 GB, free: 61.27 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001537/9.958, allocations: 114.8 kB / 7.333 GB, free: 61.22 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=17): time 2.024e-06/9.958, allocations: 0 / 7.333 GB, free: 61.22 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.001208/9.96, allocations: 311.2 kB / 7.333 GB, free: 61.14 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.985e-05/9.96, allocations: 59.06 kB / 7.333 GB, free: 61.07 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/9.96, allocations: 226.2 kB / 7.333 GB, free: 60.97 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/9.96, allocations: 28.33 kB / 7.333 GB, free: 60.94 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.7e-05/9.96, allocations: 249.9 kB / 7.333 GB, free: 60.74 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.323e-05/9.96, allocations: 66.58 kB / 7.333 GB, free: 60.7 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.744e-05/9.96, allocations: 0 / 7.333 GB, free: 60.7 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.46e-05/9.96, allocations: 331.5 kB / 7.334 GB, free: 60.39 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/9.96, allocations: 81.77 kB / 7.334 GB, free: 60.39 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/9.96, allocations: 344.6 kB / 7.334 GB, free: 60.05 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008818/9.961, allocations: 248.6 kB / 7.334 GB, free: 60.05 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/9.961, allocations: 3.906 kB / 7.334 GB, free: 60.05 MB / 0.4948 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00145/9.963, allocations: 0.5174 MB / 7.335 GB, free: 60 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/9.963, allocations: 6.469 kB / 7.335 GB, free: 60 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/9.963, allocations: 14.81 kB / 7.335 GB, free: 60 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.477e-05/9.963, allocations: 16.58 kB / 7.335 GB, free: 60 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000607/9.963, allocations: 183.1 kB / 7.335 GB, free: 60 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000535/9.964, allocations: 1.218 MB / 7.336 GB, free: 58.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003169/9.964, allocations: 18.94 kB / 7.336 GB, free: 58.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.944e-05/9.964, allocations: 46.84 kB / 7.336 GB, free: 58.82 MB / 0.4948 GB Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: $DER.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 64 * 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.0001534/9.965, allocations: 127.5 kB / 7.337 GB, free: 58.71 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001587/9.965, allocations: 38.72 kB / 7.337 GB, free: 58.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005994/9.965, allocations: 236.8 kB / 7.337 GB, free: 58.65 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/9.965, allocations: 7.188 kB / 7.337 GB, free: 58.65 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/9.965, allocations: 0 / 7.337 GB, free: 58.65 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/9.965, allocations: 0 / 7.337 GB, free: 58.65 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006202/9.966, allocations: 0.4985 MB / 7.337 GB, free: 58.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/9.966, allocations: 0 / 7.337 GB, free: 58.37 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000351/9.966, allocations: 80.14 kB / 7.337 GB, free: 58.37 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/9.966, allocations: 3.938 kB / 7.337 GB, free: 58.36 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/9.966, allocations: 14.22 kB / 7.337 GB, free: 58.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004286/9.967, allocations: 1.191 MB / 7.339 GB, free: 57.19 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/9.967, allocations: 0 / 7.339 GB, free: 57.19 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004639/9.967, allocations: 288 kB / 7.339 GB, free: 57.03 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.479e-05/9.967, allocations: 135.9 kB / 7.339 GB, free: 56.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.932e-05/9.967, allocations: 3.906 kB / 7.339 GB, free: 56.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002134/9.968, allocations: 7.438 kB / 7.339 GB, free: 56.92 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.857e-05/9.968, allocations: 18.69 kB / 7.339 GB, free: 56.92 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/9.968, allocations: 7.656 kB / 7.339 GB, free: 56.92 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.483e-05/9.968, allocations: 162.2 kB / 7.339 GB, free: 56.84 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006842/9.975, allocations: 1.947 MB / 7.341 GB, free: 56.41 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * 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.008222/9.983, allocations: 2.905 MB / 7.344 GB, free: 55.87 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006633/9.984, allocations: 275.7 kB / 7.344 GB, free: 55.87 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/9.984, allocations: 3.25 kB / 7.344 GB, free: 55.87 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003219/9.984, allocations: 111.5 kB / 7.344 GB, free: 55.86 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/9.984, allocations: 44.72 kB / 7.344 GB, free: 55.85 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6036/10.59, allocations: 228.7 MB / 7.568 GB, free: 117.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004021/10.59, allocations: 0.8248 MB / 7.568 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of SimCode: time 8.21e-07/10.59, allocations: 0 / 7.568 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of Templates: time 0.06408/10.65, allocations: 55.67 MB / 7.623 GB, free: 99.27 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceMoistAir/ReferenceMoistAir.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches