Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.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.Blocks.ConversionBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ydegC|ydegF|ydegRk|ydeg|yrpm|ykmh|yday|yhour|yminute|ylitre|ykWh|ybar|ygps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks") translateModel(ModelicaTest.Blocks.ConversionBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ydegC|ydegF|ydegRk|ydeg|yrpm|ykmh|yday|yhour|yminute|ylitre|ykWh|ybar|ygps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks") [: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.001373/0.001373, allocations: 201.3 kB / 8.544 MB, free: 1.812 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.321/1.321, allocations: 225.5 MB / 234.4 MB, free: 3.383 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001043/0.001043, allocations: 91.09 kB / 286.3 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2327/0.2327, allocations: 45.14 MB / 383.3 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.603e-06/6.633e-06, allocations: 0 / 452.6 MB, free: 76.21 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.133, allocations: 63.24 MB / 0.5038 GB, free: 13.05 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3582/0.4912, allocations: 91.01 MB / 0.5926 GB, free: 12.01 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000221/0.4915, allocations: 59.59 kB / 0.5927 GB, free: 11.98 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01676/0.5083, allocations: 5.961 MB / 0.5985 GB, free: 6.895 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.185e-05/0.5083, allocations: 4 kB / 0.5985 GB, free: 6.891 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0005531/0.5089, allocations: 495.5 kB / 0.599 GB, free: 6.379 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.5089, allocations: 8.031 kB / 0.599 GB, free: 6.371 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/0.51, allocations: 83.58 kB / 0.5991 GB, free: 6.293 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.5102, allocations: 198.7 kB / 0.5993 GB, free: 6.059 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.5102, allocations: 8 kB / 0.5993 GB, free: 6.051 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.136e-05/0.5103, allocations: 16 kB / 0.5993 GB, free: 6.035 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002257/0.5105, allocations: 110.7 kB / 0.5994 GB, free: 5.961 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002489/0.5108, allocations: 152.4 kB / 0.5996 GB, free: 5.836 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.5108, allocations: 0 / 0.5996 GB, free: 5.836 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.5108, allocations: 3.938 kB / 0.5996 GB, free: 5.832 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.5108, allocations: 8 kB / 0.5996 GB, free: 5.824 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008268/0.5117, allocations: 0.538 MB / 0.6001 GB, free: 5.312 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004532/0.5121, allocations: 202.5 kB / 0.6003 GB, free: 5.145 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.819e-05/0.5122, allocations: 53.45 kB / 0.6003 GB, free: 5.105 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.5123, allocations: 8.219 kB / 0.6003 GB, free: 5.098 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.5123, allocations: 30.8 kB / 0.6004 GB, free: 5.059 MB / 394.7 MB Notification: Performance of pre-optimization done (n=27): time 1.653e-06/0.5123, allocations: 4 kB / 0.6004 GB, free: 5.055 MB / 394.7 MB Notification: Performance of matching and sorting (n=27): time 0.000276/0.5126, allocations: 148.7 kB / 0.6005 GB, free: 4.93 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.5126, allocations: 58.88 kB / 0.6006 GB, free: 4.863 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.376e-05/0.5127, allocations: 92.31 kB / 0.6007 GB, free: 4.77 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.5127, allocations: 29.64 kB / 0.6007 GB, free: 4.734 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.418e-05/0.5128, allocations: 131.8 kB / 0.6008 GB, free: 4.602 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.934e-05/0.5129, allocations: 91.78 kB / 0.6009 GB, free: 4.523 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.015e-06/0.5129, allocations: 0 / 0.6009 GB, free: 4.523 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.513, allocations: 326.7 kB / 0.6012 GB, free: 4.199 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.357e-05/0.5131, allocations: 28.5 kB / 0.6012 GB, free: 4.18 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.054e-05/0.5131, allocations: 33.25 kB / 0.6013 GB, free: 4.16 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.071e-05/0.5132, allocations: 38.11 kB / 0.6013 GB, free: 4.133 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5132, allocations: 0 / 0.6013 GB, free: 4.133 MB / 394.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001964/0.5134, allocations: 137.2 kB / 0.6014 GB, free: 4.016 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.5135, allocations: 8 kB / 0.6014 GB, free: 4.008 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.5135, allocations: 0 / 0.6014 GB, free: 4.008 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.5135, allocations: 0 / 0.6014 GB, free: 4.008 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000392/0.5139, allocations: 99.89 kB / 0.6015 GB, free: 3.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.5139, allocations: 7.906 kB / 0.6016 GB, free: 3.902 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.8e-05/0.514, allocations: 15.83 kB / 0.6016 GB, free: 3.887 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.514, allocations: 7.938 kB / 0.6016 GB, free: 3.883 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.724e-05/0.5141, allocations: 108.9 kB / 0.6017 GB, free: 3.77 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.632e-05/0.5141, allocations: 11.81 kB / 0.6017 GB, free: 3.758 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.432e-05/0.5142, allocations: 23.81 kB / 0.6017 GB, free: 3.75 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.5142, allocations: 0 / 0.6017 GB, free: 3.75 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.5142, allocations: 7.938 kB / 0.6017 GB, free: 3.742 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.5142, allocations: 3.984 kB / 0.6017 GB, free: 3.738 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002323/0.5145, allocations: 216.5 kB / 0.6019 GB, free: 3.512 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.5145, allocations: 0 / 0.6019 GB, free: 3.512 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003781/0.5148, allocations: 103.1 kB / 0.602 GB, free: 3.414 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.5149, allocations: 0 / 0.602 GB, free: 3.414 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.5149, allocations: 0 / 0.602 GB, free: 3.414 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.5149, allocations: 7.906 kB / 0.602 GB, free: 3.406 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.5149, allocations: 4.234 kB / 0.602 GB, free: 3.402 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000239/0.5151, allocations: 242.3 kB / 0.6023 GB, free: 3.176 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.424e-05/0.5152, allocations: 96.86 kB / 0.6024 GB, free: 3.062 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.5152, allocations: 4 kB / 0.6024 GB, free: 3.059 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.515e-05/0.5153, allocations: 4.531 kB / 0.6024 GB, free: 3.055 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.954e-05/0.5154, allocations: 15.97 kB / 0.6024 GB, free: 3.039 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.5154, allocations: 7.875 kB / 0.6024 GB, free: 3.035 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.878e-05/0.5154, allocations: 79.28 kB / 0.6025 GB, free: 2.957 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002767/0.5157, allocations: 43.75 kB / 0.6025 GB, free: 2.914 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 27 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001114/0.5158, allocations: 91.19 kB / 0.6026 GB, free: 2.816 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001978/0.516, allocations: 113.2 kB / 0.6027 GB, free: 2.73 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.5161, allocations: 0 / 0.6027 GB, free: 2.73 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.627e-05/0.5161, allocations: 66.75 kB / 0.6028 GB, free: 2.68 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001455/0.5163, allocations: 0 / 0.6028 GB, free: 2.68 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004629/0.5168, allocations: 227 kB / 0.603 GB, free: 2.461 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003548/0.5171, allocations: 0.755 MB / 0.6037 GB, free: 1.676 MB / 394.7 MB Notification: Performance of SimCode: time 3e-07/0.5171, allocations: 3.938 kB / 0.6037 GB, free: 1.672 MB / 394.7 MB Notification: Performance of Templates: time 0.003452/0.5206, allocations: 1.202 MB / 0.6049 GB, free: 492 kB / 394.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","../files/ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches