Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001633/0.001634, allocations: 106.9 kB / 17.33 MB, free: 5.996 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.00183/0.00183, allocations: 193.3 kB / 18.25 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 222.9 MB / 241.9 MB, free: 13.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2031/0.2031, allocations: 44.18 MB / 336.3 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 62.92 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08276/0.08404, allocations: 60.84 MB / 468.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.002831/0.08691, allocations: 2.134 MB / 471 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001672/0.0886, allocations: 1.297 MB / 472.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.127e-05/0.0887, allocations: 4 kB / 472.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.436e-05/0.08877, allocations: 19.73 kB / 472.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.0889, allocations: 23.84 kB / 472.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004437/0.08935, allocations: 167.5 kB / 472.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.08952, allocations: 172.2 kB / 472.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001886/0.08972, allocations: 103.6 kB / 472.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.08984, allocations: 75.64 kB / 472.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.053e-05/0.08994, allocations: 87.55 kB / 472.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.261e-05/0.08997, allocations: 16 kB / 472.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002627/0.09024, allocations: 151.9 kB / 473.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.158e-05/0.09028, allocations: 47.83 kB / 473.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.633e-05/0.09035, allocations: 83.48 kB / 473.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003411/0.0907, allocations: 307.3 kB / 473.5 MB, free: 9.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.09071, allocations: 0 / 473.5 MB, free: 9.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.09072, allocations: 0 / 473.5 MB, free: 9.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.09073, allocations: 4 kB / 473.5 MB, free: 9.906 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.0005241/0.09126, allocations: 0.5188 MB / 474 MB, free: 9.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.0913, allocations: 12.03 kB / 474 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.226e-05/0.0914, allocations: 87.08 kB / 474.1 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007659/0.09217, allocations: 68.61 kB / 474.2 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.09228, allocations: 192 kB / 474.4 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.09231, allocations: 28.97 kB / 474.4 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.94e-05/0.09235, allocations: 28.38 kB / 474.4 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003593/0.09271, allocations: 238.2 kB / 474.6 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.09273, allocations: 0 / 474.6 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/0.09276, allocations: 12 kB / 474.7 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.09277, allocations: 8 kB / 474.7 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002563/0.09303, allocations: 162.5 kB / 474.8 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008193/0.09386, allocations: 0.6555 MB / 475.5 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004875/0.09436, allocations: 227.4 kB / 475.7 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001321/0.0945, allocations: 73.28 kB / 475.8 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.09453, allocations: 8.156 kB / 475.8 MB, free: 7.449 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.09456, allocations: 38.8 kB / 475.8 MB, free: 7.402 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.373e-06/0.09456, allocations: 4 kB / 475.8 MB, free: 7.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.000394/0.09496, allocations: 211.2 kB / 476 MB, free: 7.188 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/0.095, allocations: 55.34 kB / 476.1 MB, free: 7.121 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.089e-05/0.09508, allocations: 105.8 kB / 476.2 MB, free: 7.008 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.09511, allocations: 29.7 kB / 476.2 MB, free: 6.973 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.727e-05/0.09518, allocations: 152.2 kB / 476.4 MB, free: 6.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.828e-05/0.09525, allocations: 86.75 kB / 476.4 MB, free: 6.734 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.744e-05/0.09531, allocations: 41.7 kB / 476.5 MB, free: 6.688 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.09543, allocations: 326.8 kB / 476.8 MB, free: 6.359 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.142e-05/0.09552, allocations: 43.95 kB / 476.9 MB, free: 6.316 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.064e-05/0.09562, allocations: 47.86 kB / 476.9 MB, free: 6.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/0.09581, allocations: 126.2 kB / 477 MB, free: 6.145 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.09582, allocations: 0 / 477 MB, free: 6.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002429/0.09607, allocations: 165.5 kB / 477.2 MB, free: 5.977 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.09609, allocations: 8 kB / 477.2 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.0961, allocations: 4 kB / 477.2 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.09611, allocations: 0 / 477.2 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003262/0.09645, allocations: 103.8 kB / 477.3 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.09646, allocations: 3.984 kB / 477.3 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.836e-05/0.09653, allocations: 15.84 kB / 477.3 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.09655, allocations: 8.25 kB / 477.3 MB, free: 5.836 MB / 350.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 9.143e-05/0.09665, allocations: 129.8 kB / 477.4 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.273e-05/0.09669, allocations: 11.91 kB / 477.5 MB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.069e-05/0.09675, allocations: 29.11 kB / 477.5 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.09676, allocations: 11.94 kB / 477.5 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.09676, allocations: 0 / 477.5 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.09677, allocations: 0 / 477.5 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002671/0.09704, allocations: 285.4 kB / 477.8 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.09705, allocations: 0 / 477.8 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003211/0.09738, allocations: 99.89 kB / 477.9 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.09739, allocations: 0 / 477.9 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.09741, allocations: 8 kB / 477.9 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.09742, allocations: 3.938 kB / 477.9 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.09742, allocations: 0 / 477.9 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002857/0.09771, allocations: 271.4 kB / 478.2 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.995e-05/0.09776, allocations: 92.92 kB / 478.2 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.09779, allocations: 7.984 kB / 478.3 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.687e-05/0.09788, allocations: 11.94 kB / 478.3 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.665e-05/0.09792, allocations: 7.984 kB / 478.3 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.09794, allocations: 12 kB / 478.3 MB, free: 4.785 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.51e-05/0.09798, allocations: 83.27 kB / 478.4 MB, free: 4.703 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09798, allocations: 0 / 478.4 MB, free: 4.703 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002556/0.09824, allocations: 55.69 kB / 478.4 MB, free: 4.648 MB / 350.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.0006083/0.09885, allocations: 0.8772 MB / 479.3 MB, free: 3.746 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002773/0.09914, allocations: 140.1 kB / 479.4 MB, free: 3.609 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.09915, allocations: 0 / 479.4 MB, free: 3.609 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.09927, allocations: 79.84 kB / 479.5 MB, free: 3.531 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.09949, allocations: 19.88 kB / 479.5 MB, free: 3.512 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001885/0.1014, allocations: 2.069 MB / 481.6 MB, free: 1.363 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.1017, allocations: 0.7434 MB / 482.3 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001014/0.1018, allocations: 17.41 kB / 482.4 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.214e-05/0.1018, allocations: 71.41 kB / 482.4 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1019, allocations: 0 / 482.4 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6692/0.7711, allocations: 2.559 MB / 485 MB, free: 14.04 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002126/0.7713, allocations: 189.2 kB / 485.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.864/2.635, allocations: 12 kB / 485.2 MB, free: 13.77 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_ConversionBlocks_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_ConversionBlocks.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Blocks.ConversionBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches