Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.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.TestAllProperties.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|dddX.2.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir") translateModel(ModelicaTest.Media.TestAllProperties.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|dddX.2.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir") [: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.001385/0.001385, allocations: 192.1 kB / 8.534 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.306/1.306, allocations: 225.5 MB / 234.4 MB, free: 3.402 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009882/0.0009881, allocations: 90.25 kB / 286.3 MB, free: 5.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.212/0.212, allocations: 45.15 MB / 383.3 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 8.336e-06/8.356e-06, allocations: 0 / 452.6 MB, free: 76.2 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.129, allocations: 63.25 MB / 0.5038 GB, free: 13.03 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.297/7.426, allocations: 3.504 GB / 4.008 GB, free: 67.54 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003185/7.427, allocations: 74.53 kB / 4.008 GB, free: 67.46 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.4781/7.905, allocations: 87.03 MB / 4.093 GB, free: 158.5 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.787e-05/7.905, allocations: 4.875 kB / 4.093 GB, free: 158.5 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.003227/7.908, allocations: 1.056 MB / 4.094 GB, free: 157.9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/7.908, allocations: 11.78 kB / 4.094 GB, free: 157.9 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001884/7.908, allocations: 39.41 kB / 4.094 GB, free: 157.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003231/7.909, allocations: 254.7 kB / 4.094 GB, free: 157.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/7.909, allocations: 115.6 kB / 4.095 GB, free: 157.6 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.72e-05/7.909, allocations: 17.53 kB / 4.095 GB, free: 157.6 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001105/7.91, allocations: 1.2 MB / 4.096 GB, free: 157.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005565/7.91, allocations: 0.5153 MB / 4.096 GB, free: 157.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/7.91, allocations: 3.281 kB / 4.096 GB, free: 157.4 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.494e-05/7.91, allocations: 0 / 4.096 GB, free: 157.4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-05/7.91, allocations: 27.28 kB / 4.096 GB, free: 157.4 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003813/7.914, allocations: 4.541 MB / 4.101 GB, free: 153.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/7.914, allocations: 122.8 kB / 4.101 GB, free: 153.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.267e-05/7.915, allocations: 44.12 kB / 4.101 GB, free: 153.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002437/7.915, allocations: 361.8 kB / 4.101 GB, free: 153.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/7.915, allocations: 37.78 kB / 4.101 GB, free: 153.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 1.854e-06/7.915, allocations: 0 / 4.101 GB, free: 153.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=19): time 0.001018/7.916, allocations: 308.9 kB / 4.101 GB, free: 153 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.205e-05/7.916, allocations: 59.19 kB / 4.102 GB, free: 152.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002087/7.916, allocations: 258.6 kB / 4.102 GB, free: 152.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/7.916, allocations: 25.7 kB / 4.102 GB, free: 152.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/7.916, allocations: 269.2 kB / 4.102 GB, free: 152.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.223e-05/7.916, allocations: 69.19 kB / 4.102 GB, free: 152.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.936e-05/7.916, allocations: 0 / 4.102 GB, free: 152.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.687e-05/7.916, allocations: 337.6 kB / 4.102 GB, free: 152.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/7.917, allocations: 88.92 kB / 4.103 GB, free: 152.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002332/7.917, allocations: 390.8 kB / 4.103 GB, free: 151.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/7.918, allocations: 324.7 kB / 4.103 GB, free: 151.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/7.918, allocations: 7.719 kB / 4.103 GB, free: 151.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001649/7.92, allocations: 0.6378 MB / 4.104 GB, free: 151.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/7.92, allocations: 7.125 kB / 4.104 GB, free: 151.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/7.92, allocations: 13.09 kB / 4.104 GB, free: 151.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.479e-05/7.92, allocations: 19.75 kB / 4.104 GB, free: 151.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007331/7.921, allocations: 205.3 kB / 4.104 GB, free: 151.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005143/7.921, allocations: 1.214 MB / 4.105 GB, free: 150.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000466/7.922, allocations: 10.91 kB / 4.105 GB, free: 150.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.481e-05/7.922, allocations: 74.42 kB / 4.105 GB, free: 150.6 MB / 0.5261 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: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 69 * Array equations: 1 * 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.000169/7.922, allocations: 126.9 kB / 4.105 GB, free: 150.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.968e-05/7.922, allocations: 31.31 kB / 4.106 GB, free: 150.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000526/7.922, allocations: 227.9 kB / 4.106 GB, free: 150.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/7.922, allocations: 8.906 kB / 4.106 GB, free: 150.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/7.922, allocations: 0 / 4.106 GB, free: 150.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/7.922, allocations: 0 / 4.106 GB, free: 150.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006314/7.923, allocations: 0.5118 MB / 4.106 GB, free: 150.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/7.923, allocations: 0 / 4.106 GB, free: 150.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003372/7.923, allocations: 75.16 kB / 4.106 GB, free: 150.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/7.923, allocations: 3.844 kB / 4.106 GB, free: 150.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/7.923, allocations: 7.688 kB / 4.106 GB, free: 150.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004329/7.924, allocations: 1.197 MB / 4.107 GB, free: 149 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/7.924, allocations: 0 / 4.107 GB, free: 149 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003425/7.924, allocations: 293.2 kB / 4.108 GB, free: 148.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001748/7.924, allocations: 159.6 kB / 4.108 GB, free: 148.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.817e-05/7.925, allocations: 3.906 kB / 4.108 GB, free: 148.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002768/7.925, allocations: 7.531 kB / 4.108 GB, free: 148.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.747e-05/7.925, allocations: 13.16 kB / 4.108 GB, free: 148.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-05/7.925, allocations: 15.55 kB / 4.108 GB, free: 148.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0001453/7.925, allocations: 175.9 kB / 4.108 GB, free: 148.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002284/7.927, allocations: 0.5497 MB / 4.109 GB, free: 148.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 16 * Array equations: 1 * 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.002885/7.93, allocations: 1.319 MB / 4.11 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009498/7.931, allocations: 312.7 kB / 4.11 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/7.931, allocations: 3.688 kB / 4.11 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003275/7.932, allocations: 100.6 kB / 4.11 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004258/7.932, allocations: 53.19 kB / 4.11 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1988/8.131, allocations: 51.25 MB / 4.16 GB, free: 122.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007081/8.132, allocations: 0.8855 MB / 4.161 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of SimCode: time 1.172e-06/8.132, allocations: 4 kB / 4.161 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.02614/8.158, allocations: 17.57 MB / 4.178 GB, free: 103.9 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/MoistAir/MoistAir.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches