Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.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.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_trunk_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_trunk_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 trunk/package.mo): time 0.001179/0.001179, allocations: 200.3 kB / 8.544 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 225.5 MB / 234.4 MB, free: 3.336 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009997/0.001, allocations: 93.48 kB / 286.3 MB, free: 5.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.255/0.255, allocations: 45.14 MB / 383.4 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 8.146e-06/8.176e-06, allocations: 0 / 452.6 MB, free: 76.18 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1592, allocations: 63.24 MB / 0.5038 GB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.22/13.37, allocations: 6.132 GB / 6.636 GB, free: 138.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000216/13.38, allocations: 75.8 kB / 6.636 GB, free: 138.5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.9492/14.32, allocations: 257.2 MB / 6.887 GB, free: 86.96 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.582e-05/14.32, allocations: 0 / 6.887 GB, free: 86.96 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.01024/14.33, allocations: 1.936 MB / 6.889 GB, free: 84.98 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/14.33, allocations: 15.97 kB / 6.889 GB, free: 84.96 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003222/14.34, allocations: 35.61 kB / 6.889 GB, free: 84.93 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005126/14.34, allocations: 238.8 kB / 6.889 GB, free: 84.65 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/14.34, allocations: 12 kB / 6.889 GB, free: 84.64 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.966e-05/14.34, allocations: 19.98 kB / 6.889 GB, free: 84.62 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001064/14.34, allocations: 0.8639 MB / 6.89 GB, free: 83.76 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006764/14.34, allocations: 464.5 kB / 6.89 GB, free: 83.27 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/14.34, allocations: 0 / 6.89 GB, free: 83.27 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.373e-05/14.34, allocations: 7.906 kB / 6.89 GB, free: 83.27 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.793e-05/14.34, allocations: 28.64 kB / 6.89 GB, free: 83.23 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003923/14.34, allocations: 3.903 MB / 6.894 GB, free: 78.79 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001835/14.34, allocations: 116.6 kB / 6.894 GB, free: 78.67 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.569e-05/14.34, allocations: 40.86 kB / 6.894 GB, free: 78.63 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01414/14.36, allocations: 14.82 MB / 6.909 GB, free: 60.86 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002523/14.36, allocations: 120.6 kB / 6.909 GB, free: 60.73 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=17): time 2.945e-06/14.36, allocations: 0 / 6.909 GB, free: 60.73 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.001663/14.36, allocations: 315.5 kB / 6.909 GB, free: 60.42 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.083e-05/14.36, allocations: 55.41 kB / 6.909 GB, free: 60.35 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002531/14.36, allocations: 232 kB / 6.909 GB, free: 60.12 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/14.36, allocations: 26.64 kB / 6.909 GB, free: 60.09 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.9e-05/14.36, allocations: 250.3 kB / 6.91 GB, free: 59.84 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.97e-05/14.36, allocations: 63.19 kB / 6.91 GB, free: 59.77 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.101e-05/14.36, allocations: 0 / 6.91 GB, free: 59.77 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.933e-05/14.36, allocations: 334.8 kB / 6.91 GB, free: 59.44 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/14.36, allocations: 73.3 kB / 6.91 GB, free: 59.37 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002005/14.36, allocations: 341.2 kB / 6.91 GB, free: 58.91 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/14.36, allocations: 251.9 kB / 6.911 GB, free: 58.66 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/14.36, allocations: 0 / 6.911 GB, free: 58.66 MB / 0.5261 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002046/14.36, allocations: 0.5229 MB / 6.911 GB, free: 58.13 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/14.36, allocations: 11.94 kB / 6.911 GB, free: 58.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/14.36, allocations: 8 kB / 6.911 GB, free: 58.11 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.032e-05/14.36, allocations: 16.11 kB / 6.911 GB, free: 58.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006988/14.36, allocations: 180.3 kB / 6.911 GB, free: 57.92 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005514/14.36, allocations: 1.211 MB / 6.913 GB, free: 56.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004178/14.36, allocations: 12 kB / 6.913 GB, free: 56.65 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.687e-05/14.36, allocations: 47.19 kB / 6.913 GB, free: 56.61 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: 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.0001868/14.36, allocations: 144.8 kB / 6.913 GB, free: 56.46 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002016/14.36, allocations: 30.28 kB / 6.913 GB, free: 56.43 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006542/14.37, allocations: 243 kB / 6.913 GB, free: 56.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/14.37, allocations: 7.984 kB / 6.913 GB, free: 56.19 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/14.37, allocations: 0 / 6.913 GB, free: 56.19 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/14.37, allocations: 0 / 6.913 GB, free: 56.19 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007225/14.37, allocations: 499.5 kB / 6.914 GB, free: 55.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/14.37, allocations: 0 / 6.914 GB, free: 55.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003743/14.37, allocations: 83.8 kB / 6.914 GB, free: 55.58 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/14.37, allocations: 0 / 6.914 GB, free: 55.58 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.639e-05/14.37, allocations: 8.031 kB / 6.914 GB, free: 55.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000502/14.37, allocations: 1.191 MB / 6.915 GB, free: 54.33 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/14.37, allocations: 3.984 kB / 6.915 GB, free: 54.33 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005567/14.37, allocations: 291.6 kB / 6.915 GB, free: 54.02 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/14.37, allocations: 136.8 kB / 6.915 GB, free: 53.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.469e-05/14.37, allocations: 0 / 6.915 GB, free: 53.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002421/14.37, allocations: 8 kB / 6.915 GB, free: 53.86 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.194e-05/14.37, allocations: 11.97 kB / 6.915 GB, free: 53.85 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.673e-05/14.37, allocations: 16 kB / 6.915 GB, free: 53.83 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0001347/14.37, allocations: 160.5 kB / 6.915 GB, free: 53.68 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01204/14.38, allocations: 2.017 MB / 6.917 GB, free: 51.66 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: 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.01904/14.4, allocations: 2.928 MB / 6.92 GB, free: 48.89 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001161/14.4, allocations: 276.1 kB / 6.92 GB, free: 48.62 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/14.4, allocations: 0 / 6.92 GB, free: 48.62 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004701/14.4, allocations: 108.8 kB / 6.921 GB, free: 48.52 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005397/14.4, allocations: 44.02 kB / 6.921 GB, free: 48.48 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8346/15.24, allocations: 244.2 MB / 7.159 GB, free: 52.89 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007254/15.24, allocations: 0.8297 MB / 7.16 GB, free: 52.07 MB / 0.5261 GB Notification: Performance of SimCode: time 1.654e-06/15.24, allocations: 0 / 7.16 GB, free: 52.07 MB / 0.5261 GB Notification: Performance of Templates: time 0.3603/15.6, allocations: 52.36 MB / 7.211 GB, free: 111.6 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceMoistAir/ReferenceMoistAir.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches