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.001519/0.001519, allocations: 114.6 kB / 16.63 MB, free: 6.812 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.001609/0.001609, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.403/1.403, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001081/0.001081, allocations: 46.64 kB / 300.2 MB, free: 6.094 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1193, allocations: 49.45 MB / 349.7 MB, free: 4.645 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.003655/0.123, allocations: 1.633 MB / 351.3 MB, free: 2.992 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.1242, allocations: 0.5143 MB / 351.8 MB, free: 2.477 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.9e-05/0.1243, allocations: 3.938 kB / 351.8 MB, free: 2.473 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.358e-05/0.1244, allocations: 0 / 351.8 MB, free: 2.473 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001177/0.1245, allocations: 7.938 kB / 351.8 MB, free: 2.465 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003235/0.1249, allocations: 39.91 kB / 351.9 MB, free: 2.426 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000123/0.125, allocations: 55.78 kB / 351.9 MB, free: 2.371 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.1251, allocations: 23.97 kB / 352 MB, free: 2.348 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.06e-05/0.1252, allocations: 19.92 kB / 352 MB, free: 2.328 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.772e-05/0.1253, allocations: 27.86 kB / 352 MB, free: 2.301 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.1253, allocations: 8 kB / 352 MB, free: 2.293 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002335/0.1255, allocations: 43.95 kB / 352.1 MB, free: 2.25 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.447e-05/0.1256, allocations: 11.92 kB / 352.1 MB, free: 2.238 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.399e-05/0.1256, allocations: 27.81 kB / 352.1 MB, free: 2.211 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001971/0.1258, allocations: 79.77 kB / 352.2 MB, free: 2.133 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.1259, allocations: 0 / 352.2 MB, free: 2.133 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1259, allocations: 0 / 352.2 MB, free: 2.133 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.1259, allocations: 0 / 352.2 MB, free: 2.133 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.0006175/0.1265, allocations: 387.4 kB / 352.5 MB, free: 1.707 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/0.1266, allocations: 12.03 kB / 352.6 MB, free: 1.695 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.559e-05/0.1267, allocations: 38.73 kB / 352.6 MB, free: 1.648 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004851/0.1272, allocations: 48.8 kB / 352.6 MB, free: 1.602 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.1273, allocations: 180.1 kB / 352.8 MB, free: 1.387 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.75e-05/0.1274, allocations: 4.375 kB / 352.8 MB, free: 1.383 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.26e-05/0.1274, allocations: 11.94 kB / 352.8 MB, free: 1.371 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002726/0.1277, allocations: 93.55 kB / 352.9 MB, free: 1.273 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.1277, allocations: 7.938 kB / 352.9 MB, free: 1.266 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.1277, allocations: 4 kB / 352.9 MB, free: 1.262 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.1278, allocations: 4 kB / 352.9 MB, free: 1.258 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002244/0.128, allocations: 63.94 kB / 353 MB, free: 1.195 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00067/0.1287, allocations: 372.4 kB / 353.4 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002059/0.1289, allocations: 74.47 kB / 353.4 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.129, allocations: 28.97 kB / 353.5 MB, free: 0.668 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.129, allocations: 0 / 353.5 MB, free: 0.668 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.1291, allocations: 50.5 kB / 353.5 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.1291, allocations: 0 / 353.5 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of matching and sorting (n=5): time 0.000425/0.1295, allocations: 117.6 kB / 353.6 MB, free: 500 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.1295, allocations: 51.41 kB / 353.7 MB, free: 436 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.1297, allocations: 124.3 kB / 353.8 MB, free: 300 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.1297, allocations: 29.7 kB / 353.8 MB, free: 264 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.396e-05/0.1298, allocations: 100.1 kB / 353.9 MB, free: 160 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.1298, allocations: 23.73 kB / 354 MB, free: 136 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.135e-05/0.1298, allocations: 13.72 kB / 354 MB, free: 116 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.13, allocations: 318.8 kB / 354.3 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.1301, allocations: 23.98 kB / 354.3 MB, free: 15.77 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.266e-05/0.1302, allocations: 31.97 kB / 354.3 MB, free: 15.74 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/0.1304, allocations: 60.77 kB / 354.4 MB, free: 15.68 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1304, allocations: 0 / 354.4 MB, free: 15.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000261/0.1307, allocations: 93.64 kB / 354.5 MB, free: 15.58 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.1307, allocations: 7.938 kB / 354.5 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1307, allocations: 0 / 354.5 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.185e-05/0.1307, allocations: 4 kB / 354.5 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.1309, allocations: 19.98 kB / 354.5 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.1309, allocations: 0 / 354.5 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.752e-05/0.131, allocations: 19.83 kB / 354.5 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.131, allocations: 0 / 354.5 MB, free: 15.53 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.000145/0.1312, allocations: 113.8 kB / 354.6 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.104e-05/0.1313, allocations: 7.938 kB / 354.7 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004169/0.1317, allocations: 117.4 kB / 354.8 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.1317, allocations: 4 kB / 354.8 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.27e-05/0.1317, allocations: 0.5 kB / 354.8 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.1317, allocations: 0 / 354.8 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003301/0.1321, allocations: 193.6 kB / 355 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.1321, allocations: 0 / 355 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001241/0.1322, allocations: 23.98 kB / 355 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/0.1322, allocations: 3.938 kB / 355 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.471e-05/0.1323, allocations: 7.969 kB / 355 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1323, allocations: 4 kB / 355 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.1323, allocations: 4 kB / 355 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004025/0.1327, allocations: 191.4 kB / 355.2 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.652e-05/0.1328, allocations: 88.98 kB / 355.3 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.1328, allocations: 3.984 kB / 355.3 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.1329, allocations: 8 kB / 355.3 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.889e-05/0.133, allocations: 15.92 kB / 355.3 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.133, allocations: 0 / 355.3 MB, free: 14.65 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.37e-05/0.1331, allocations: 95.27 kB / 355.4 MB, free: 14.56 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1331, allocations: 0 / 355.4 MB, free: 14.56 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002784/0.1334, allocations: 15.91 kB / 355.4 MB, free: 14.54 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.0007837/0.1342, allocations: 0.767 MB / 356.2 MB, free: 13.75 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002628/0.1345, allocations: 67.98 kB / 356.3 MB, free: 13.68 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.1345, allocations: 0 / 356.3 MB, free: 13.68 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.1346, allocations: 43.92 kB / 356.3 MB, free: 13.64 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003721/0.135, allocations: 7.984 kB / 356.3 MB, free: 13.63 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001917/0.1369, allocations: 1.499 MB / 357.8 MB, free: 12.06 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.1373, allocations: 0.6924 MB / 358.5 MB, free: 11.34 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.913e-05/0.1373, allocations: 11.94 kB / 358.5 MB, free: 11.33 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.434e-05/0.1374, allocations: 19.42 kB / 358.5 MB, free: 11.31 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1374, allocations: 0 / 358.5 MB, free: 11.31 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01334/0.1508, allocations: 1.809 MB / 360.3 MB, free: 9.598 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002153/0.151, allocations: 193.8 kB / 360.5 MB, free: 9.34 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.027/2.178, allocations: 0 / 360.5 MB, free: 9.34 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