Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") [: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 trunk/package.mo): time 0.001306/0.001306, allocations: 199.2 kB / 8.542 MB, free: 1.809 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 225.5 MB / 234.4 MB, free: 3.414 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001017/0.001017, allocations: 93.39 kB / 286.3 MB, free: 5.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2306/0.2306, allocations: 45.15 MB / 383.4 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.054e-06/7.074e-06, allocations: 0 / 452.6 MB, free: 76.2 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1479, allocations: 63.24 MB / 0.5038 GB, free: 13.03 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.091/1.239, allocations: 430.8 MB / 0.9245 GB, free: 22.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004258/1.239, allocations: 93.75 kB / 0.9245 GB, free: 22.25 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.6707/1.91, allocations: 135.5 MB / 1.057 GB, free: 96.24 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.572e-05/1.91, allocations: 32.03 kB / 1.057 GB, free: 96.21 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001805/1.912, allocations: 0.8994 MB / 1.058 GB, free: 95.27 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/1.912, allocations: 8.031 kB / 1.058 GB, free: 95.26 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003447/1.912, allocations: 87.14 kB / 1.058 GB, free: 95.18 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009607/1.913, allocations: 0.5479 MB / 1.058 GB, free: 94.6 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.705e-05/1.914, allocations: 92.33 kB / 1.058 GB, free: 94.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.287e-05/1.914, allocations: 28 kB / 1.058 GB, free: 94.47 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000826/1.914, allocations: 0.5645 MB / 1.059 GB, free: 93.91 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009224/1.915, allocations: 0.7413 MB / 1.06 GB, free: 93.09 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/1.915, allocations: 7.844 kB / 1.06 GB, free: 93.08 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.368e-05/1.915, allocations: 4 kB / 1.06 GB, free: 93.08 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-05/1.916, allocations: 36.98 kB / 1.06 GB, free: 93.04 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003744/1.919, allocations: 3.822 MB / 1.064 GB, free: 88.99 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002906/1.92, allocations: 238.6 kB / 1.064 GB, free: 88.75 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002102/1.92, allocations: 161.4 kB / 1.064 GB, free: 88.59 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003173/1.92, allocations: 0.4891 MB / 1.064 GB, free: 88 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/1.92, allocations: 38.84 kB / 1.064 GB, free: 87.95 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 3.918e-06/1.92, allocations: 0 / 1.064 GB, free: 87.95 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39): time 0.00303/1.923, allocations: 1.284 MB / 1.066 GB, free: 86.59 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.318e-05/1.923, allocations: 132.5 kB / 1.066 GB, free: 86.43 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004624/1.924, allocations: 454 kB / 1.066 GB, free: 85.98 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.869e-05/1.924, allocations: 29.7 kB / 1.066 GB, free: 85.95 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/1.924, allocations: 319.1 kB / 1.067 GB, free: 85.63 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.23e-05/1.924, allocations: 145.9 kB / 1.067 GB, free: 85.48 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.462e-05/1.924, allocations: 0 / 1.067 GB, free: 85.48 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001004/1.924, allocations: 366.7 kB / 1.067 GB, free: 85.12 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00025/1.924, allocations: 197.5 kB / 1.067 GB, free: 84.93 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003517/1.925, allocations: 498.8 kB / 1.068 GB, free: 84.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005867/1.925, allocations: 320.5 kB / 1.068 GB, free: 83.98 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/1.925, allocations: 0 / 1.068 GB, free: 83.98 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001779/1.927, allocations: 0.8597 MB / 1.069 GB, free: 83.12 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/1.927, allocations: 4 kB / 1.069 GB, free: 83.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/1.927, allocations: 12 kB / 1.069 GB, free: 83.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009677/1.928, allocations: 244.6 kB / 1.069 GB, free: 82.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003812/1.929, allocations: 123.8 kB / 1.069 GB, free: 82.74 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009225/1.93, allocations: 0.912 MB / 1.07 GB, free: 81.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000606/1.93, allocations: 40.09 kB / 1.07 GB, free: 81.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.792e-05/1.93, allocations: 36 kB / 1.07 GB, free: 81.73 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0001601/1.93, allocations: 140.7 kB / 1.07 GB, free: 81.59 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.449e-05/1.93, allocations: 59.25 kB / 1.07 GB, free: 81.53 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001205/1.932, allocations: 0.6674 MB / 1.071 GB, free: 80.84 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/1.932, allocations: 4 kB / 1.071 GB, free: 80.84 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/1.932, allocations: 0 / 1.071 GB, free: 80.84 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/1.932, allocations: 7.938 kB / 1.071 GB, free: 80.83 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001978/1.934, allocations: 1.525 MB / 1.073 GB, free: 79.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/1.934, allocations: 4 kB / 1.073 GB, free: 79.17 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/1.935, allocations: 195.9 kB / 1.073 GB, free: 78.98 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.101e-05/1.935, allocations: 24.84 kB / 1.073 GB, free: 78.95 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.089e-05/1.935, allocations: 7.984 kB / 1.073 GB, free: 78.94 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001418/1.936, allocations: 2.58 MB / 1.075 GB, free: 76.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.217e-06/1.936, allocations: 4.031 kB / 1.075 GB, free: 76.14 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001271/1.938, allocations: 1.017 MB / 1.076 GB, free: 75.03 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002914/1.938, allocations: 196.3 kB / 1.076 GB, free: 74.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.225e-05/1.938, allocations: 7.984 kB / 1.076 GB, free: 74.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000471/1.939, allocations: 19.92 kB / 1.076 GB, free: 74.79 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.254e-05/1.939, allocations: 35.92 kB / 1.077 GB, free: 74.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.454e-05/1.939, allocations: 19.98 kB / 1.077 GB, free: 74.73 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0003659/1.939, allocations: 330.9 kB / 1.077 GB, free: 74.41 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0009902/1.94, allocations: 219.9 kB / 1.077 GB, free: 74.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000805/1.941, allocations: 361.7 kB / 1.077 GB, free: 73.86 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001016/1.942, allocations: 0.5299 MB / 1.078 GB, free: 73.34 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/1.942, allocations: 0 / 1.078 GB, free: 73.34 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001127/1.943, allocations: 450.4 kB / 1.078 GB, free: 72.89 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001342/1.944, allocations: 265.4 kB / 1.079 GB, free: 72.64 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001863/1.946, allocations: 0.9623 MB / 1.08 GB, free: 71.62 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000613/1.947, allocations: 1.028 MB / 1.081 GB, free: 70.57 MB / 0.5261 GB Notification: Performance of SimCode: time 8.02e-07/1.947, allocations: 0 / 1.081 GB, free: 70.57 MB / 0.5261 GB Notification: Performance of Templates: time 0.02171/1.969, allocations: 13.2 MB / 1.093 GB, free: 57.55 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volume.medium.T,volume.medium.p Variables in the result:T_start,X_start[1],ambient.T,ambient.X[1],ambient.d,ambient.flowDirection,ambient.h,ambient.medium.preferredMediumStates,ambient.medium.standardOrderComponents,ambient.nPorts,ambient.p,ambient.use_T,ambient.use_p,fixedMassFlowRate.T,fixedMassFlowRate.X[1],fixedMassFlowRate.flowDirection,fixedMassFlowRate.m_flow,fixedMassFlowRate.medium.preferredMediumStates,fixedMassFlowRate.medium.standardOrderComponents,fixedMassFlowRate.nPorts,h_start,p_start,shortPipe.V,shortPipe.allowFlowReversal,shortPipe.crossArea,shortPipe.diameter,shortPipe.flowModel.Re_turbulent,shortPipe.flowModel.allowFlowReversal,shortPipe.flowModel.dp_nominal,shortPipe.flowModel.g,shortPipe.flowModel.m,shortPipe.flowModel.m_flow_nominal,shortPipe.flowModel.m_flow_start,shortPipe.flowModel.momentumDynamics,shortPipe.flowModel.mu_nominal,shortPipe.flowModel.n,shortPipe.flowModel.nParallel,shortPipe.flowModel.p_a_start,shortPipe.flowModel.p_b_start,shortPipe.flowModel.rho_nominal,shortPipe.flowModel.show_Res,shortPipe.flowModel.useUpstreamScheme,shortPipe.flowModel.use_Ib_flows,shortPipe.flowModel.use_mu_nominal,shortPipe.flowModel.use_rho_nominal,shortPipe.height_ab,shortPipe.isCircular,shortPipe.length,shortPipe.m_flow_start,shortPipe.nParallel,shortPipe.p_a_start,shortPipe.p_b_start,shortPipe.perimeter,shortPipe.port_a_exposesState,shortPipe.port_b_exposesState,shortPipe.roughness,shortPipe.showDesignFlowDirection,system.T_ambient,system.T_start,system.allowFlowReversal,system.dp_small,system.energyDynamics,system.eps_m_flow,system.g,system.m_flow_nominal,system.m_flow_small,system.m_flow_start,system.massDynamics,system.momentumDynamics,system.p_ambient,system.p_start,system.substanceDynamics,system.traceDynamics,system.use_eps_Re,time,volume.T_start,volume.V,volume.X_start[1],volume.energyDynamics,volume.fluidLevel_max,volume.h_start,volume.heatTransfer.T_ambient,volume.heatTransfer.k,volume.heatTransfer.n,volume.heatTransfer.use_k,volume.initialize_p,volume.m_flow_nominal,volume.m_flow_small,volume.massDynamics,volume.medium.T,volume.medium.p,volume.medium.preferredMediumStates,volume.medium.standardOrderComponents,volume.nPorts,volume.p_start,volume.substanceDynamics,volume.traceDynamics,volume.use_HeatTransfer,volume.use_Re,volume.use_T_start,volume.use_portsData,volume.vesselArea