Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.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) 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(Modelica.Blocks.Examples.Noise.Densities,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Densities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Densities,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Densities",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.00148/0.00148, allocations: 109.6 kB / 16.51 MB, free: 6.707 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.001391/0.001391, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.539/1.539, allocations: 222.9 MB / 241.1 MB, free: 15.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 46.73 kB / 300.1 MB, free: 6.191 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.125, allocations: 49.45 MB / 349.5 MB, free: 4.742 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.003579/0.1286, allocations: 1.634 MB / 351.1 MB, free: 3.086 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00114/0.1298, allocations: 0.5221 MB / 351.7 MB, free: 2.562 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.449e-05/0.1299, allocations: 4 kB / 351.7 MB, free: 2.559 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.008e-05/0.1299, allocations: 3.984 kB / 351.7 MB, free: 2.555 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.1301, allocations: 7.938 kB / 351.7 MB, free: 2.547 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002496/0.1304, allocations: 31.91 kB / 351.7 MB, free: 2.516 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.1305, allocations: 51.78 kB / 351.8 MB, free: 2.465 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.1306, allocations: 19.98 kB / 351.8 MB, free: 2.445 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.291e-05/0.1307, allocations: 19.88 kB / 351.8 MB, free: 2.426 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.16e-05/0.1307, allocations: 27.84 kB / 351.8 MB, free: 2.398 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.1308, allocations: 0 / 351.8 MB, free: 2.398 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002392/0.131, allocations: 51.95 kB / 351.9 MB, free: 2.348 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.672e-05/0.131, allocations: 7.938 kB / 351.9 MB, free: 2.34 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.961e-05/0.1311, allocations: 27.86 kB / 351.9 MB, free: 2.312 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001687/0.1313, allocations: 79.7 kB / 352 MB, free: 2.234 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1313, allocations: 3.938 kB / 352 MB, free: 2.23 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1313, allocations: 0 / 352 MB, free: 2.23 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.1313, allocations: 0 / 352 MB, free: 2.23 MB / 286.1 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.000537/0.1319, allocations: 375.5 kB / 352.4 MB, free: 1.816 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.606e-05/0.1319, allocations: 8.031 kB / 352.4 MB, free: 1.809 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.434e-05/0.132, allocations: 46.73 kB / 352.4 MB, free: 1.754 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004205/0.1324, allocations: 44.8 kB / 352.5 MB, free: 1.711 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.1326, allocations: 184.2 kB / 352.6 MB, free: 1.492 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/0.1326, allocations: 4.375 kB / 352.6 MB, free: 1.488 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.1327, allocations: 11.94 kB / 352.7 MB, free: 1.477 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002619/0.1329, allocations: 97.48 kB / 352.7 MB, free: 1.375 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.1329, allocations: 0 / 352.7 MB, free: 1.375 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.133, allocations: 4 kB / 352.8 MB, free: 1.371 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.133, allocations: 0 / 352.8 MB, free: 1.371 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002204/0.1332, allocations: 78.73 kB / 352.8 MB, free: 1.297 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006834/0.1339, allocations: 368.4 kB / 353.2 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.1341, allocations: 70.53 kB / 353.3 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.1342, allocations: 32.95 kB / 353.3 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.1342, allocations: 0 / 353.3 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.1343, allocations: 42.5 kB / 353.3 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.1343, allocations: 3.938 kB / 353.3 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004207/0.1347, allocations: 121.8 kB / 353.5 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/0.1348, allocations: 51.41 kB / 353.5 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.1349, allocations: 118.1 kB / 353.6 MB, free: 412 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.1349, allocations: 25.7 kB / 353.6 MB, free: 380 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.733e-05/0.135, allocations: 108.1 kB / 353.7 MB, free: 268 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.687e-05/0.135, allocations: 15.75 kB / 353.8 MB, free: 252 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-05/0.1351, allocations: 21.7 kB / 353.8 MB, free: 224 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.1352, allocations: 318.8 kB / 354.1 MB, free: 15.9 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.1354, allocations: 27.97 kB / 354.1 MB, free: 15.87 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.668e-05/0.1354, allocations: 28.05 kB / 354.2 MB, free: 15.84 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.1356, allocations: 64.75 kB / 354.2 MB, free: 15.78 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1356, allocations: 0 / 354.2 MB, free: 15.78 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002393/0.1359, allocations: 89.66 kB / 354.3 MB, free: 15.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.1359, allocations: 7.938 kB / 354.3 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1359, allocations: 0 / 354.3 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.1359, allocations: 0 / 354.3 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.1361, allocations: 27.97 kB / 354.3 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.1361, allocations: 4 kB / 354.3 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.066e-05/0.1362, allocations: 7.906 kB / 354.3 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.1362, allocations: 7.984 kB / 354.4 MB, free: 15.63 MB / 302.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 (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 0.0001047/0.1363, allocations: 117.8 kB / 354.5 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.99e-05/0.1364, allocations: 3.938 kB / 354.5 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003027/0.1367, allocations: 113.5 kB / 354.6 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.1367, allocations: 0 / 354.6 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1367, allocations: 0 / 354.6 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.1367, allocations: 4 kB / 354.6 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002073/0.1369, allocations: 189.6 kB / 354.8 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1369, allocations: 0 / 354.8 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.137, allocations: 19.98 kB / 354.8 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.1371, allocations: 3.938 kB / 354.8 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.1371, allocations: 4.25 kB / 354.8 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.1371, allocations: 4 kB / 354.8 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1371, allocations: 4 kB / 354.8 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002925/0.1374, allocations: 199.3 kB / 355 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.821e-05/0.1374, allocations: 84.98 kB / 355.1 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.1375, allocations: 4 kB / 355.1 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.1376, allocations: 7.984 kB / 355.1 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.1376, allocations: 8 kB / 355.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.1376, allocations: 0 / 355.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.323e-05/0.1377, allocations: 106.6 kB / 355.2 MB, free: 14.67 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1377, allocations: 0 / 355.2 MB, free: 14.67 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002319/0.1379, allocations: 11.91 kB / 355.2 MB, free: 14.66 MB / 302.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 (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.0007053/0.1387, allocations: 0.7786 MB / 356 MB, free: 13.86 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000255/0.1389, allocations: 63.94 kB / 356.1 MB, free: 13.79 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1389, allocations: 0 / 356.1 MB, free: 13.79 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.1391, allocations: 35.91 kB / 356.1 MB, free: 13.76 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.1394, allocations: 12 kB / 356.1 MB, free: 13.75 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/0.1412, allocations: 1.498 MB / 357.6 MB, free: 12.17 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002782/0.1415, allocations: 0.6887 MB / 358.3 MB, free: 11.45 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.456e-05/0.1416, allocations: 11.98 kB / 358.3 MB, free: 11.44 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.664e-05/0.1417, allocations: 27.42 kB / 358.3 MB, free: 11.41 MB / 302.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1417, allocations: 0 / 358.3 MB, free: 11.41 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01358/0.1553, allocations: 1.749 MB / 360.1 MB, free: 9.738 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002224/0.1555, allocations: 195.3 kB / 360.3 MB, free: 9.48 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.788/1.944, allocations: 0 / 360.3 MB, free: 9.48 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Densities_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Densities.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/Densities/Densities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches