Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Blocks.ConversionBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001254/0.001254, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.443/1.443, allocations: 205.3 MB / 213.7 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008052/0.0008055, allocations: 94.61 kB / 261.8 MB, free: 1.609 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2028/0.2028, allocations: 43.5 MB / 353.2 MB, free: 268 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.871e-05/1.873e-05, allocations: 0 / 418.2 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1342, allocations: 58.86 MB / 477.1 MB, free: 1.641 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4047/0.539, allocations: 88.41 MB / 0.5523 GB, free: 6.91 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001925/0.5392, allocations: 67.91 kB / 0.5523 GB, free: 6.879 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01382/0.5531, allocations: 6.044 MB / 0.5582 GB, free: 1.879 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.5531, allocations: 0 / 0.5582 GB, free: 1.879 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.287e-06/0.5531, allocations: 4 kB / 0.5582 GB, free: 1.875 MB / 362.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.0004493/0.5536, allocations: 481.8 kB / 0.5587 GB, free: 1.375 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.5537, allocations: 8.031 kB / 0.5587 GB, free: 1.367 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006876/0.5543, allocations: 67.67 kB / 0.5588 GB, free: 1.301 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.5545, allocations: 189.4 kB / 0.5589 GB, free: 1.078 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.5545, allocations: 8 kB / 0.5589 GB, free: 1.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.5545, allocations: 16 kB / 0.559 GB, free: 1.055 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002117/0.5547, allocations: 120 kB / 0.5591 GB, free: 0.9688 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002226/0.555, allocations: 148.2 kB / 0.5592 GB, free: 0.8438 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.555, allocations: 4 kB / 0.5592 GB, free: 0.8398 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.555, allocations: 0 / 0.5592 GB, free: 0.8398 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.555, allocations: 4 kB / 0.5592 GB, free: 0.8359 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006514/0.5557, allocations: 0.5433 MB / 0.5598 GB, free: 328 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003878/0.5561, allocations: 197.7 kB / 0.5599 GB, free: 160 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.239e-05/0.5562, allocations: 55.81 kB / 0.56 GB, free: 116 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/0.5562, allocations: 4.234 kB / 0.56 GB, free: 112 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.327e-05/0.5562, allocations: 38.55 kB / 0.56 GB, free: 68 kB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 1.193e-06/0.5562, allocations: 0 / 0.56 GB, free: 68 kB / 362.7 MB Notification: Performance of matching and sorting (n=27): time 0.0002728/0.5565, allocations: 144.9 kB / 0.5602 GB, free: 15.94 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.5565, allocations: 55.41 kB / 0.5602 GB, free: 15.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.383e-05/0.5566, allocations: 92.56 kB / 0.5603 GB, free: 15.78 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.5567, allocations: 25.7 kB / 0.5603 GB, free: 15.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.483e-05/0.5567, allocations: 131.5 kB / 0.5605 GB, free: 15.62 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.937e-05/0.5568, allocations: 88.66 kB / 0.5606 GB, free: 15.55 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.684e-06/0.5568, allocations: 0 / 0.5606 GB, free: 15.55 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.5569, allocations: 326.3 kB / 0.5609 GB, free: 15.22 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.918e-05/0.557, allocations: 33.66 kB / 0.5609 GB, free: 15.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.822e-05/0.5571, allocations: 33.31 kB / 0.5609 GB, free: 15.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.459e-05/0.5571, allocations: 42.27 kB / 0.561 GB, free: 15.15 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.5571, allocations: 0.8438 kB / 0.561 GB, free: 15.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000184/0.5573, allocations: 134.7 kB / 0.5611 GB, free: 15.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.433e-05/0.5574, allocations: 11.94 kB / 0.5611 GB, free: 15.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.5574, allocations: 0 / 0.5611 GB, free: 15.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.5574, allocations: 0 / 0.5611 GB, free: 15.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003691/0.5578, allocations: 103.6 kB / 0.5612 GB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.5578, allocations: 0 / 0.5612 GB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.067e-05/0.5579, allocations: 15.84 kB / 0.5612 GB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.5579, allocations: 4 kB / 0.5612 GB, free: 14.91 MB / 378.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.477e-05/0.558, allocations: 108.9 kB / 0.5613 GB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.359e-05/0.558, allocations: 22.77 kB / 0.5614 GB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.589e-05/0.5581, allocations: 24 kB / 0.5614 GB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.5581, allocations: 3.984 kB / 0.5614 GB, free: 14.76 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.5581, allocations: 0 / 0.5614 GB, free: 14.76 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.5581, allocations: 0 / 0.5614 GB, free: 14.76 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002118/0.5583, allocations: 210.9 kB / 0.5616 GB, free: 14.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.5583, allocations: 4 kB / 0.5616 GB, free: 14.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003455/0.5587, allocations: 106.2 kB / 0.5617 GB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.5587, allocations: 0 / 0.5617 GB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.5587, allocations: 3.984 kB / 0.5617 GB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.5587, allocations: 3.953 kB / 0.5617 GB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.5587, allocations: 4.25 kB / 0.5617 GB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/0.559, allocations: 239.1 kB / 0.5619 GB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.117e-05/0.559, allocations: 88.95 kB / 0.562 GB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.559, allocations: 8 kB / 0.562 GB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.102e-05/0.5591, allocations: 4 kB / 0.562 GB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.938e-05/0.5592, allocations: 23.23 kB / 0.562 GB, free: 14.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.5592, allocations: 11.94 kB / 0.5621 GB, free: 14.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.194e-05/0.5592, allocations: 82.34 kB / 0.5621 GB, free: 13.97 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5592, allocations: 0 / 0.5621 GB, free: 13.97 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002361/0.5595, allocations: 39.75 kB / 0.5622 GB, free: 13.93 MB / 378.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 9.575e-05/0.5596, allocations: 91.25 kB / 0.5623 GB, free: 13.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001771/0.5598, allocations: 113.1 kB / 0.5624 GB, free: 13.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.5598, allocations: 0 / 0.5624 GB, free: 13.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.435e-05/0.5599, allocations: 64.75 kB / 0.5624 GB, free: 13.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000141/0.56, allocations: 7.688 kB / 0.5624 GB, free: 13.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000388/0.5604, allocations: 214.4 kB / 0.5626 GB, free: 13.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.5607, allocations: 0.7399 MB / 0.5634 GB, free: 12.71 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001071/0.5608, allocations: 13.2 kB / 0.5634 GB, free: 12.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.262e-05/0.5608, allocations: 15.44 kB / 0.5634 GB, free: 12.69 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5609, allocations: 0 / 0.5634 GB, free: 12.69 MB / 378.7 MB Notification: Performance of Templates: time 0.00273/0.5636, allocations: 0.8056 MB / 0.5642 GB, free: 11.89 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches