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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000933/0.000933, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001016/0.001016, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9055/0.9055, allocations: 177 MB / 204.1 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2475/0.2475, allocations: 34.24 MB / 294.8 MB, free: 0.6992 MB / 266.7 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 442.2 MB, free: 1.582 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.727e-05/1.925e-05, allocations: 12.33 kB / 442.2 MB, free: 1.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.1846/0.1846, allocations: 2.034 MB / 444.2 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001239/0.1858, allocations: 1.278 MB / 445.5 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.11e-05/0.1859, allocations: 2.906 kB / 445.5 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.205e-05/0.186, allocations: 27.69 kB / 445.5 MB, free: 42.67 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.525e-05/0.186, allocations: 37.02 kB / 445.5 MB, free: 42.65 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000308/0.1864, allocations: 198.5 kB / 445.7 MB, free: 42.58 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.1865, allocations: 184.8 kB / 445.9 MB, free: 42.54 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001633/0.1867, allocations: 76.3 kB / 446 MB, free: 42.54 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.1868, allocations: 121.9 kB / 446.1 MB, free: 42.51 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.579e-05/0.1868, allocations: 62.56 kB / 446.2 MB, free: 42.5 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.1869, allocations: 14.5 kB / 446.2 MB, free: 42.5 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001496/0.187, allocations: 158 kB / 446.3 MB, free: 42.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.956e-05/0.187, allocations: 49.12 kB / 446.4 MB, free: 42.46 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.343e-05/0.1871, allocations: 57.02 kB / 446.4 MB, free: 42.45 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.1873, allocations: 339 kB / 446.8 MB, free: 42.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1873, allocations: 0 / 446.8 MB, free: 42.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1873, allocations: 0 / 446.8 MB, free: 42.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.1873, allocations: 0 / 446.8 MB, free: 42.36 MB / 410.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.0003581/0.1877, allocations: 461.9 kB / 447.2 MB, free: 42.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.1877, allocations: 8.5 kB / 447.2 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.559e-05/0.1878, allocations: 88.62 kB / 447.3 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004544/0.1882, allocations: 88.53 kB / 447.4 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000185/0.1884, allocations: 160.1 kB / 447.6 MB, free: 41.78 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.1884, allocations: 28.91 kB / 447.6 MB, free: 41.76 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.1884, allocations: 30.5 kB / 447.6 MB, free: 41.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002233/0.1887, allocations: 234.9 kB / 447.9 MB, free: 41.65 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.1887, allocations: 192 / 447.9 MB, free: 41.65 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.1887, allocations: 15.03 kB / 447.9 MB, free: 41.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.1887, allocations: 6 kB / 447.9 MB, free: 41.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001651/0.1889, allocations: 168.8 kB / 448 MB, free: 41.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004839/0.1893, allocations: 0.5587 MB / 448.6 MB, free: 41.19 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000297/0.1896, allocations: 215 kB / 448.8 MB, free: 41.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.82e-05/0.1897, allocations: 62.39 kB / 448.9 MB, free: 41.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.1897, allocations: 5.109 kB / 448.9 MB, free: 41.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.124e-05/0.1897, allocations: 40.77 kB / 448.9 MB, free: 41.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=27): time 9.31e-07/0.1897, allocations: 3.938 kB / 448.9 MB, free: 41.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=27): time 0.0002587/0.19, allocations: 214.2 kB / 449.1 MB, free: 40.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.004e-05/0.19, allocations: 56.88 kB / 449.2 MB, free: 40.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.235e-05/0.1901, allocations: 102.2 kB / 449.3 MB, free: 40.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.707e-06/0.1901, allocations: 32.11 kB / 449.3 MB, free: 40.76 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.012e-05/0.1901, allocations: 154.2 kB / 449.5 MB, free: 40.62 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.121e-05/0.1901, allocations: 93.38 kB / 449.6 MB, free: 40.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.742e-05/0.1902, allocations: 39.36 kB / 449.6 MB, free: 40.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.911e-05/0.1902, allocations: 325 kB / 449.9 MB, free: 40.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.034e-05/0.1902, allocations: 45.11 kB / 450 MB, free: 40.19 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.868e-05/0.1903, allocations: 55.89 kB / 450 MB, free: 40.17 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.1904, allocations: 108.2 kB / 450.1 MB, free: 40.13 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1904, allocations: 2.844 kB / 450.1 MB, free: 40.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001899/0.1906, allocations: 170.8 kB / 450.3 MB, free: 40.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.1906, allocations: 5.531 kB / 450.3 MB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1906, allocations: 0 / 450.3 MB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.1906, allocations: 2.719 kB / 450.3 MB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002576/0.1909, allocations: 99.33 kB / 450.4 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.1909, allocations: 4.812 kB / 450.4 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.239e-05/0.1909, allocations: 25.91 kB / 450.4 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.191, allocations: 5.906 kB / 450.4 MB, free: 40.02 MB / 410.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.868e-05/0.191, allocations: 127.7 kB / 450.5 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.876e-05/0.191, allocations: 15.73 kB / 450.6 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.373e-05/0.1911, allocations: 28.53 kB / 450.6 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.1911, allocations: 2.844 kB / 450.6 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1911, allocations: 0 / 450.6 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.1911, allocations: 3.234 kB / 450.6 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001997/0.1913, allocations: 246.1 kB / 450.8 MB, free: 39.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1913, allocations: 0 / 450.8 MB, free: 39.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001927/0.1915, allocations: 100 kB / 450.9 MB, free: 39.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.1915, allocations: 4 kB / 450.9 MB, free: 39.65 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.1915, allocations: 6.625 kB / 450.9 MB, free: 39.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1915, allocations: 0 / 450.9 MB, free: 39.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1915, allocations: 5.406 kB / 451 MB, free: 39.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001615/0.1917, allocations: 277.1 kB / 451.2 MB, free: 39.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.688e-06/0.1917, allocations: 17.69 kB / 451.2 MB, free: 39.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.1917, allocations: 7.938 kB / 451.2 MB, free: 39.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.222e-05/0.1917, allocations: 6.719 kB / 451.3 MB, free: 39.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.537e-05/0.1918, allocations: 19.55 kB / 451.3 MB, free: 39.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/0.1918, allocations: 5.188 kB / 451.3 MB, free: 39.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.739e-05/0.1918, allocations: 96 kB / 451.4 MB, free: 39.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1918, allocations: 0 / 451.4 MB, free: 39.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001695/0.192, allocations: 54.28 kB / 451.4 MB, free: 39.32 MB / 410.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 (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.0003166/0.1923, allocations: 0.871 MB / 452.3 MB, free: 38.58 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001609/0.1924, allocations: 124.2 kB / 452.4 MB, free: 38.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.1924, allocations: 0 / 452.4 MB, free: 38.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.036e-05/0.1925, allocations: 68.78 kB / 452.5 MB, free: 38.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001668/0.1927, allocations: 18.23 kB / 452.5 MB, free: 38.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.1938, allocations: 1.946 MB / 454.4 MB, free: 37.05 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.793e-05/0.1939, allocations: 131.6 kB / 454.6 MB, free: 36.96 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.217e-05/0.194, allocations: 19.91 kB / 454.6 MB, free: 36.96 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.198e-05/0.194, allocations: 70.75 kB / 454.7 MB, free: 36.91 MB / 410.7 MB Notification: Performance of SimCode: time 1.173e-06/0.194, allocations: 0 / 454.7 MB, free: 36.91 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01434/0.2084, allocations: 3.336 MB / 458 MB, free: 35.89 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.24/7.448, allocations: 11.38 kB / 458 MB, free: 35.89 MB / 410.7 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_trunk_ModelicaTest_Blocks_ConversionBlocks.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.641473488882184]