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/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 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 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 107.9 kB / 16.41 MB, free: 6.445 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.001394/0.001395, allocations: 189.5 kB / 17.34 MB, free: 5.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.508/1.508, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1981/0.1981, allocations: 43.53 MB / 314.1 MB, free: 444 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 73.45 kB / 441.8 MB, free: 5.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1328, allocations: 57.79 MB / 499.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.005279/0.1382, allocations: 2.093 MB / 0.4899 GB, free: 9.664 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00219/0.1404, allocations: 1.306 MB / 0.4912 GB, free: 8.348 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.583e-05/0.1406, allocations: 7.938 kB / 0.4912 GB, free: 8.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.036e-05/0.1406, allocations: 23.73 kB / 0.4912 GB, free: 8.316 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000145/0.1408, allocations: 35.66 kB / 0.4913 GB, free: 8.281 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005189/0.1413, allocations: 183.3 kB / 0.4915 GB, free: 8.102 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002848/0.1416, allocations: 180.1 kB / 0.4916 GB, free: 7.922 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000276/0.1419, allocations: 111.2 kB / 0.4917 GB, free: 7.812 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.1421, allocations: 75.66 kB / 0.4918 GB, free: 7.738 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.1422, allocations: 91.53 kB / 0.4919 GB, free: 7.648 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.939e-05/0.1422, allocations: 16 kB / 0.4919 GB, free: 7.633 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003464/0.1426, allocations: 151.9 kB / 0.4921 GB, free: 7.484 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.862e-05/0.1426, allocations: 43.78 kB / 0.4921 GB, free: 7.441 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001364/0.1428, allocations: 91.47 kB / 0.4922 GB, free: 7.352 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003748/0.1432, allocations: 306.9 kB / 0.4925 GB, free: 7.051 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1432, allocations: 0 / 0.4925 GB, free: 7.051 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1432, allocations: 0 / 0.4925 GB, free: 7.051 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.203e-05/0.1432, allocations: 0 / 0.4925 GB, free: 7.051 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.0006094/0.1438, allocations: 0.5265 MB / 0.493 GB, free: 6.477 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.1439, allocations: 12.03 kB / 0.493 GB, free: 6.465 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000835/0.1447, allocations: 72.55 kB / 0.4931 GB, free: 6.395 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.1449, allocations: 184.1 kB / 0.4932 GB, free: 6.176 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.1449, allocations: 16.94 kB / 0.4933 GB, free: 6.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.076e-05/0.1449, allocations: 24.38 kB / 0.4933 GB, free: 6.137 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003921/0.1453, allocations: 209.2 kB / 0.4935 GB, free: 5.922 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.1453, allocations: 0 / 0.4935 GB, free: 5.922 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.258e-05/0.1454, allocations: 12 kB / 0.4935 GB, free: 5.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.1454, allocations: 4 kB / 0.4935 GB, free: 5.906 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002621/0.1457, allocations: 150.1 kB / 0.4936 GB, free: 5.762 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008275/0.1465, allocations: 0.5927 MB / 0.4942 GB, free: 5.117 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005057/0.147, allocations: 239.3 kB / 0.4945 GB, free: 4.875 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001282/0.1471, allocations: 69.3 kB / 0.4945 GB, free: 4.805 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.1472, allocations: 4.172 kB / 0.4945 GB, free: 4.801 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.1472, allocations: 38.8 kB / 0.4946 GB, free: 4.754 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 1.242e-06/0.1472, allocations: 0 / 0.4946 GB, free: 4.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004409/0.1477, allocations: 218.2 kB / 0.4948 GB, free: 4.535 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.1477, allocations: 51.41 kB / 0.4948 GB, free: 4.473 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.491e-05/0.1478, allocations: 105.8 kB / 0.4949 GB, free: 4.359 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.1478, allocations: 29.7 kB / 0.4949 GB, free: 4.324 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.454e-05/0.1479, allocations: 136.5 kB / 0.4951 GB, free: 4.188 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.137e-05/0.148, allocations: 94.64 kB / 0.4952 GB, free: 4.094 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.934e-05/0.1481, allocations: 41.64 kB / 0.4952 GB, free: 4.047 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.1482, allocations: 322.8 kB / 0.4955 GB, free: 3.723 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.082e-05/0.1483, allocations: 43.98 kB / 0.4956 GB, free: 3.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.389e-05/0.1484, allocations: 48.22 kB / 0.4956 GB, free: 3.633 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001949/0.1486, allocations: 122.2 kB / 0.4957 GB, free: 3.512 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.1486, allocations: 4 kB / 0.4957 GB, free: 3.508 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003034/0.1489, allocations: 169.4 kB / 0.4959 GB, free: 3.336 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.1489, allocations: 4 kB / 0.4959 GB, free: 3.332 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.1489, allocations: 0 / 0.4959 GB, free: 3.332 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.149, allocations: 4 kB / 0.4959 GB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000347/0.1493, allocations: 99.89 kB / 0.496 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.1493, allocations: 4 kB / 0.496 GB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.786e-05/0.1494, allocations: 15.89 kB / 0.496 GB, free: 3.211 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.1494, allocations: 4 kB / 0.496 GB, free: 3.207 MB / 382.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.0001611/0.1496, allocations: 137.7 kB / 0.4961 GB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.617e-05/0.1496, allocations: 11.84 kB / 0.4962 GB, free: 3.051 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.448e-05/0.1497, allocations: 21.12 kB / 0.4962 GB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.1497, allocations: 4 kB / 0.4962 GB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.1497, allocations: 0 / 0.4962 GB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.1497, allocations: 7.922 kB / 0.4962 GB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002814/0.15, allocations: 257.5 kB / 0.4964 GB, free: 2.715 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.15, allocations: 11.88 kB / 0.4964 GB, free: 2.703 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000338/0.1504, allocations: 99.94 kB / 0.4965 GB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.1504, allocations: 4 kB / 0.4965 GB, free: 2.602 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.35e-05/0.1504, allocations: 4 kB / 0.4965 GB, free: 2.598 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.1504, allocations: 3.984 kB / 0.4965 GB, free: 2.594 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1504, allocations: 0 / 0.4965 GB, free: 2.594 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003182/0.1508, allocations: 279.2 kB / 0.4968 GB, free: 2.305 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.101e-05/0.1508, allocations: 96.89 kB / 0.4969 GB, free: 2.191 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.1508, allocations: 4 kB / 0.4969 GB, free: 2.188 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.94e-05/0.1509, allocations: 11.98 kB / 0.4969 GB, free: 2.176 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.7e-05/0.151, allocations: 11.98 kB / 0.4969 GB, free: 2.164 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.151, allocations: 4 kB / 0.4969 GB, free: 2.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.223e-05/0.1511, allocations: 83.28 kB / 0.497 GB, free: 2.078 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1511, allocations: 0 / 0.497 GB, free: 2.078 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002668/0.1513, allocations: 51.78 kB / 0.4971 GB, free: 2.027 MB / 382.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.0001019/0.1514, allocations: 111.1 kB / 0.4972 GB, free: 1.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004108/0.1519, allocations: 132.3 kB / 0.4973 GB, free: 1.781 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1519, allocations: 0 / 0.4973 GB, free: 1.781 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.152, allocations: 79.91 kB / 0.4974 GB, free: 1.703 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.1522, allocations: 11.92 kB / 0.4974 GB, free: 1.691 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007294/0.153, allocations: 471.4 kB / 0.4978 GB, free: 1.203 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.1533, allocations: 0.7319 MB / 0.4985 GB, free: 456 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.478e-05/0.1534, allocations: 17.41 kB / 0.4986 GB, free: 440 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.909e-05/0.1534, allocations: 23.42 kB / 0.4986 GB, free: 416 kB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1534, allocations: 0 / 0.4986 GB, free: 416 kB / 382.1 MB Notification: Performance of Templates: time 0.003401/0.1568, allocations: 0.9532 MB / 0.4995 GB, free: 15.45 MB / 398.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches