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.001137/0.001137, allocations: 170.9 kB / 16.76 MB, free: 5.055 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.635/1.635, allocations: 205.4 MB / 222.9 MB, free: 9.035 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.0007495/0.0007495, allocations: 82.38 kB / 271.3 MB, free: 8.266 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.4121/0.4121, allocations: 43.56 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005219/0.0005219, allocations: 12 kB / 432.6 MB, free: 5.215 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1277, allocations: 58.84 MB / 491.5 MB, free: 10.3 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3112/0.439, allocations: 89.21 MB / 0.5671 GB, free: 12.82 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001899/0.4392, allocations: 63.97 kB / 0.5671 GB, free: 12.75 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01621/0.4554, allocations: 6.105 MB / 0.5731 GB, free: 6.578 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.456e-06/0.4555, allocations: 0 / 0.5731 GB, free: 6.578 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.4555, allocations: 4.547 kB / 0.5731 GB, free: 6.574 MB / 394.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.0005538/0.4561, allocations: 490.7 kB / 0.5736 GB, free: 6.051 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.4561, allocations: 8.781 kB / 0.5736 GB, free: 6.043 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007743/0.4569, allocations: 68.61 kB / 0.5736 GB, free: 5.977 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.457, allocations: 188.1 kB / 0.5738 GB, free: 5.754 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.801e-05/0.4571, allocations: 24.94 kB / 0.5738 GB, free: 5.73 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.326e-05/0.4571, allocations: 24.38 kB / 0.5739 GB, free: 5.707 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003438/0.4575, allocations: 197.5 kB / 0.574 GB, free: 5.512 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.4575, allocations: 4.188 kB / 0.574 GB, free: 5.508 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.19e-05/0.4575, allocations: 11.94 kB / 0.5741 GB, free: 5.496 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-06/0.4575, allocations: 11.94 kB / 0.5741 GB, free: 5.484 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002758/0.4578, allocations: 154.1 kB / 0.5742 GB, free: 5.336 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009084/0.4587, allocations: 0.6005 MB / 0.5748 GB, free: 4.68 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005116/0.4593, allocations: 218.4 kB / 0.575 GB, free: 4.461 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001439/0.4594, allocations: 77.3 kB / 0.5751 GB, free: 4.383 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.4595, allocations: 240 / 0.5751 GB, free: 4.383 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.4595, allocations: 38.73 kB / 0.5751 GB, free: 4.336 MB / 394.7 MB Notification: Performance of pre-optimization done (n=27): time 1.173e-06/0.4595, allocations: 0 / 0.5751 GB, free: 4.336 MB / 394.7 MB Notification: Performance of matching and sorting (n=27): time 0.0004257/0.4599, allocations: 222.1 kB / 0.5753 GB, free: 4.117 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.46, allocations: 59.41 kB / 0.5754 GB, free: 4.047 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.046e-05/0.46, allocations: 105.8 kB / 0.5755 GB, free: 3.934 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.4601, allocations: 29.7 kB / 0.5755 GB, free: 3.898 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.336e-05/0.4601, allocations: 132.5 kB / 0.5756 GB, free: 3.766 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.03e-05/0.4602, allocations: 90.66 kB / 0.5757 GB, free: 3.676 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.025e-06/0.4602, allocations: 4 kB / 0.5757 GB, free: 3.672 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.4604, allocations: 322.8 kB / 0.576 GB, free: 3.348 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.248e-05/0.4605, allocations: 39.98 kB / 0.5761 GB, free: 3.309 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.56e-05/0.4605, allocations: 55.95 kB / 0.5761 GB, free: 3.254 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002006/0.4608, allocations: 114.2 kB / 0.5762 GB, free: 3.141 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4608, allocations: 0 / 0.5762 GB, free: 3.141 MB / 394.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002882/0.4611, allocations: 173.5 kB / 0.5764 GB, free: 2.965 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.4611, allocations: 7.938 kB / 0.5764 GB, free: 2.957 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.4611, allocations: 4 kB / 0.5764 GB, free: 2.953 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.4611, allocations: 0 / 0.5764 GB, free: 2.953 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003482/0.4615, allocations: 103.9 kB / 0.5765 GB, free: 2.852 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.4615, allocations: 0 / 0.5765 GB, free: 2.852 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.041e-05/0.4616, allocations: 19.83 kB / 0.5765 GB, free: 2.832 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.4616, allocations: 4 kB / 0.5765 GB, free: 2.828 MB / 394.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.0001103/0.4617, allocations: 129.8 kB / 0.5767 GB, free: 2.691 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.388e-05/0.4617, allocations: 12.09 kB / 0.5767 GB, free: 2.68 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.102e-05/0.4618, allocations: 25.12 kB / 0.5767 GB, free: 2.66 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.4618, allocations: 0 / 0.5767 GB, free: 2.66 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.4618, allocations: 4 kB / 0.5767 GB, free: 2.656 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.4618, allocations: 7.984 kB / 0.5767 GB, free: 2.648 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002721/0.4621, allocations: 265.4 kB / 0.577 GB, free: 2.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.4621, allocations: 3.938 kB / 0.577 GB, free: 2.336 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000343/0.4625, allocations: 103.9 kB / 0.5771 GB, free: 2.234 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.319e-06/0.4625, allocations: 7.875 kB / 0.5771 GB, free: 2.227 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.4625, allocations: 4 kB / 0.5771 GB, free: 2.223 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.4625, allocations: 0 / 0.5771 GB, free: 2.223 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.4625, allocations: 0 / 0.5771 GB, free: 2.223 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003035/0.4628, allocations: 283.5 kB / 0.5773 GB, free: 1.93 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.658e-05/0.4629, allocations: 96.83 kB / 0.5774 GB, free: 1.816 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.4629, allocations: 4 kB / 0.5774 GB, free: 1.812 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.189e-05/0.463, allocations: 4 kB / 0.5774 GB, free: 1.809 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/0.463, allocations: 23.95 kB / 0.5775 GB, free: 1.785 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-06/0.463, allocations: 4 kB / 0.5775 GB, free: 1.781 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.41e-05/0.4631, allocations: 83.28 kB / 0.5776 GB, free: 1.699 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4631, allocations: 8 kB / 0.5776 GB, free: 1.691 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002456/0.4633, allocations: 39.84 kB / 0.5776 GB, free: 1.652 MB / 394.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.0001016/0.4634, allocations: 111.2 kB / 0.5777 GB, free: 1.535 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002423/0.4637, allocations: 132.1 kB / 0.5778 GB, free: 1.406 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.4637, allocations: 0 / 0.5778 GB, free: 1.406 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000131/0.4638, allocations: 79.89 kB / 0.5779 GB, free: 1.328 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.4641, allocations: 14.67 kB / 0.5779 GB, free: 1.316 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007094/0.4648, allocations: 0.6013 MB / 0.5785 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.4651, allocations: 0.7322 MB / 0.5792 GB, free: 15.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001116/0.4652, allocations: 21.34 kB / 0.5792 GB, free: 15.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.7e-05/0.4653, allocations: 15.44 kB / 0.5793 GB, free: 15.89 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4653, allocations: 0 / 0.5793 GB, free: 15.89 MB / 410.7 MB Notification: Performance of Templates: time 0.002716/0.468, allocations: 0.8168 MB / 0.5801 GB, free: 15.08 MB / 410.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/jenkins1/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