Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.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.001078/0.001078, allocations: 83.64 kB / 21.43 MB, free: 3.133 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.004391/0.004391, allocations: 167.5 kB / 24.7 MB, free: 9.414 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8927/0.8927, allocations: 158.6 MB / 186.5 MB, free: 3.023 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Blocks.Examples.NoiseExamples.Densities,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Densities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.Densities,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Densities",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 298.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.482e-05/1.661e-05, allocations: 2.281 kB / 298.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.002002/0.002019, allocations: 1.556 MB / 300 MB, free: 1.934 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008259/0.002845, allocations: 0.5315 MB / 300.5 MB, free: 1.395 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.681e-05/0.002902, allocations: 0 / 300.5 MB, free: 1.395 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.328e-05/0.002945, allocations: 3.938 kB / 300.5 MB, free: 1.391 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.172e-05/0.003027, allocations: 19.8 kB / 300.6 MB, free: 1.371 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003108/0.003338, allocations: 47.83 kB / 300.6 MB, free: 1.324 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.982e-05/0.003427, allocations: 47.84 kB / 300.6 MB, free: 1.277 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.003544, allocations: 23.97 kB / 300.7 MB, free: 1.254 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.785e-05/0.003592, allocations: 23.92 kB / 300.7 MB, free: 1.23 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.848e-05/0.003641, allocations: 15.92 kB / 300.7 MB, free: 1.215 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.003657, allocations: 8 kB / 300.7 MB, free: 1.207 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001537/0.00381, allocations: 43.89 kB / 300.8 MB, free: 1.164 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.01e-05/0.00383, allocations: 15.92 kB / 300.8 MB, free: 1.148 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.194e-05/0.003852, allocations: 19.92 kB / 300.8 MB, free: 1.129 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.003999, allocations: 91.62 kB / 300.9 MB, free: 1.039 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.004002, allocations: 0 / 300.9 MB, free: 1.039 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.004003, allocations: 0 / 300.9 MB, free: 1.039 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.004007, allocations: 0 / 300.9 MB, free: 1.039 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0003813/0.004388, allocations: 302 kB / 301.2 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.004428, allocations: 15.92 kB / 301.2 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.88e-05/0.004497, allocations: 46.69 kB / 301.2 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002266/0.004723, allocations: 44.84 kB / 301.3 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.786e-05/0.004811, allocations: 125.7 kB / 301.4 MB, free: 464 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.004835, allocations: 384 / 301.4 MB, free: 464 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.00485, allocations: 12.38 kB / 301.4 MB, free: 452 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.005029, allocations: 94.14 kB / 301.5 MB, free: 352 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.005037, allocations: 192 / 301.5 MB, free: 352 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.005051, allocations: 8.125 kB / 301.5 MB, free: 344 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.005056, allocations: 0 / 301.5 MB, free: 344 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.005199, allocations: 71.84 kB / 301.6 MB, free: 272 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.14/0.1452, allocations: 319.1 kB / 301.9 MB, free: 15.63 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.1454, allocations: 72.22 kB / 302 MB, free: 15.61 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.034e-05/0.1454, allocations: 31.19 kB / 302 MB, free: 15.6 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.1454, allocations: 1.5 kB / 302 MB, free: 15.6 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.599e-05/0.1455, allocations: 37.94 kB / 302 MB, free: 15.56 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.773e-06/0.1455, allocations: 0 / 302 MB, free: 15.56 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002775/0.1457, allocations: 124.7 kB / 302.2 MB, free: 15.53 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.798e-05/0.1458, allocations: 59.67 kB / 302.2 MB, free: 15.46 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.931e-05/0.1458, allocations: 121 kB / 302.3 MB, free: 15.36 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.915e-06/0.1458, allocations: 25.7 kB / 302.4 MB, free: 15.33 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.982e-05/0.1459, allocations: 104.8 kB / 302.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.933e-05/0.1459, allocations: 15.12 kB / 302.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/0.1459, allocations: 19.16 kB / 302.5 MB, free: 15.23 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.178e-05/0.146, allocations: 314.2 kB / 302.8 MB, free: 14.92 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.53e-05/0.146, allocations: 27.73 kB / 302.8 MB, free: 14.92 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.964e-05/0.1461, allocations: 30.61 kB / 302.9 MB, free: 14.92 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.1462, allocations: 61.11 kB / 302.9 MB, free: 14.91 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1462, allocations: 0 / 302.9 MB, free: 14.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001337/0.1463, allocations: 97.02 kB / 303 MB, free: 14.88 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.1463, allocations: 9.719 kB / 303 MB, free: 14.87 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1463, allocations: 3.938 kB / 303 MB, free: 14.87 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.1463, allocations: 3.453 kB / 303 MB, free: 14.87 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.1464, allocations: 17.25 kB / 303.1 MB, free: 14.87 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.1465, allocations: 3 kB / 303.1 MB, free: 14.87 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.02e-05/0.1465, allocations: 11.89 kB / 303.1 MB, free: 14.87 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.1465, allocations: 1.922 kB / 303.1 MB, free: 14.87 MB / 282.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 (5): * Single equations (assignments): 5 * 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 4.466e-05/0.1465, allocations: 112.9 kB / 303.2 MB, free: 14.76 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.614e-05/0.1466, allocations: 7.422 kB / 303.2 MB, free: 14.75 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001853/0.1467, allocations: 114.2 kB / 303.3 MB, free: 14.72 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1467, allocations: 1.062 kB / 303.3 MB, free: 14.72 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1467, allocations: 0 / 303.3 MB, free: 14.72 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1468, allocations: 1.875 kB / 303.3 MB, free: 14.72 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/0.1469, allocations: 170.7 kB / 303.5 MB, free: 14.56 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1469, allocations: 0.75 kB / 303.5 MB, free: 14.56 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.163e-05/0.1469, allocations: 17.98 kB / 303.5 MB, free: 14.56 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1469, allocations: 0.75 kB / 303.5 MB, free: 14.56 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.1469, allocations: 14.41 kB / 303.5 MB, free: 14.56 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.1469, allocations: 2.766 kB / 303.5 MB, free: 14.56 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1469, allocations: 0 / 303.5 MB, free: 14.56 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/0.1471, allocations: 184.7 kB / 303.7 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.135e-05/0.1471, allocations: 10.03 kB / 303.7 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.1471, allocations: 6.609 kB / 303.7 MB, free: 14.42 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.036e-05/0.1472, allocations: 9.25 kB / 303.7 MB, free: 14.42 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.925e-05/0.1472, allocations: 6.375 kB / 303.7 MB, free: 14.42 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.1472, allocations: 5.438 kB / 303.7 MB, free: 14.42 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.689e-05/0.1472, allocations: 99.08 kB / 303.8 MB, free: 14.34 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1472, allocations: 1.188 kB / 303.8 MB, free: 14.34 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001568/0.1474, allocations: 13.14 kB / 303.8 MB, free: 14.34 MB / 282.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 (6): * Single equations (assignments): 6 * 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.0003184/0.1477, allocations: 0.7602 MB / 304.6 MB, free: 13.65 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001535/0.1478, allocations: 67.91 kB / 304.7 MB, free: 13.64 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.183e-06/0.1478, allocations: 0 / 304.7 MB, free: 13.64 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.837e-05/0.1479, allocations: 39.31 kB / 304.7 MB, free: 13.63 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.1481, allocations: 8.547 kB / 304.7 MB, free: 13.63 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009847/0.1491, allocations: 1.485 MB / 306.2 MB, free: 12.37 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.007e-05/0.1492, allocations: 77.86 kB / 306.3 MB, free: 12.3 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.296e-05/0.1492, allocations: 11.09 kB / 306.3 MB, free: 12.29 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.971e-05/0.1493, allocations: 25.7 kB / 306.3 MB, free: 12.27 MB / 282.7 MB Notification: Performance of SimCode: time 6.01e-07/0.1493, allocations: 0 / 306.3 MB, free: 12.27 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01658/0.1658, allocations: 2.674 MB / 309 MB, free: 11.16 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.653/6.819, allocations: 6.219 kB / 309 MB, free: 11.15 MB / 282.7 MB " [Timeout remaining time 653] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Densities_fmu --startTime=0 --stopTime=20 --stepSize=0.02 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Densities.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/Densities/Densities.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.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.418093635700643]