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.001042/0.001042, allocations: 92.72 kB / 17.35 MB, free: 6.375 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.0009784/0.0009786, allocations: 181.8 kB / 18.26 MB, free: 5.52 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.401/1.401, allocations: 223.3 MB / 242.3 MB, free: 244 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.1832/0.1832, allocations: 44.25 MB / 337.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003653/0.0003655, allocations: 8 kB / 410.3 MB, free: 27.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1435, allocations: 61.93 MB / 472.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003072/0.1467, allocations: 1.783 MB / 474 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00247/0.1492, allocations: 1.305 MB / 475.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001926/0.1494, allocations: 4 kB / 475.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.733e-05/0.1495, allocations: 15.8 kB / 475.4 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002061/0.1497, allocations: 23.83 kB / 475.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007626/0.1505, allocations: 163.5 kB / 475.5 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003616/0.1509, allocations: 160.1 kB / 475.7 MB, free: 9.902 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002583/0.1511, allocations: 95.58 kB / 475.8 MB, free: 9.809 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.1513, allocations: 51.72 kB / 475.8 MB, free: 9.758 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.1514, allocations: 75.56 kB / 475.9 MB, free: 9.684 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.1514, allocations: 4 kB / 475.9 MB, free: 9.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003268/0.1518, allocations: 139.9 kB / 476 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.124e-05/0.1518, allocations: 31.84 kB / 476.1 MB, free: 9.512 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.853e-05/0.1519, allocations: 97.19 kB / 476.2 MB, free: 9.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003927/0.1523, allocations: 283.2 kB / 476.5 MB, free: 9.133 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1524, allocations: 0 / 476.5 MB, free: 9.133 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.562e-06/0.1524, allocations: 3.938 kB / 476.5 MB, free: 9.129 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.1524, allocations: 0 / 476.5 MB, free: 9.129 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.0006331/0.153, allocations: 495.3 kB / 476.9 MB, free: 8.598 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.1531, allocations: 12.02 kB / 476.9 MB, free: 8.586 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008487/0.1539, allocations: 72.61 kB / 477 MB, free: 8.516 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.1541, allocations: 180.2 kB / 477.2 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.044e-05/0.1542, allocations: 20.94 kB / 477.2 MB, free: 8.281 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.423e-05/0.1542, allocations: 24.38 kB / 477.2 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003799/0.1546, allocations: 217.1 kB / 477.5 MB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.1546, allocations: 0 / 477.5 MB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.464e-05/0.1546, allocations: 12 kB / 477.5 MB, free: 8.027 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.1547, allocations: 4 kB / 477.5 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002701/0.1549, allocations: 146.2 kB / 477.6 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009649/0.1559, allocations: 0.5966 MB / 478.2 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005421/0.1565, allocations: 223.4 kB / 478.4 MB, free: 7.008 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.1566, allocations: 73.3 kB / 478.5 MB, free: 6.934 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.1567, allocations: 4.172 kB / 478.5 MB, free: 6.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.1567, allocations: 50.73 kB / 478.6 MB, free: 6.871 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.533e-06/0.1567, allocations: 0 / 478.6 MB, free: 6.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004676/0.1572, allocations: 219.1 kB / 478.8 MB, free: 6.652 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/0.1572, allocations: 59.34 kB / 478.8 MB, free: 6.582 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.977e-05/0.1573, allocations: 101.8 kB / 478.9 MB, free: 6.473 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.1573, allocations: 33.7 kB / 479 MB, free: 6.434 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.024e-05/0.1574, allocations: 140.5 kB / 479.1 MB, free: 6.293 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.015e-05/0.1575, allocations: 90.64 kB / 479.2 MB, free: 6.203 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.87e-05/0.1575, allocations: 21.72 kB / 479.2 MB, free: 6.176 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.1577, allocations: 322.8 kB / 479.5 MB, free: 5.852 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.756e-05/0.1578, allocations: 47.95 kB / 479.6 MB, free: 5.805 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.1579, allocations: 43.98 kB / 479.6 MB, free: 5.762 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002114/0.1581, allocations: 130.2 kB / 479.7 MB, free: 5.633 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1581, allocations: 0 / 479.7 MB, free: 5.633 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002894/0.1584, allocations: 173.5 kB / 479.9 MB, free: 5.457 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.1584, allocations: 4 kB / 479.9 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.1584, allocations: 3.938 kB / 479.9 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.1585, allocations: 4 kB / 479.9 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000364/0.1588, allocations: 103.9 kB / 480 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.1588, allocations: 0 / 480 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.941e-05/0.1589, allocations: 15.84 kB / 480 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.1589, allocations: 4 kB / 480 MB, free: 5.324 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001158/0.1591, allocations: 129.8 kB / 480.2 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.657e-05/0.1591, allocations: 19.75 kB / 480.2 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.015e-05/0.1592, allocations: 29.11 kB / 480.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.1592, allocations: 0 / 480.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.1592, allocations: 4 kB / 480.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.1592, allocations: 0 / 480.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003762/0.1596, allocations: 269.4 kB / 480.5 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1596, allocations: 3.938 kB / 480.5 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003711/0.16, allocations: 103.9 kB / 480.6 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.16, allocations: 4 kB / 480.6 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.16, allocations: 7.984 kB / 480.6 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.16, allocations: 0 / 480.6 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.16, allocations: 0 / 480.6 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003363/0.1604, allocations: 279.4 kB / 480.9 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.683e-05/0.1604, allocations: 96.88 kB / 481 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.1605, allocations: 4 kB / 481 MB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.479e-05/0.1606, allocations: 8 kB / 481 MB, free: 4.297 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.667e-05/0.1606, allocations: 11.98 kB / 481 MB, free: 4.285 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.133e-05/0.1607, allocations: 11.98 kB / 481 MB, free: 4.273 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.066e-05/0.1607, allocations: 83.53 kB / 481.1 MB, free: 4.191 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1607, allocations: 0 / 481.1 MB, free: 4.191 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002964/0.161, allocations: 51.75 kB / 481.1 MB, free: 4.141 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 (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.0001397/0.1612, allocations: 107.7 kB / 481.2 MB, free: 4.027 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000429/0.1616, allocations: 144.2 kB / 481.4 MB, free: 3.887 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1616, allocations: 0 / 481.4 MB, free: 3.887 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.1617, allocations: 79.91 kB / 481.5 MB, free: 3.809 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.162, allocations: 7.938 kB / 481.5 MB, free: 3.801 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008313/0.1628, allocations: 0.6186 MB / 482.1 MB, free: 3.152 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.1632, allocations: 0.7322 MB / 482.8 MB, free: 2.395 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001157/0.1633, allocations: 13.42 kB / 482.8 MB, free: 2.379 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.468e-05/0.1634, allocations: 15.44 kB / 482.8 MB, free: 2.363 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1634, allocations: 0 / 482.8 MB, free: 2.363 MB / 350.1 MB Notification: Performance of Templates: time 0.003729/0.1671, allocations: 0.8498 MB / 483.7 MB, free: 1.516 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","/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