Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.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.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_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 179.8 kB / 8.521 MB, free: 1.844 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.301/1.301, allocations: 221.4 MB / 230.3 MB, free: 7.633 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.0009571/0.000957, allocations: 86.09 kB / 281.2 MB, free: 5.453 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.1655/0.1655, allocations: 44.16 MB / 376.1 MB, free: 3.219 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 5.6e-06/5.64e-06, allocations: 224 / 444 MB, free: 15.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0988/0.09882, allocations: 61.91 MB / 0.4941 GB, free: 1.629 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2663/0.3651, allocations: 89.96 MB / 0.5819 GB, free: 6.852 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001718/0.3653, allocations: 59.97 kB / 0.582 GB, free: 6.793 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01632/0.3817, allocations: 5.864 MB / 0.5877 GB, free: 0.8281 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.3817, allocations: 8 kB / 0.5877 GB, free: 0.8203 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.0005012/0.3822, allocations: 486.3 kB / 0.5882 GB, free: 308 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.3823, allocations: 15.97 kB / 0.5882 GB, free: 292 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008452/0.3831, allocations: 63.66 kB / 0.5883 GB, free: 228 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001864/0.3833, allocations: 190.7 kB / 0.5884 GB, free: 16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.3834, allocations: 8 kB / 0.5885 GB, free: 15.99 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/0.3834, allocations: 16 kB / 0.5885 GB, free: 15.97 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002395/0.3836, allocations: 117.3 kB / 0.5886 GB, free: 15.86 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002403/0.3839, allocations: 152.9 kB / 0.5887 GB, free: 15.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.3839, allocations: 4 kB / 0.5887 GB, free: 15.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.3839, allocations: 0 / 0.5887 GB, free: 15.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.3839, allocations: 8 kB / 0.5887 GB, free: 15.69 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007612/0.3847, allocations: 0.5338 MB / 0.5893 GB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004549/0.3852, allocations: 195.2 kB / 0.5894 GB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.867e-05/0.3853, allocations: 61.27 kB / 0.5895 GB, free: 14.85 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.3853, allocations: 4.234 kB / 0.5895 GB, free: 14.85 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.3853, allocations: 34.8 kB / 0.5895 GB, free: 14.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=27): time 1.262e-06/0.3853, allocations: 0 / 0.5895 GB, free: 14.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=27): time 0.0002713/0.3856, allocations: 137.2 kB / 0.5897 GB, free: 14.67 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/0.3856, allocations: 59.39 kB / 0.5897 GB, free: 14.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.627e-05/0.3857, allocations: 93 kB / 0.5898 GB, free: 14.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.3857, allocations: 29.7 kB / 0.5898 GB, free: 14.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.69e-05/0.3858, allocations: 136.2 kB / 0.59 GB, free: 14.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.042e-05/0.3859, allocations: 82.75 kB / 0.5901 GB, free: 14.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.787e-06/0.3859, allocations: 0 / 0.5901 GB, free: 14.24 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.742e-05/0.386, allocations: 329.7 kB / 0.5904 GB, free: 13.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.605e-05/0.3861, allocations: 32 kB / 0.5904 GB, free: 13.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.239e-05/0.3861, allocations: 36.22 kB / 0.5904 GB, free: 13.85 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.696e-05/0.3862, allocations: 39.92 kB / 0.5905 GB, free: 13.81 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3862, allocations: 0 / 0.5905 GB, free: 13.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001937/0.3864, allocations: 133.8 kB / 0.5906 GB, free: 13.67 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.3864, allocations: 8 kB / 0.5906 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.3864, allocations: 3.984 kB / 0.5906 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.3864, allocations: 0 / 0.5906 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003974/0.3868, allocations: 103.9 kB / 0.5907 GB, free: 13.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.3869, allocations: 4.844 kB / 0.5907 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.128e-05/0.3869, allocations: 23.73 kB / 0.5907 GB, free: 13.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.387, allocations: 4 kB / 0.5907 GB, free: 13.53 MB / 410.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.96e-05/0.3871, allocations: 101 kB / 0.5908 GB, free: 13.42 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.629e-05/0.3871, allocations: 7.906 kB / 0.5908 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.229e-05/0.3872, allocations: 29.22 kB / 0.5909 GB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.3872, allocations: 0 / 0.5909 GB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.3872, allocations: 4 kB / 0.5909 GB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.3872, allocations: 0 / 0.5909 GB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002475/0.3875, allocations: 221.9 kB / 0.5911 GB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3875, allocations: 0 / 0.5911 GB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003637/0.3878, allocations: 99.94 kB / 0.5912 GB, free: 13.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.3878, allocations: 0 / 0.5912 GB, free: 13.03 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.3879, allocations: 0 / 0.5912 GB, free: 13.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.3879, allocations: 4 kB / 0.5912 GB, free: 13.03 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.3879, allocations: 7.906 kB / 0.5912 GB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002407/0.3881, allocations: 248 kB / 0.5914 GB, free: 12.76 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.475e-05/0.3882, allocations: 100.7 kB / 0.5915 GB, free: 12.65 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.3882, allocations: 0 / 0.5915 GB, free: 12.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.33e-05/0.3883, allocations: 4 kB / 0.5915 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/0.3884, allocations: 11.98 kB / 0.5915 GB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.3884, allocations: 8 kB / 0.5916 GB, free: 12.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.364e-05/0.3884, allocations: 87.27 kB / 0.5916 GB, free: 12.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002534/0.3887, allocations: 39.75 kB / 0.5917 GB, free: 12.5 MB / 410.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.0001085/0.3888, allocations: 95.19 kB / 0.5918 GB, free: 12.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001823/0.389, allocations: 104 kB / 0.5919 GB, free: 12.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.389, allocations: 3.938 kB / 0.5919 GB, free: 12.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.303e-05/0.3891, allocations: 67.92 kB / 0.5919 GB, free: 12.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001322/0.3892, allocations: 3.094 kB / 0.5919 GB, free: 12.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004147/0.3896, allocations: 224.4 kB / 0.5921 GB, free: 11.99 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002941/0.3899, allocations: 0.755 MB / 0.5929 GB, free: 11.2 MB / 410.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3899, allocations: 0 / 0.5929 GB, free: 11.2 MB / 410.7 MB Notification: Performance of Templates: time 0.003283/0.3932, allocations: 1.214 MB / 0.5941 GB, free: 9.984 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Blocks.ConversionBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches