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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 118.4 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 183.8 kB / 18.72 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2018/0.2018, allocations: 44.19 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 63.91 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.3631, allocations: 60.81 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003002/0.3661, allocations: 2.107 MB / 0.521 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001829/0.3679, allocations: 1.31 MB / 0.5223 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.087e-05/0.368, allocations: 4.406 kB / 0.5223 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.706e-05/0.368, allocations: 25.45 kB / 0.5223 GB, free: 1.195 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001196/0.3682, allocations: 39.44 kB / 0.5223 GB, free: 1.164 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004309/0.3686, allocations: 179.5 kB / 0.5225 GB, free: 1.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001811/0.3688, allocations: 179 kB / 0.5227 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/0.369, allocations: 87.59 kB / 0.5227 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.3691, allocations: 69.25 kB / 0.5228 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.962e-05/0.3692, allocations: 95.58 kB / 0.5229 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.885e-05/0.3692, allocations: 15.5 kB / 0.5229 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002807/0.3695, allocations: 150.3 kB / 0.5231 GB, free: 0.793 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.171e-05/0.3695, allocations: 37.25 kB / 0.5231 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.376e-05/0.3696, allocations: 94.33 kB / 0.5232 GB, free: 0.707 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003999/0.37, allocations: 319.4 kB / 0.5235 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.37, allocations: 1.094 kB / 0.5235 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.37, allocations: 0 / 0.5235 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.37, allocations: 4 kB / 0.5235 GB, free: 0.5625 MB / 382.1 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.0005199/0.3705, allocations: 0.5288 MB / 0.524 GB, free: 88 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.3705, allocations: 9 kB / 0.524 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008441/0.3714, allocations: 66.12 kB / 0.5241 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.3716, allocations: 179.8 kB / 0.5243 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/0.3716, allocations: 27.06 kB / 0.5243 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.527e-05/0.3716, allocations: 25.53 kB / 0.5243 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004447/0.3721, allocations: 206 kB / 0.5245 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.3721, allocations: 0 / 0.5245 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.544e-05/0.3721, allocations: 10.19 kB / 0.5245 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.3721, allocations: 6.719 kB / 0.5245 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000314/0.3724, allocations: 147.1 kB / 0.5247 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009832/0.3734, allocations: 0.591 MB / 0.5252 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005831/0.374, allocations: 221.6 kB / 0.5254 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001528/0.3741, allocations: 64.7 kB / 0.5255 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.182e-05/0.3742, allocations: 7.328 kB / 0.5255 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.3742, allocations: 37.03 kB / 0.5255 GB, free: 15.13 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 1.853e-06/0.3742, allocations: 0 / 0.5255 GB, free: 15.13 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.0005375/0.3748, allocations: 215.7 kB / 0.5258 GB, free: 15.04 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.3748, allocations: 54.72 kB / 0.5258 GB, free: 14.98 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.983e-05/0.3749, allocations: 107.4 kB / 0.5259 GB, free: 14.88 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.3749, allocations: 31.08 kB / 0.5259 GB, free: 14.84 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.396e-05/0.375, allocations: 133 kB / 0.5261 GB, free: 14.72 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.987e-05/0.3751, allocations: 96.55 kB / 0.5262 GB, free: 14.64 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.06e-05/0.3751, allocations: 42.41 kB / 0.5262 GB, free: 14.61 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.3753, allocations: 325.5 kB / 0.5265 GB, free: 14.29 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.3754, allocations: 46.92 kB / 0.5266 GB, free: 14.28 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.3755, allocations: 49.2 kB / 0.5266 GB, free: 14.26 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002661/0.3758, allocations: 118.2 kB / 0.5267 GB, free: 14.21 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.3758, allocations: 0 / 0.5267 GB, free: 14.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003046/0.3761, allocations: 164.1 kB / 0.5269 GB, free: 14.14 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.3761, allocations: 8.312 kB / 0.5269 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3761, allocations: 0.8906 kB / 0.5269 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.3761, allocations: 1.375 kB / 0.5269 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003701/0.3765, allocations: 105.9 kB / 0.527 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.3765, allocations: 1.938 kB / 0.527 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.814e-05/0.3766, allocations: 20.81 kB / 0.527 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.3766, allocations: 4.688 kB / 0.527 GB, free: 14.11 MB / 398.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001033/0.3767, allocations: 129.4 kB / 0.5271 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.747e-05/0.3767, allocations: 17.34 kB / 0.5271 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.561e-05/0.3768, allocations: 23.25 kB / 0.5272 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.3768, allocations: 6.75 kB / 0.5272 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.3768, allocations: 0.7969 kB / 0.5272 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.3768, allocations: 6.859 kB / 0.5272 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002973/0.3771, allocations: 269.1 kB / 0.5274 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.3771, allocations: 3.938 kB / 0.5274 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003514/0.3774, allocations: 106.2 kB / 0.5275 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.952e-06/0.3775, allocations: 5.156 kB / 0.5275 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.3775, allocations: 6.281 kB / 0.5276 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3775, allocations: 0 / 0.5276 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3775, allocations: 1.656 kB / 0.5276 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003479/0.3778, allocations: 264.8 kB / 0.5278 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.21e-05/0.3779, allocations: 97.06 kB / 0.5279 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.565e-05/0.3779, allocations: 5.531 kB / 0.5279 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.1e-05/0.378, allocations: 4.297 kB / 0.5279 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.558e-05/0.3781, allocations: 21 kB / 0.5279 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.3781, allocations: 5.312 kB / 0.5279 GB, free: 13.38 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.727e-05/0.3781, allocations: 84.7 kB / 0.528 GB, free: 13.3 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3781, allocations: 0 / 0.528 GB, free: 13.3 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000317/0.3784, allocations: 54.7 kB / 0.5281 GB, free: 13.28 MB / 398.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001075/0.3786, allocations: 93.8 kB / 0.5282 GB, free: 13.2 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003271/0.3789, allocations: 129.7 kB / 0.5283 GB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3789, allocations: 4 kB / 0.5283 GB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.379, allocations: 76.88 kB / 0.5284 GB, free: 13.13 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/0.3793, allocations: 14.61 kB / 0.5284 GB, free: 13.12 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007835/0.3801, allocations: 486.9 kB / 0.5288 GB, free: 12.79 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.3803, allocations: 0.7282 MB / 0.5295 GB, free: 12.07 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.306e-05/0.3804, allocations: 19.47 kB / 0.5296 GB, free: 12.05 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.553e-05/0.3805, allocations: 16.5 kB / 0.5296 GB, free: 12.05 MB / 398.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3805, allocations: 0 / 0.5296 GB, free: 12.05 MB / 398.1 MB Notification: Performance of Templates: time 0.003441/0.3839, allocations: 0.9576 MB / 0.5305 GB, free: 11.56 MB / 398.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches