Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.SimpleAir,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.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir") translateModel(ModelicaTest.Media.TestAllProperties.SimpleAir,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.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.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 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 176.1 kB / 8.518 MB, free: 1.852 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 221.4 MB / 230.3 MB, free: 7.793 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009424/0.0009424, allocations: 87.48 kB / 281.2 MB, free: 5.527 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1707/0.1707, allocations: 44.14 MB / 376.1 MB, free: 3.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.843e-06/6.843e-06, allocations: 224 / 444 MB, free: 15.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1217, allocations: 61.91 MB / 0.4941 GB, free: 1.637 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7725/0.8942, allocations: 378 MB / 0.8632 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002305/0.8945, allocations: 72.28 kB / 0.8633 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.04853/0.943, allocations: 21.4 MB / 0.8842 GB, free: 9.781 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.55e-05/0.9431, allocations: 4 kB / 0.8842 GB, free: 9.777 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0009719/0.944, allocations: 0.5647 MB / 0.8847 GB, free: 9.168 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.9441, allocations: 15.97 kB / 0.8847 GB, free: 9.152 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001785/0.9443, allocations: 31.8 kB / 0.8848 GB, free: 9.121 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002797/0.9446, allocations: 226.7 kB / 0.885 GB, free: 8.859 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000132/0.9447, allocations: 115.3 kB / 0.8851 GB, free: 8.723 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.468e-05/0.9447, allocations: 12 kB / 0.8851 GB, free: 8.711 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007979/0.9455, allocations: 0.7112 MB / 0.8858 GB, free: 8 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000379/0.9459, allocations: 285 kB / 0.8861 GB, free: 7.699 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.946, allocations: 0 / 0.8861 GB, free: 7.699 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.73e-05/0.946, allocations: 3.906 kB / 0.8861 GB, free: 7.695 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.355e-05/0.946, allocations: 12 kB / 0.8861 GB, free: 7.684 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002977/0.949, allocations: 3.19 MB / 0.8892 GB, free: 3.957 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.9491, allocations: 58.53 kB / 0.8893 GB, free: 3.891 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.318e-05/0.9492, allocations: 33.06 kB / 0.8893 GB, free: 3.855 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006568/0.9498, allocations: 0.5226 MB / 0.8898 GB, free: 3.27 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.9499, allocations: 42.56 kB / 0.8899 GB, free: 3.219 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 1.743e-06/0.9499, allocations: 0 / 0.8899 GB, free: 3.219 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9): time 0.0005316/0.9504, allocations: 148.8 kB / 0.89 GB, free: 3.066 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/0.9505, allocations: 55.41 kB / 0.89 GB, free: 3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.9506, allocations: 195.6 kB / 0.8902 GB, free: 2.801 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.9507, allocations: 29.7 kB / 0.8903 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.9508, allocations: 230.5 kB / 0.8905 GB, free: 2.535 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.478e-05/0.9508, allocations: 35.55 kB / 0.8905 GB, free: 2.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.566e-06/0.9509, allocations: 4 kB / 0.8905 GB, free: 2.496 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.951, allocations: 326.8 kB / 0.8908 GB, free: 2.168 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.664e-05/0.9511, allocations: 40.86 kB / 0.8909 GB, free: 2.129 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002351/0.9513, allocations: 320 kB / 0.8912 GB, free: 1.672 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002796/0.9516, allocations: 103.8 kB / 0.8913 GB, free: 1.57 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.9516, allocations: 7.938 kB / 0.8913 GB, free: 1.562 MB / 0.5105 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006307/0.9523, allocations: 325.9 kB / 0.8916 GB, free: 1.238 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.9523, allocations: 4 kB / 0.8916 GB, free: 1.234 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.9523, allocations: 12.12 kB / 0.8916 GB, free: 1.223 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.366e-05/0.9524, allocations: 16 kB / 0.8916 GB, free: 1.207 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003317/0.9527, allocations: 107.7 kB / 0.8917 GB, free: 1.102 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.744e-05/0.9527, allocations: 19.92 kB / 0.8917 GB, free: 1.082 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002498/0.953, allocations: 12 kB / 0.8918 GB, free: 1.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.367e-05/0.953, allocations: 24 kB / 0.8918 GB, free: 1.047 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001066/0.9531, allocations: 136.7 kB / 0.8919 GB, free: 0.9062 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.143e-05/0.9532, allocations: 27.7 kB / 0.8919 GB, free: 0.8789 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002201/0.9534, allocations: 91.38 kB / 0.892 GB, free: 0.7773 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.9534, allocations: 0 / 0.892 GB, free: 0.7773 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.9534, allocations: 0 / 0.892 GB, free: 0.7773 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.9535, allocations: 0 / 0.892 GB, free: 0.7773 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004976/0.954, allocations: 384.3 kB / 0.8924 GB, free: 364 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.954, allocations: 0 / 0.8924 GB, free: 364 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001245/0.9541, allocations: 23.92 kB / 0.8924 GB, free: 340 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.9541, allocations: 8.031 kB / 0.8924 GB, free: 332 kB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.914e-06/0.9541, allocations: 0 / 0.8924 GB, free: 332 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.9541, allocations: 3.938 kB / 0.8924 GB, free: 328 kB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.9541, allocations: 0 / 0.8924 GB, free: 328 kB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002085/0.9544, allocations: 201.8 kB / 0.8926 GB, free: 100 kB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.1706/1.125, allocations: 110.3 kB / 0.8927 GB, free: 240 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.279e-05/1.125, allocations: 3.375 kB / 0.8927 GB, free: 240 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003643/1.126, allocations: 7.531 kB / 0.8927 GB, free: 240 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.848e-05/1.126, allocations: 7.141 kB / 0.8927 GB, free: 240 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.897e-05/1.126, allocations: 14.27 kB / 0.8928 GB, free: 240 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0001555/1.126, allocations: 134.5 kB / 0.8929 GB, free: 240 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007807/1.127, allocations: 84.16 kB / 0.893 GB, free: 240 MB / 0.5105 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 (9): * Single equations (assignments): 8 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003248/1.127, allocations: 170.7 kB / 0.8931 GB, free: 239.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003438/1.127, allocations: 153.4 kB / 0.8933 GB, free: 239.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/1.127, allocations: 0 / 0.8933 GB, free: 239.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.608e-05/1.127, allocations: 26.95 kB / 0.8933 GB, free: 239.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003779/1.128, allocations: 31.06 kB / 0.8933 GB, free: 239.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005226/1.128, allocations: 189.4 kB / 0.8935 GB, free: 239.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002353/1.128, allocations: 0.7593 MB / 0.8942 GB, free: 239.1 MB / 0.5105 GB Notification: Performance of SimCode: time 4.11e-07/1.129, allocations: 1.219 kB / 0.8942 GB, free: 239.1 MB / 0.5105 GB Notification: Performance of Templates: time 0.00879/1.137, allocations: 3.105 MB / 0.8973 GB, free: 239 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches