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: "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001344/0.001344, allocations: 104.2 kB / 17.2 MB, free: 6.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001451/0.001451, allocations: 209.7 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 227.4 MB / 246.3 MB, free: 10.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2391/0.2391, allocations: 46.11 MB / 343.6 MB, free: 11.73 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002197/0.002197, allocations: 68.19 kB / 416.9 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.164, allocations: 62.45 MB / 479.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.004135/0.1681, allocations: 2.163 MB / 481.5 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002539/0.1707, allocations: 1.402 MB / 482.9 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002302/0.171, allocations: 4 kB / 483 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001002/0.1711, allocations: 15.8 kB / 483 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001971/0.1713, allocations: 23.84 kB / 483 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006049/0.1719, allocations: 167.5 kB / 483.2 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000209/0.1722, allocations: 172.1 kB / 483.3 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000208/0.1724, allocations: 91.59 kB / 483.4 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001794/0.1726, allocations: 79.64 kB / 483.5 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.974e-05/0.1727, allocations: 91.48 kB / 483.6 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.741e-05/0.1727, allocations: 12 kB / 483.6 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002928/0.173, allocations: 147.9 kB / 483.7 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.908e-05/0.1731, allocations: 43.83 kB / 483.8 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.608e-05/0.1731, allocations: 91.41 kB / 483.9 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003608/0.1735, allocations: 303.3 kB / 484.2 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1735, allocations: 0 / 484.2 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.1735, allocations: 0 / 484.2 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.1735, allocations: 0 / 484.2 MB, free: 0.8398 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.0005977/0.1741, allocations: 0.5189 MB / 484.7 MB, free: 280 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.1742, allocations: 12.88 kB / 484.7 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001053/0.1743, allocations: 91.02 kB / 484.8 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008898/0.1752, allocations: 76.59 kB / 484.9 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.1754, allocations: 219.9 kB / 485.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.562e-05/0.1755, allocations: 25.03 kB / 485.1 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.447e-05/0.1755, allocations: 32.38 kB / 485.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003686/0.1759, allocations: 234.2 kB / 485.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.1759, allocations: 0 / 485.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.226e-05/0.1759, allocations: 12 kB / 485.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.1759, allocations: 11.94 kB / 485.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000295/0.1762, allocations: 162.5 kB / 485.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008728/0.1771, allocations: 0.6555 MB / 486.2 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005028/0.1776, allocations: 229.2 kB / 486.4 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001282/0.1778, allocations: 69.3 kB / 486.5 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.1778, allocations: 4.234 kB / 486.5 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.1778, allocations: 38.8 kB / 486.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 1.293e-06/0.1779, allocations: 0 / 486.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004456/0.1783, allocations: 217.4 kB / 486.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.1784, allocations: 63.28 kB / 486.8 MB, free: 14.01 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.748e-05/0.1784, allocations: 101.9 kB / 486.9 MB, free: 13.9 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.1785, allocations: 29.7 kB / 486.9 MB, free: 13.87 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.047e-05/0.1786, allocations: 152.3 kB / 487.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.138e-05/0.1786, allocations: 94.64 kB / 487.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.079e-05/0.1787, allocations: 45.7 kB / 487.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.1788, allocations: 322.8 kB / 487.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.763e-05/0.1789, allocations: 39.98 kB / 487.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.8e-05/0.179, allocations: 44.89 kB / 487.6 MB, free: 13.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002018/0.1792, allocations: 122.2 kB / 487.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1793, allocations: 0 / 487.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002556/0.1795, allocations: 169.5 kB / 487.9 MB, free: 12.87 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.1795, allocations: 8 kB / 487.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1796, allocations: 0 / 487.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.1796, allocations: 3.984 kB / 487.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003352/0.1799, allocations: 95.89 kB / 488 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.086e-06/0.1799, allocations: 0 / 488 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.243e-05/0.18, allocations: 20.08 kB / 488 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.18, allocations: 12 kB / 488 MB, free: 12.73 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001208/0.1802, allocations: 129.7 kB / 488.2 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.691e-05/0.1802, allocations: 15.91 kB / 488.2 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.17e-05/0.1803, allocations: 25.53 kB / 488.2 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.1803, allocations: 7.938 kB / 488.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.1803, allocations: 0 / 488.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.1803, allocations: 3.984 kB / 488.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002813/0.1806, allocations: 281.3 kB / 488.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1806, allocations: 4 kB / 488.5 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003433/0.1809, allocations: 103.9 kB / 488.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.181, allocations: 0 / 488.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.181, allocations: 4 kB / 488.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.181, allocations: 3.938 kB / 488.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.181, allocations: 0 / 488.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003026/0.1813, allocations: 279.3 kB / 488.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.1e-05/0.1814, allocations: 96.89 kB / 489 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.1814, allocations: 0 / 489 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.1815, allocations: 15.92 kB / 489 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.881e-05/0.1816, allocations: 11.98 kB / 489 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.1816, allocations: 8 kB / 489 MB, free: 11.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.843e-05/0.1817, allocations: 87.27 kB / 489.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1817, allocations: 0 / 489.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002743/0.1819, allocations: 55.75 kB / 489.1 MB, free: 11.54 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 (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.000714/0.1827, allocations: 0.865 MB / 490 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000262/0.1829, allocations: 131.9 kB / 490.1 MB, free: 10.51 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.183, allocations: 8 kB / 490.1 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.1831, allocations: 75.91 kB / 490.2 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/0.1833, allocations: 11.94 kB / 490.2 MB, free: 10.42 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002307/0.1856, allocations: 2.084 MB / 492.3 MB, free: 8.258 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.186, allocations: 0.7436 MB / 493.1 MB, free: 7.488 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001198/0.1861, allocations: 17.41 kB / 493.1 MB, free: 7.469 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.1862, allocations: 67.41 kB / 493.1 MB, free: 7.402 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1862, allocations: 0 / 493.1 MB, free: 7.402 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0134/0.1996, allocations: 2.515 MB / 495.7 MB, free: 4.949 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001891/0.1998, allocations: 184.7 kB / 495.8 MB, free: 4.699 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.791/1.991, allocations: 0 / 495.8 MB, free: 4.699 MB / 366.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_ConversionBlocks_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_ConversionBlocks.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches