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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008874/0.0008874, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008611/0.0008611, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9372/0.9372, allocations: 177.1 MB / 204.2 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2492/0.2492, allocations: 32.78 MB / 293.5 MB, free: 1.242 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.675e-06/2.675e-06, allocations: 0 / 439.6 MB, free: 4.254 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.736e-05/3.004e-05, allocations: 2.844 kB / 439.6 MB, free: 4.25 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.002649/0.002679, allocations: 2.052 MB / 441.6 MB, free: 2.184 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001805/0.004484, allocations: 1.262 MB / 442.9 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001446/0.004628, allocations: 8 kB / 442.9 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.984e-05/0.004688, allocations: 23.67 kB / 442.9 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001336/0.004822, allocations: 39.64 kB / 443 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007706/0.005592, allocations: 199.1 kB / 443.2 MB, free: 0.6484 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002323/0.005824, allocations: 184 kB / 443.3 MB, free: 480 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002471/0.006072, allocations: 72.81 kB / 443.4 MB, free: 404 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002592/0.006331, allocations: 123.6 kB / 443.5 MB, free: 280 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.233e-05/0.006423, allocations: 67.72 kB / 443.6 MB, free: 212 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.612e-05/0.006449, allocations: 16 kB / 443.6 MB, free: 196 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002555/0.006705, allocations: 147.8 kB / 443.8 MB, free: 48 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1802/0.1869, allocations: 49.27 kB / 443.8 MB, free: 43.53 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.187, allocations: 60.06 kB / 443.9 MB, free: 43.53 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005897/0.1876, allocations: 331 kB / 444.2 MB, free: 43.53 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.1876, allocations: 2.781 kB / 444.2 MB, free: 43.53 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1876, allocations: 0 / 444.2 MB, free: 43.53 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.1876, allocations: 0 / 444.2 MB, free: 43.53 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.000517/0.1882, allocations: 469.8 kB / 444.7 MB, free: 43.19 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.1882, allocations: 8.531 kB / 444.7 MB, free: 43.19 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.347e-05/0.1883, allocations: 86.66 kB / 444.7 MB, free: 43.13 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000558/0.1889, allocations: 86.52 kB / 444.8 MB, free: 43.12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/0.1891, allocations: 163 kB / 445 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.1891, allocations: 23.81 kB / 445 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.26e-05/0.1891, allocations: 28.78 kB / 445 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002628/0.1894, allocations: 230.6 kB / 445.3 MB, free: 42.94 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.1894, allocations: 192 / 445.3 MB, free: 42.94 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.1894, allocations: 16.09 kB / 445.3 MB, free: 42.94 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.1894, allocations: 12.69 kB / 445.3 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001742/0.1896, allocations: 161.8 kB / 445.5 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000562/0.1902, allocations: 0.5671 MB / 446 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003837/0.1906, allocations: 219.6 kB / 446.2 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.85e-05/0.1906, allocations: 58.53 kB / 446.3 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.1907, allocations: 6.359 kB / 446.3 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.378e-05/0.1907, allocations: 40.72 kB / 446.3 MB, free: 42.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=27): time 1.863e-06/0.1907, allocations: 2.844 kB / 446.3 MB, free: 42.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=27): time 0.0002865/0.191, allocations: 213.1 kB / 446.5 MB, free: 42.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.292e-05/0.191, allocations: 54.16 kB / 446.6 MB, free: 42.47 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.949e-05/0.191, allocations: 102.6 kB / 446.7 MB, free: 42.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.191, allocations: 32.02 kB / 446.7 MB, free: 42.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.292e-05/0.1911, allocations: 151.2 kB / 446.9 MB, free: 42.22 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/0.1911, allocations: 95.3 kB / 447 MB, free: 42.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.145e-05/0.1912, allocations: 47.45 kB / 447 MB, free: 42.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.089e-05/0.1912, allocations: 324.9 kB / 447.3 MB, free: 41.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.367e-05/0.1912, allocations: 40.33 kB / 447.4 MB, free: 41.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.882e-05/0.1913, allocations: 42.39 kB / 447.4 MB, free: 41.82 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.1914, allocations: 119.7 kB / 447.5 MB, free: 41.81 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1914, allocations: 6.094 kB / 447.5 MB, free: 41.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001505/0.1916, allocations: 168.8 kB / 447.7 MB, free: 41.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.1916, allocations: 7.75 kB / 447.7 MB, free: 41.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.1916, allocations: 3.375 kB / 447.7 MB, free: 41.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.1916, allocations: 2.688 kB / 447.7 MB, free: 41.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000177/0.1918, allocations: 99 kB / 447.8 MB, free: 41.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1918, allocations: 2.875 kB / 447.8 MB, free: 41.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.002e-05/0.1918, allocations: 14.33 kB / 447.8 MB, free: 41.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.1918, allocations: 13.16 kB / 447.8 MB, free: 41.75 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 5.982e-05/0.1919, allocations: 131.5 kB / 448 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.675e-05/0.1919, allocations: 10.81 kB / 448 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.021e-05/0.1919, allocations: 26.19 kB / 448 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.1919, allocations: 2.906 kB / 448 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.1919, allocations: 0 / 448 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.1919, allocations: 6.188 kB / 448 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001605/0.1921, allocations: 257.8 kB / 448.3 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1921, allocations: 0 / 448.3 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/0.1923, allocations: 99.86 kB / 448.4 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.1923, allocations: 3.375 kB / 448.4 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.1923, allocations: 6.344 kB / 448.4 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.1923, allocations: 0 / 448.4 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1923, allocations: 0 / 448.4 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/0.1924, allocations: 272 kB / 448.6 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.048e-05/0.1925, allocations: 17.72 kB / 448.7 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.1925, allocations: 10.03 kB / 448.7 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.438e-05/0.1925, allocations: 8.281 kB / 448.7 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.296e-05/0.1925, allocations: 14.05 kB / 448.7 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.1926, allocations: 13.17 kB / 448.7 MB, free: 41.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.696e-05/0.1926, allocations: 84.38 kB / 448.8 MB, free: 41.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1926, allocations: 0 / 448.8 MB, free: 41.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001795/0.1927, allocations: 59.38 kB / 448.8 MB, free: 41.21 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.0003521/0.1931, allocations: 0.8723 MB / 449.7 MB, free: 40.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001692/0.1933, allocations: 128.4 kB / 449.8 MB, free: 40.54 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1933, allocations: 0 / 449.8 MB, free: 40.54 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.886e-05/0.1933, allocations: 69.5 kB / 449.9 MB, free: 40.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001649/0.1935, allocations: 12.88 kB / 449.9 MB, free: 40.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.1946, allocations: 1.952 MB / 451.9 MB, free: 39.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.955e-05/0.1947, allocations: 130.1 kB / 452 MB, free: 39.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.468e-05/0.1948, allocations: 22.39 kB / 452 MB, free: 39.01 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.326e-05/0.1948, allocations: 63.86 kB / 452.1 MB, free: 38.97 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.1948, allocations: 2.953 kB / 452.1 MB, free: 38.97 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0146/0.2094, allocations: 3.34 MB / 455.4 MB, free: 37.96 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.611/6.821, allocations: 9.047 kB / 455.4 MB, free: 37.96 MB / 410.7 MB " [Timeout remaining time 653] (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 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_ConversionBlocks.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 8.8851921511814]