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.001082/0.001082, allocations: 183.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.6/1.6, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008783/0.0008781, allocations: 86.88 kB / 270.2 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2176/0.2176, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003357/0.0003358, allocations: 12 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1312, allocations: 58.87 MB / 490.2 MB, free: 8.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4302/0.5614, allocations: 89.16 MB / 0.5658 GB, free: 10.67 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002218/0.5617, allocations: 64.91 kB / 0.5659 GB, free: 10.64 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01779/0.5795, allocations: 6.09 MB / 0.5718 GB, free: 5.348 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.716e-06/0.5796, allocations: 0 / 0.5718 GB, free: 5.348 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.5796, allocations: 4 kB / 0.5718 GB, free: 5.344 MB / 378.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.000723/0.5803, allocations: 493.4 kB / 0.5723 GB, free: 4.832 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.486e-05/0.5804, allocations: 12.03 kB / 0.5723 GB, free: 4.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008813/0.5813, allocations: 67.67 kB / 0.5724 GB, free: 4.754 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.5814, allocations: 182.8 kB / 0.5726 GB, free: 4.535 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/0.5815, allocations: 23.19 kB / 0.5726 GB, free: 4.523 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.63e-05/0.5815, allocations: 23 kB / 0.5726 GB, free: 4.508 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003733/0.5819, allocations: 198.4 kB / 0.5728 GB, free: 4.359 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.5819, allocations: 7.938 kB / 0.5728 GB, free: 4.352 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.413e-05/0.582, allocations: 14.5 kB / 0.5728 GB, free: 4.348 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.582, allocations: 4 kB / 0.5728 GB, free: 4.344 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000291/0.5823, allocations: 150.2 kB / 0.573 GB, free: 4.234 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009704/0.5832, allocations: 0.6063 MB / 0.5736 GB, free: 3.656 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000544/0.5838, allocations: 228 kB / 0.5738 GB, free: 3.469 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.5838, allocations: 8.172 kB / 0.5738 GB, free: 3.461 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.5839, allocations: 30.8 kB / 0.5738 GB, free: 3.422 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 1.493e-06/0.5839, allocations: 0 / 0.5738 GB, free: 3.422 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.0004653/0.5843, allocations: 223.5 kB / 0.574 GB, free: 3.246 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.5844, allocations: 51.41 kB / 0.5741 GB, free: 3.184 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.324e-05/0.5845, allocations: 103.9 kB / 0.5742 GB, free: 3.078 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.5845, allocations: 29.02 kB / 0.5742 GB, free: 3.047 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.01e-05/0.5846, allocations: 134.6 kB / 0.5743 GB, free: 2.914 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.213e-05/0.5847, allocations: 92.36 kB / 0.5744 GB, free: 2.836 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.668e-06/0.5847, allocations: 3.375 kB / 0.5744 GB, free: 2.836 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.5849, allocations: 314.5 kB / 0.5747 GB, free: 2.523 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.207e-05/0.585, allocations: 46.16 kB / 0.5748 GB, free: 2.488 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.832e-05/0.5851, allocations: 50.03 kB / 0.5748 GB, free: 2.449 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.951e-05/0.5852, allocations: 52.64 kB / 0.5749 GB, free: 2.418 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.5852, allocations: 0 / 0.5749 GB, free: 2.418 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002757/0.5855, allocations: 179.9 kB / 0.575 GB, free: 2.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.5855, allocations: 6.656 kB / 0.575 GB, free: 2.266 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.5855, allocations: 0 / 0.575 GB, free: 2.266 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.5856, allocations: 0 / 0.575 GB, free: 2.266 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000362/0.5859, allocations: 107.2 kB / 0.5751 GB, free: 2.164 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.586, allocations: 3.938 kB / 0.5751 GB, free: 2.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.778e-05/0.586, allocations: 15.03 kB / 0.5752 GB, free: 2.148 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.5861, allocations: 11.42 kB / 0.5752 GB, free: 2.141 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 () * 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.0001152/0.5862, allocations: 132.4 kB / 0.5753 GB, free: 2.012 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.402e-05/0.5862, allocations: 11.86 kB / 0.5753 GB, free: 2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.602e-05/0.5863, allocations: 26.31 kB / 0.5753 GB, free: 1.992 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.5863, allocations: 0 / 0.5753 GB, free: 1.992 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.5863, allocations: 4 kB / 0.5753 GB, free: 1.988 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.5863, allocations: 0 / 0.5753 GB, free: 1.988 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002951/0.5866, allocations: 267.9 kB / 0.5756 GB, free: 1.711 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.5866, allocations: 0 / 0.5756 GB, free: 1.711 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003385/0.587, allocations: 107.6 kB / 0.5757 GB, free: 1.609 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.716e-06/0.587, allocations: 7.953 kB / 0.5757 GB, free: 1.602 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.587, allocations: 7.562 kB / 0.5757 GB, free: 1.598 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.587, allocations: 0 / 0.5757 GB, free: 1.598 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.587, allocations: 0 / 0.5757 GB, free: 1.598 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003086/0.5873, allocations: 272.6 kB / 0.576 GB, free: 1.352 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.567e-05/0.5874, allocations: 96.61 kB / 0.5761 GB, free: 1.242 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.5874, allocations: 7.953 kB / 0.5761 GB, free: 1.234 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.672e-05/0.5875, allocations: 7.625 kB / 0.5761 GB, free: 1.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.955e-05/0.5876, allocations: 15.53 kB / 0.5761 GB, free: 1.219 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.5876, allocations: 12 kB / 0.5761 GB, free: 1.207 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.274e-05/0.5876, allocations: 86.72 kB / 0.5762 GB, free: 1.125 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5876, allocations: 0 / 0.5762 GB, free: 1.125 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002503/0.5879, allocations: 42.34 kB / 0.5762 GB, free: 1.09 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 () * 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.0001116/0.588, allocations: 106.6 kB / 0.5763 GB, free: 0.9805 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002699/0.5883, allocations: 134.3 kB / 0.5765 GB, free: 0.875 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5883, allocations: 0 / 0.5765 GB, free: 0.875 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.5884, allocations: 77.69 kB / 0.5765 GB, free: 0.8125 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001417/0.5886, allocations: 3.25 kB / 0.5765 GB, free: 0.8125 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008295/0.5894, allocations: 0.6003 MB / 0.5771 GB, free: 220 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003625/0.5898, allocations: 0.7402 MB / 0.5778 GB, free: 15.44 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001149/0.5899, allocations: 21.41 kB / 0.5779 GB, free: 15.42 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.532e-05/0.59, allocations: 15.44 kB / 0.5779 GB, free: 15.41 MB / 394.7 MB Notification: Performance of SimCode: time 1.593e-06/0.59, allocations: 0 / 0.5779 GB, free: 15.41 MB / 394.7 MB Notification: Performance of Templates: time 0.003028/0.593, allocations: 0.8136 MB / 0.5787 GB, free: 14.6 MB / 394.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