Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.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.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_trunk_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_trunk_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 trunk/package.mo): time 0.001429/0.001429, allocations: 195.2 kB / 8.535 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.273/1.273, allocations: 225.5 MB / 234.4 MB, free: 3.418 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008657/0.0008656, allocations: 85.62 kB / 286.3 MB, free: 5.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2072/0.2072, allocations: 45.15 MB / 383.3 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.352e-05/1.356e-05, allocations: 0 / 452.6 MB, free: 76.23 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1245, allocations: 63.24 MB / 0.5038 GB, free: 13.05 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8879/1.012, allocations: 379 MB / 0.8739 GB, free: 75.06 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000198/1.013, allocations: 63.97 kB / 0.874 GB, free: 75.03 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.04573/1.058, allocations: 21.54 MB / 0.895 GB, free: 57.41 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.446e-05/1.059, allocations: 0 / 0.895 GB, free: 57.41 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0009407/1.059, allocations: 0.58 MB / 0.8956 GB, free: 56.81 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/1.06, allocations: 8.031 kB / 0.8956 GB, free: 56.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/1.06, allocations: 31.7 kB / 0.8956 GB, free: 56.77 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002342/1.06, allocations: 227.6 kB / 0.8958 GB, free: 56.52 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001092/1.06, allocations: 115.3 kB / 0.896 GB, free: 56.38 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/1.06, allocations: 12 kB / 0.896 GB, free: 56.37 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00062/1.061, allocations: 0.7144 MB / 0.8967 GB, free: 55.77 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003139/1.061, allocations: 284.2 kB / 0.8969 GB, free: 55.53 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/1.061, allocations: 7.906 kB / 0.8969 GB, free: 55.52 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.83e-05/1.061, allocations: 4 kB / 0.8969 GB, free: 55.52 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.061e-05/1.061, allocations: 4 kB / 0.8969 GB, free: 55.51 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002117/1.063, allocations: 3.28 MB / 0.9002 GB, free: 51.84 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.763e-05/1.063, allocations: 57.31 kB / 0.9002 GB, free: 51.78 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.238e-05/1.063, allocations: 20.7 kB / 0.9002 GB, free: 51.76 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004106/1.064, allocations: 0.5016 MB / 0.9007 GB, free: 51.21 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.558e-05/1.064, allocations: 38.56 kB / 0.9008 GB, free: 51.16 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/1.064, allocations: 0 / 0.9008 GB, free: 51.16 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10): time 0.0005885/1.064, allocations: 152.6 kB / 0.9009 GB, free: 51.02 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.963e-05/1.064, allocations: 59.09 kB / 0.901 GB, free: 50.95 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/1.065, allocations: 189 kB / 0.9011 GB, free: 50.79 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/1.065, allocations: 29.64 kB / 0.9012 GB, free: 50.75 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.587e-05/1.065, allocations: 227.7 kB / 0.9014 GB, free: 50.54 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.941e-05/1.065, allocations: 46.27 kB / 0.9014 GB, free: 50.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.987e-06/1.065, allocations: 0 / 0.9014 GB, free: 50.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 4.792e-05/1.065, allocations: 325.8 kB / 0.9017 GB, free: 50.18 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.815e-05/1.065, allocations: 43.42 kB / 0.9018 GB, free: 50.15 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/1.065, allocations: 297.5 kB / 0.9021 GB, free: 49.75 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003103/1.065, allocations: 118.5 kB / 0.9022 GB, free: 49.65 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/1.065, allocations: 4 kB / 0.9022 GB, free: 49.64 MB / 0.5261 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000566/1.066, allocations: 321.1 kB / 0.9025 GB, free: 49.36 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/1.066, allocations: 8 kB / 0.9025 GB, free: 49.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/1.066, allocations: 8 kB / 0.9025 GB, free: 49.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/1.066, allocations: 16 kB / 0.9025 GB, free: 49.32 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003201/1.066, allocations: 111.2 kB / 0.9026 GB, free: 49.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/1.066, allocations: 15.94 kB / 0.9026 GB, free: 49.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002529/1.067, allocations: 24.39 kB / 0.9027 GB, free: 49.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.793e-05/1.067, allocations: 20 kB / 0.9027 GB, free: 49.16 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 6.945e-05/1.067, allocations: 132.2 kB / 0.9028 GB, free: 49.03 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.348e-05/1.067, allocations: 19.72 kB / 0.9028 GB, free: 49.01 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001905/1.067, allocations: 93.69 kB / 0.9029 GB, free: 48.92 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-06/1.067, allocations: 4.031 kB / 0.9029 GB, free: 48.92 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/1.067, allocations: 4 kB / 0.9029 GB, free: 48.91 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/1.067, allocations: 0 / 0.9029 GB, free: 48.91 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004241/1.067, allocations: 395.9 kB / 0.9033 GB, free: 48.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/1.067, allocations: 0 / 0.9033 GB, free: 48.51 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/1.068, allocations: 23.92 kB / 0.9033 GB, free: 48.49 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/1.068, allocations: 4 kB / 0.9033 GB, free: 48.48 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/1.068, allocations: 0 / 0.9033 GB, free: 48.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/1.068, allocations: 7.984 kB / 0.9033 GB, free: 48.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/1.068, allocations: 64 / 0.9033 GB, free: 48.48 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001709/1.068, allocations: 226.5 kB / 0.9035 GB, free: 48.23 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.097e-05/1.068, allocations: 116.1 kB / 0.9037 GB, free: 48.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.991e-05/1.068, allocations: 0 / 0.9037 GB, free: 48.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000227/1.068, allocations: 12.17 kB / 0.9037 GB, free: 48.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.368e-05/1.068, allocations: 4 kB / 0.9037 GB, free: 48.09 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/1.068, allocations: 19.23 kB / 0.9037 GB, free: 48.08 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.173e-05/1.068, allocations: 134.6 kB / 0.9038 GB, free: 47.96 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004655/1.069, allocations: 91.44 kB / 0.9039 GB, free: 47.88 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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.000248/1.069, allocations: 190.1 kB / 0.9041 GB, free: 47.69 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002429/1.069, allocations: 151.5 kB / 0.9042 GB, free: 47.56 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.069, allocations: 4.062 kB / 0.9042 GB, free: 47.56 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.167e-05/1.069, allocations: 23.38 kB / 0.9043 GB, free: 47.54 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/1.07, allocations: 32.09 kB / 0.9043 GB, free: 47.51 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003749/1.07, allocations: 200.9 kB / 0.9045 GB, free: 47.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001882/1.07, allocations: 0.7588 MB / 0.9052 GB, free: 46.52 MB / 0.5261 GB Notification: Performance of SimCode: time 2.6e-07/1.07, allocations: 0 / 0.9052 GB, free: 46.52 MB / 0.5261 GB Notification: Performance of Templates: time 0.005975/1.076, allocations: 3.19 MB / 0.9083 GB, free: 43.36 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches