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.001044/0.001045, allocations: 90.34 kB / 16.98 MB, free: 5.938 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.001079/0.001079, allocations: 185.8 kB / 17.88 MB, free: 5.594 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.397/1.397, allocations: 223.2 MB / 241.8 MB, free: 364 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2195/0.2195, allocations: 44.23 MB / 337.1 MB, free: 2.902 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003633/0.0003633, allocations: 8 kB / 409.5 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1422, allocations: 61.91 MB / 471.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.002138/0.1444, allocations: 1.725 MB / 473.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001753/0.1462, allocations: 1.146 MB / 474.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.048e-05/0.1463, allocations: 4 kB / 474.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.674e-05/0.1463, allocations: 19.78 kB / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001198/0.1464, allocations: 27.95 kB / 474.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003878/0.1468, allocations: 155.5 kB / 474.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001545/0.147, allocations: 112.4 kB / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002103/0.1472, allocations: 77.53 kB / 474.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.1473, allocations: 55.72 kB / 474.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.1475, allocations: 67.61 kB / 474.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.1475, allocations: 12 kB / 474.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002543/0.1477, allocations: 119.8 kB / 474.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.344e-05/0.1478, allocations: 31.84 kB / 475 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.702e-05/0.1478, allocations: 53.58 kB / 475 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002842/0.1481, allocations: 211.7 kB / 475.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1481, allocations: 3.938 kB / 475.2 MB, free: 9.926 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1481, allocations: 0 / 475.2 MB, free: 9.926 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.236e-06/0.1482, allocations: 0 / 475.2 MB, free: 9.926 MB / 350.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.0006071/0.1488, allocations: 487.2 kB / 475.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.1488, allocations: 16.02 kB / 475.7 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008637/0.1497, allocations: 63.67 kB / 475.8 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.1499, allocations: 186.8 kB / 476 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.969e-05/0.1499, allocations: 20.56 kB / 476 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.221e-05/0.1499, allocations: 24 kB / 476 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003745/0.1503, allocations: 204.8 kB / 476.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.1503, allocations: 0 / 476.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.229e-05/0.1504, allocations: 12 kB / 476.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.1504, allocations: 8 kB / 476.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002618/0.1506, allocations: 142.2 kB / 476.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000856/0.1515, allocations: 0.6045 MB / 477 MB, free: 8.035 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005124/0.152, allocations: 230.4 kB / 477.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.802e-05/0.1521, allocations: 8.172 kB / 477.2 MB, free: 7.797 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.1521, allocations: 34.8 kB / 477.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.403e-06/0.1521, allocations: 0 / 477.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004672/0.1526, allocations: 227.6 kB / 477.5 MB, free: 7.527 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.1526, allocations: 55.34 kB / 477.5 MB, free: 7.461 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.1527, allocations: 105.8 kB / 477.6 MB, free: 7.348 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.1528, allocations: 29.7 kB / 477.7 MB, free: 7.312 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.705e-05/0.1529, allocations: 136.5 kB / 477.8 MB, free: 7.176 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.446e-05/0.1529, allocations: 94.64 kB / 477.9 MB, free: 7.082 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.02e-05/0.153, allocations: 8 kB / 477.9 MB, free: 7.074 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.1531, allocations: 322.8 kB / 478.2 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.437e-05/0.1532, allocations: 39.98 kB / 478.2 MB, free: 6.711 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.1533, allocations: 51.95 kB / 478.3 MB, free: 6.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.1534, allocations: 45.41 kB / 478.3 MB, free: 6.617 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.1534, allocations: 0 / 478.3 MB, free: 6.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003073/0.1538, allocations: 173.5 kB / 478.5 MB, free: 6.441 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.1538, allocations: 4 kB / 478.5 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.1538, allocations: 7.984 kB / 478.5 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.1538, allocations: 0 / 478.5 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003661/0.1542, allocations: 103.8 kB / 478.6 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.1542, allocations: 4 kB / 478.6 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.86e-05/0.1543, allocations: 23.83 kB / 478.7 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.1543, allocations: 4 kB / 478.7 MB, free: 6.297 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001543/0.1545, allocations: 130.3 kB / 478.8 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/0.1545, allocations: 7.906 kB / 478.8 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.308e-05/0.1546, allocations: 21.12 kB / 478.8 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.1546, allocations: 7.938 kB / 478.8 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/0.1546, allocations: 3.953 kB / 478.8 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.1546, allocations: 4 kB / 478.8 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003059/0.1549, allocations: 265.4 kB / 479.1 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.1549, allocations: 0 / 479.1 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003674/0.1553, allocations: 107.9 kB / 479.2 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1553, allocations: 0 / 479.2 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.1553, allocations: 0 / 479.2 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.169e-06/0.1554, allocations: 4 kB / 479.2 MB, free: 5.703 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.1554, allocations: 7.938 kB / 479.2 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003749/0.1557, allocations: 279.2 kB / 479.5 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.533e-05/0.1558, allocations: 88.95 kB / 479.6 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.1558, allocations: 0 / 479.6 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.708e-05/0.1559, allocations: 8 kB / 479.6 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.2e-05/0.156, allocations: 27.95 kB / 479.6 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.156, allocations: 4.25 kB / 479.6 MB, free: 5.262 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.555e-05/0.1561, allocations: 91.22 kB / 479.7 MB, free: 5.172 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1561, allocations: 0 / 479.7 MB, free: 5.172 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002683/0.1564, allocations: 51.7 kB / 479.7 MB, free: 5.121 MB / 350.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 (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.0001472/0.1565, allocations: 95.25 kB / 479.8 MB, free: 5.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002803/0.1568, allocations: 135.9 kB / 480 MB, free: 4.887 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1568, allocations: 4 kB / 480 MB, free: 4.883 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.157, allocations: 80.78 kB / 480.1 MB, free: 4.805 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001598/0.1571, allocations: 11.03 kB / 480.1 MB, free: 4.797 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007953/0.1579, allocations: 0.5996 MB / 480.7 MB, free: 4.168 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/0.1583, allocations: 0.7402 MB / 481.4 MB, free: 3.402 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001044/0.1584, allocations: 9.422 kB / 481.4 MB, free: 3.391 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.457e-05/0.1585, allocations: 23.44 kB / 481.4 MB, free: 3.367 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1585, allocations: 0 / 481.4 MB, free: 3.367 MB / 350.1 MB Notification: Performance of Templates: time 0.00307/0.1615, allocations: 0.8004 MB / 482.2 MB, free: 2.566 MB / 350.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","../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches