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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 169.9 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 221.5 MB / 230.7 MB, free: 7.535 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.0008643/0.0008643, allocations: 103.5 kB / 281.6 MB, free: 5.266 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.2183/0.2183, allocations: 44.15 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.918e-05/1.919e-05, allocations: 4 kB / 444.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1382, allocations: 61.92 MB / 0.4947 GB, free: 1.254 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3948/0.5331, allocations: 90.02 MB / 0.5826 GB, free: 6.492 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000171/0.5333, allocations: 63.97 kB / 0.5826 GB, free: 6.43 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01738/0.5507, allocations: 6.193 MB / 0.5887 GB, free: 140 kB / 394.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.5508, allocations: 0 / 0.5887 GB, free: 140 kB / 394.7 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.5508, allocations: 4 kB / 0.5887 GB, free: 136 kB / 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.000556/0.5513, allocations: 478.4 kB / 0.5892 GB, free: 15.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.5514, allocations: 11.98 kB / 0.5892 GB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007754/0.5522, allocations: 71.67 kB / 0.5892 GB, free: 15.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.5523, allocations: 182.8 kB / 0.5894 GB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.5524, allocations: 12 kB / 0.5894 GB, free: 15.31 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/0.5524, allocations: 15.95 kB / 0.5894 GB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002402/0.5527, allocations: 117.1 kB / 0.5895 GB, free: 15.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002873/0.553, allocations: 151.8 kB / 0.5897 GB, free: 15.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.553, allocations: 0 / 0.5897 GB, free: 15.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.553, allocations: 0 / 0.5897 GB, free: 15.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.553, allocations: 8 kB / 0.5897 GB, free: 15.01 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008279/0.5538, allocations: 0.5415 MB / 0.5902 GB, free: 14.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004571/0.5543, allocations: 195.1 kB / 0.5904 GB, free: 14.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.276e-05/0.5544, allocations: 61.31 kB / 0.5905 GB, free: 14.17 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.5545, allocations: 4.219 kB / 0.5905 GB, free: 14.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.5545, allocations: 38.8 kB / 0.5905 GB, free: 14.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=27): time 1.262e-06/0.5545, allocations: 0 / 0.5905 GB, free: 14.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=27): time 0.0003296/0.5548, allocations: 141.3 kB / 0.5906 GB, free: 13.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.5549, allocations: 51.41 kB / 0.5907 GB, free: 13.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.32e-05/0.5549, allocations: 97 kB / 0.5908 GB, free: 13.81 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.555, allocations: 25.7 kB / 0.5908 GB, free: 13.78 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.947e-05/0.555, allocations: 135.1 kB / 0.5909 GB, free: 13.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.223e-05/0.5551, allocations: 86.66 kB / 0.591 GB, free: 13.56 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.716e-06/0.5551, allocations: 0 / 0.591 GB, free: 13.56 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.5553, allocations: 326.8 kB / 0.5913 GB, free: 13.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.624e-05/0.5553, allocations: 32.84 kB / 0.5914 GB, free: 13.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.198e-05/0.5554, allocations: 32.22 kB / 0.5914 GB, free: 13.17 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.369e-05/0.5555, allocations: 47.89 kB / 0.5914 GB, free: 13.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.5555, allocations: 0 / 0.5914 GB, free: 13.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002037/0.5557, allocations: 137.6 kB / 0.5916 GB, free: 12.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.5557, allocations: 5.406 kB / 0.5916 GB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.5557, allocations: 0 / 0.5916 GB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.5557, allocations: 0 / 0.5916 GB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003798/0.5561, allocations: 107.9 kB / 0.5917 GB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.5561, allocations: 7.891 kB / 0.5917 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.489e-05/0.5562, allocations: 11.84 kB / 0.5917 GB, free: 12.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.5562, allocations: 8 kB / 0.5917 GB, free: 12.84 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.132e-05/0.5563, allocations: 101 kB / 0.5918 GB, free: 12.74 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.565e-05/0.5563, allocations: 20.06 kB / 0.5918 GB, free: 12.72 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.874e-05/0.5564, allocations: 17.75 kB / 0.5918 GB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.5564, allocations: 7.984 kB / 0.5919 GB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.5564, allocations: 4 kB / 0.5919 GB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.5564, allocations: 7.891 kB / 0.5919 GB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002336/0.5567, allocations: 214 kB / 0.5921 GB, free: 12.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.5567, allocations: 0 / 0.5921 GB, free: 12.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003661/0.5571, allocations: 103.9 kB / 0.5922 GB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.5571, allocations: 0 / 0.5922 GB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.5571, allocations: 3.938 kB / 0.5922 GB, free: 12.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.5571, allocations: 4 kB / 0.5922 GB, free: 12.33 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.5571, allocations: 0 / 0.5922 GB, free: 12.33 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002351/0.5573, allocations: 248 kB / 0.5924 GB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.862e-05/0.5574, allocations: 88.95 kB / 0.5925 GB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.5574, allocations: 0 / 0.5925 GB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.975e-05/0.5575, allocations: 8 kB / 0.5925 GB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/0.5576, allocations: 15.97 kB / 0.5925 GB, free: 11.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.829e-06/0.5576, allocations: 4 kB / 0.5925 GB, free: 11.94 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.755e-05/0.5576, allocations: 83.28 kB / 0.5926 GB, free: 11.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5576, allocations: 0 / 0.5926 GB, free: 11.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002661/0.5579, allocations: 39.75 kB / 0.5926 GB, free: 11.82 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.0001031/0.558, allocations: 95.19 kB / 0.5927 GB, free: 11.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001884/0.5582, allocations: 115.9 kB / 0.5928 GB, free: 11.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.5582, allocations: 0 / 0.5928 GB, free: 11.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.319e-05/0.5583, allocations: 63.94 kB / 0.5929 GB, free: 11.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001492/0.5585, allocations: 3.953 kB / 0.5929 GB, free: 11.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004511/0.5589, allocations: 225.3 kB / 0.5931 GB, free: 11.29 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.5592, allocations: 0.736 MB / 0.5938 GB, free: 10.53 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001207/0.5594, allocations: 17.19 kB / 0.5939 GB, free: 10.51 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.603e-05/0.5594, allocations: 19.44 kB / 0.5939 GB, free: 10.49 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5594, allocations: 0 / 0.5939 GB, free: 10.49 MB / 410.7 MB Notification: Performance of Templates: time 0.00323/0.5627, allocations: 0.7953 MB / 0.5946 GB, free: 9.699 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