Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Blocks.ConversionBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001188/0.001188, allocations: 94.75 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001532/0.001532, allocations: 205.4 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2395/0.2395, allocations: 45.91 MB / 344 MB, free: 12.17 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003149/0.0003149, allocations: 8 kB / 417.9 MB, free: 20.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.158, allocations: 63.46 MB / 481.4 MB, free: 5.457 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003269/0.1614, allocations: 1.757 MB / 483.1 MB, free: 3.684 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002785/0.1642, allocations: 1.185 MB / 484.3 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000146/0.1644, allocations: 4 kB / 484.3 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.01e-05/0.1644, allocations: 15.84 kB / 484.3 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001464/0.1646, allocations: 31.89 kB / 484.4 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005845/0.1652, allocations: 151.6 kB / 484.5 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002051/0.1654, allocations: 116.4 kB / 484.6 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002369/0.1656, allocations: 77.56 kB / 484.7 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001665/0.1658, allocations: 55.66 kB / 484.8 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/0.166, allocations: 67.62 kB / 484.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.166, allocations: 8 kB / 484.8 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003599/0.1664, allocations: 123.9 kB / 485 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.768e-05/0.1664, allocations: 31.84 kB / 485 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.695e-05/0.1665, allocations: 45.64 kB / 485 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003861/0.1669, allocations: 227.6 kB / 485.3 MB, free: 1.551 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1669, allocations: 0 / 485.3 MB, free: 1.551 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1669, allocations: 0 / 485.3 MB, free: 1.551 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.1669, allocations: 4 kB / 485.3 MB, free: 1.547 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.0007101/0.1676, allocations: 491.1 kB / 485.7 MB, free: 1.016 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.1677, allocations: 8.031 kB / 485.7 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001454/0.1692, allocations: 83.59 kB / 485.8 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.1694, allocations: 178.8 kB / 486 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.183e-05/0.1694, allocations: 20.56 kB / 486 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.591e-05/0.1695, allocations: 28 kB / 486.1 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005264/0.17, allocations: 204.8 kB / 486.3 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.17, allocations: 0 / 486.3 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.089e-05/0.1701, allocations: 12 kB / 486.3 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.1701, allocations: 4 kB / 486.3 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004087/0.1705, allocations: 146.2 kB / 486.4 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001278/0.1718, allocations: 0.6044 MB / 487 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007444/0.1726, allocations: 223.4 kB / 487.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.203e-05/0.1726, allocations: 4.234 kB / 487.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/0.1727, allocations: 30.8 kB / 487.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 2.014e-06/0.1727, allocations: 4 kB / 487.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=27): time 0.0006896/0.1734, allocations: 229.6 kB / 487.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.1734, allocations: 51.41 kB / 487.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.1736, allocations: 105.8 kB / 487.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.1736, allocations: 33.64 kB / 487.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.566e-05/0.1737, allocations: 132.5 kB / 487.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001359/0.1739, allocations: 94.66 kB / 487.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.416e-05/0.1739, allocations: 4 kB / 487.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.1741, allocations: 322.8 kB / 488.2 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.1742, allocations: 39.98 kB / 488.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.1744, allocations: 52.89 kB / 488.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.1745, allocations: 47.98 kB / 488.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1745, allocations: 4 kB / 488.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002838/0.1748, allocations: 173.4 kB / 488.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.1748, allocations: 7.984 kB / 488.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.1748, allocations: 0 / 488.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.1749, allocations: 4 kB / 488.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003512/0.1752, allocations: 99.89 kB / 488.6 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.1752, allocations: 0 / 488.6 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.385e-05/0.1753, allocations: 19.83 kB / 488.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.1753, allocations: 12 kB / 488.7 MB, free: 13.91 MB / 366.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.0001255/0.1754, allocations: 121.8 kB / 488.8 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.271e-05/0.1755, allocations: 15.86 kB / 488.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.226e-05/0.1755, allocations: 21.12 kB / 488.8 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.1756, allocations: 4 kB / 488.8 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1756, allocations: 4 kB / 488.8 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.1756, allocations: 3.984 kB / 488.8 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002918/0.1759, allocations: 265.4 kB / 489.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1759, allocations: 0 / 489.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004172/0.1763, allocations: 100.1 kB / 489.2 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.378e-06/0.1763, allocations: 7.953 kB / 489.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.34e-05/0.1764, allocations: 12 kB / 489.2 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.1764, allocations: 0 / 489.2 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.1764, allocations: 0 / 489.2 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004842/0.1769, allocations: 283.9 kB / 489.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.9e-05/0.177, allocations: 88.95 kB / 489.6 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.905e-05/0.177, allocations: 11.95 kB / 489.6 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.1772, allocations: 12 kB / 489.6 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.87e-05/0.1772, allocations: 15.97 kB / 489.6 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/0.1773, allocations: 8 kB / 489.6 MB, free: 12.87 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.597e-05/0.1773, allocations: 83.22 kB / 489.7 MB, free: 12.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1773, allocations: 0 / 489.7 MB, free: 12.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004273/0.1778, allocations: 51.75 kB / 489.8 MB, free: 12.73 MB / 366.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.0001556/0.1779, allocations: 103.7 kB / 489.9 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003529/0.1783, allocations: 135.9 kB / 490 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1783, allocations: 0 / 490 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001834/0.1785, allocations: 79.91 kB / 490.1 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002019/0.1787, allocations: 7.938 kB / 490.1 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.1799, allocations: 0.5914 MB / 490.7 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006081/0.1805, allocations: 0.7402 MB / 491.4 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001569/0.1807, allocations: 17.42 kB / 491.4 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.62e-05/0.1808, allocations: 19.44 kB / 491.4 MB, free: 10.98 MB / 366.1 MB Notification: Performance of SimCode: time 6.72e-07/0.1808, allocations: 3.938 kB / 491.4 MB, free: 10.98 MB / 366.1 MB Notification: Performance of Templates: time 0.004536/0.1853, allocations: 0.8043 MB / 492.3 MB, free: 10.17 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Blocks.ConversionBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches