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.001062/0.001062, allocations: 180.4 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.29/1.29, allocations: 221.3 MB / 236 MB, free: 2.977 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.0008366/0.0008367, allocations: 84.11 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1897/0.1897, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.071e-05/3.078e-05, allocations: 4.219 kB / 451.8 MB, free: 9.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1272, allocations: 61.91 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4112/0.5385, allocations: 90.69 MB / 0.5903 GB, free: 14.61 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001694/0.5387, allocations: 59.97 kB / 0.5903 GB, free: 14.55 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01652/0.5552, allocations: 6.225 MB / 0.5964 GB, free: 8.223 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.5553, allocations: 0 / 0.5964 GB, free: 8.223 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.056e-06/0.5553, allocations: 8 kB / 0.5964 GB, free: 8.215 MB / 410.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.0004769/0.5558, allocations: 482.3 kB / 0.5969 GB, free: 7.699 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.5558, allocations: 8.031 kB / 0.5969 GB, free: 7.691 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007116/0.5565, allocations: 67.67 kB / 0.5969 GB, free: 7.625 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.5567, allocations: 182.8 kB / 0.5971 GB, free: 7.406 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.5567, allocations: 20.56 kB / 0.5971 GB, free: 7.387 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.287e-05/0.5568, allocations: 35.95 kB / 0.5972 GB, free: 7.352 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002996/0.5571, allocations: 189 kB / 0.5973 GB, free: 7.156 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.5571, allocations: 0 / 0.5973 GB, free: 7.156 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.224e-05/0.5571, allocations: 12 kB / 0.5974 GB, free: 7.145 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.5571, allocations: 4 kB / 0.5974 GB, free: 7.141 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002072/0.5573, allocations: 134.2 kB / 0.5975 GB, free: 7.012 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007897/0.5581, allocations: 0.5967 MB / 0.5981 GB, free: 6.359 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004497/0.5586, allocations: 219.4 kB / 0.5983 GB, free: 6.137 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.5587, allocations: 61.33 kB / 0.5983 GB, free: 6.074 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.5587, allocations: 4.234 kB / 0.5983 GB, free: 6.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/0.5588, allocations: 30.8 kB / 0.5984 GB, free: 6.031 MB / 410.7 MB Notification: Performance of pre-optimization done (n=27): time 1.182e-06/0.5588, allocations: 0 / 0.5984 GB, free: 6.031 MB / 410.7 MB Notification: Performance of matching and sorting (n=27): time 0.0002625/0.559, allocations: 153 kB / 0.5985 GB, free: 5.879 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/0.5591, allocations: 63.34 kB / 0.5986 GB, free: 5.805 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.835e-05/0.5591, allocations: 101 kB / 0.5987 GB, free: 5.699 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.5592, allocations: 29.7 kB / 0.5987 GB, free: 5.664 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.97e-05/0.5592, allocations: 132.2 kB / 0.5988 GB, free: 5.531 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.688e-05/0.5593, allocations: 89.61 kB / 0.5989 GB, free: 5.445 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.576e-06/0.5593, allocations: 8 kB / 0.5989 GB, free: 5.438 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.81e-05/0.5594, allocations: 318.8 kB / 0.5992 GB, free: 5.117 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.039e-05/0.5595, allocations: 40 kB / 0.5993 GB, free: 5.078 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.838e-05/0.5595, allocations: 44.22 kB / 0.5993 GB, free: 5.035 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.488e-05/0.5596, allocations: 47.95 kB / 0.5994 GB, free: 4.988 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.5596, allocations: 0 / 0.5994 GB, free: 4.988 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002087/0.5598, allocations: 150 kB / 0.5995 GB, free: 4.836 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.5599, allocations: 4 kB / 0.5995 GB, free: 4.832 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.5599, allocations: 0 / 0.5995 GB, free: 4.832 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.5599, allocations: 3.953 kB / 0.5995 GB, free: 4.828 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003704/0.5603, allocations: 107.9 kB / 0.5996 GB, free: 4.723 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.597e-06/0.5603, allocations: 0 / 0.5996 GB, free: 4.723 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.641e-05/0.5604, allocations: 15.84 kB / 0.5996 GB, free: 4.707 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/0.5604, allocations: 8 kB / 0.5996 GB, free: 4.699 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 8.228e-05/0.5605, allocations: 116.9 kB / 0.5997 GB, free: 4.578 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.297e-05/0.5605, allocations: 11.81 kB / 0.5998 GB, free: 4.566 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.698e-05/0.5606, allocations: 29.11 kB / 0.5998 GB, free: 4.535 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.5606, allocations: 0 / 0.5998 GB, free: 4.535 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.5606, allocations: 7.953 kB / 0.5998 GB, free: 4.527 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.5606, allocations: 0 / 0.5998 GB, free: 4.527 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000277/0.5609, allocations: 269.4 kB / 0.6 GB, free: 4.215 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.5609, allocations: 0 / 0.6 GB, free: 4.215 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003351/0.5613, allocations: 95.89 kB / 0.6001 GB, free: 4.121 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.5613, allocations: 0 / 0.6001 GB, free: 4.121 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/0.5613, allocations: 11.98 kB / 0.6001 GB, free: 4.109 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.5613, allocations: 4 kB / 0.6002 GB, free: 4.105 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.5613, allocations: 3.828 kB / 0.6002 GB, free: 4.105 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002834/0.5616, allocations: 263.6 kB / 0.6004 GB, free: 3.832 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.541e-05/0.5617, allocations: 89.2 kB / 0.6005 GB, free: 3.727 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.5617, allocations: 3.938 kB / 0.6005 GB, free: 3.723 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.111e-05/0.5618, allocations: 12 kB / 0.6005 GB, free: 3.711 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.033e-05/0.5619, allocations: 19.97 kB / 0.6005 GB, free: 3.691 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.5619, allocations: 11.94 kB / 0.6005 GB, free: 3.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.626e-05/0.5619, allocations: 87.23 kB / 0.6006 GB, free: 3.594 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5619, allocations: 0 / 0.6006 GB, free: 3.594 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002493/0.5622, allocations: 47.75 kB / 0.6007 GB, free: 3.547 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.0001184/0.5623, allocations: 95.25 kB / 0.6008 GB, free: 3.441 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001921/0.5625, allocations: 123.9 kB / 0.6009 GB, free: 3.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.5625, allocations: 0 / 0.6009 GB, free: 3.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.992e-05/0.5626, allocations: 67.88 kB / 0.6009 GB, free: 3.254 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001265/0.5627, allocations: 13.41 kB / 0.601 GB, free: 3.242 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000412/0.5632, allocations: 232.1 kB / 0.6012 GB, free: 2.996 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002397/0.5634, allocations: 0.7324 MB / 0.6019 GB, free: 2.234 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001695/0.5636, allocations: 21.19 kB / 0.6019 GB, free: 2.215 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.691e-05/0.5636, allocations: 15.44 kB / 0.6019 GB, free: 2.199 MB / 410.7 MB Notification: Performance of SimCode: time 2.8e-07/0.5637, allocations: 4 kB / 0.6019 GB, free: 2.195 MB / 410.7 MB Notification: Performance of Templates: time 0.002699/0.5664, allocations: 0.8205 MB / 0.6027 GB, free: 1.383 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