Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.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.001426/0.001426, allocations: 107.1 kB / 20.44 MB, free: 1.324 MB / 14.72 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.001862/0.001862, allocations: 206 kB / 23.72 MB, free: 4.492 MB / 14.72 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 1.627/1.627, allocations: 230.5 MB / 257.4 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Blocks.Examples.Noise.Densities,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_Densities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Densities,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_Densities",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002845/0.002845, allocations: 71.89 kB / 377.7 MB, free: 2.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4287/0.4315, allocations: 53.4 MB / 431.2 MB, free: 6.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.003807/0.4353, allocations: 1.572 MB / 432.7 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.4365, allocations: 0.5376 MB / 433.3 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.917e-05/0.4366, allocations: 4 kB / 433.3 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.6e-05/0.4367, allocations: 11.86 kB / 433.3 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.796e-05/0.4367, allocations: 11.88 kB / 433.3 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000279/0.437, allocations: 55.81 kB / 433.3 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.978e-05/0.4371, allocations: 51.86 kB / 433.4 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.4372, allocations: 15.98 kB / 433.4 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.325e-05/0.4373, allocations: 23.92 kB / 433.4 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.437e-05/0.4373, allocations: 23.84 kB / 433.5 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.4374, allocations: 4 kB / 433.5 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000238/0.4376, allocations: 47.91 kB / 433.5 MB, free: 4.043 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.427e-05/0.4376, allocations: 19.91 kB / 433.5 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.126e-05/0.4376, allocations: 19.88 kB / 433.5 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.4378, allocations: 88 kB / 433.6 MB, free: 3.926 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.4378, allocations: 4 kB / 433.6 MB, free: 3.922 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.4378, allocations: 4 kB / 433.6 MB, free: 3.918 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.4378, allocations: 3.938 kB / 433.6 MB, free: 3.914 MB / 334.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.0004905/0.4383, allocations: 298 kB / 433.9 MB, free: 3.594 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.4384, allocations: 11.98 kB / 433.9 MB, free: 3.582 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.698e-05/0.4384, allocations: 50.69 kB / 434 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004241/0.4389, allocations: 48.84 kB / 434 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.439, allocations: 122.4 kB / 434.2 MB, free: 3.332 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.859e-05/0.439, allocations: 8.375 kB / 434.2 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.439, allocations: 8.375 kB / 434.2 MB, free: 3.316 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002424/0.4393, allocations: 97.7 kB / 434.3 MB, free: 3.215 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.4393, allocations: 0 / 434.3 MB, free: 3.215 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.4393, allocations: 0 / 434.3 MB, free: 3.215 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.4393, allocations: 4 kB / 434.3 MB, free: 3.211 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002247/0.4395, allocations: 67.94 kB / 434.3 MB, free: 3.145 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005752/0.4401, allocations: 331.5 kB / 434.7 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.4403, allocations: 62.55 kB / 434.7 MB, free: 2.707 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.783e-05/0.4404, allocations: 32.95 kB / 434.8 MB, free: 2.672 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.4404, allocations: 8 kB / 434.8 MB, free: 2.664 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.4405, allocations: 30.56 kB / 434.8 MB, free: 2.625 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.4405, allocations: 0 / 434.8 MB, free: 2.625 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004026/0.4409, allocations: 129.5 kB / 434.9 MB, free: 2.492 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.4409, allocations: 55.34 kB / 435 MB, free: 2.426 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.441, allocations: 130.1 kB / 435.1 MB, free: 2.285 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.441, allocations: 33.64 kB / 435.1 MB, free: 2.246 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.414e-05/0.4411, allocations: 96.03 kB / 435.2 MB, free: 2.148 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.4411, allocations: 15.89 kB / 435.2 MB, free: 2.133 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.781e-05/0.4412, allocations: 13.72 kB / 435.3 MB, free: 2.113 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.4413, allocations: 322.8 kB / 435.6 MB, free: 1.789 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.459e-05/0.4414, allocations: 27.98 kB / 435.6 MB, free: 1.762 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.122e-05/0.4415, allocations: 31.97 kB / 435.6 MB, free: 1.73 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001757/0.4417, allocations: 56.77 kB / 435.7 MB, free: 1.672 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.4417, allocations: 0 / 435.7 MB, free: 1.672 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002299/0.4419, allocations: 102 kB / 435.8 MB, free: 1.566 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.4419, allocations: 4 kB / 435.8 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.4419, allocations: 0 / 435.8 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.4419, allocations: 3.938 kB / 435.8 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.4421, allocations: 19.98 kB / 435.8 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.4421, allocations: 4 kB / 435.8 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.076e-05/0.4422, allocations: 19.88 kB / 435.8 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.4422, allocations: 0 / 435.8 MB, free: 1.516 MB / 334.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.0001028/0.4423, allocations: 113.8 kB / 436 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.874e-05/0.4423, allocations: 11.98 kB / 436 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002985/0.4426, allocations: 113.6 kB / 436.1 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.4426, allocations: 0 / 436.1 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.4426, allocations: 0 / 436.1 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.4426, allocations: 7.969 kB / 436.1 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/0.4428, allocations: 156.7 kB / 436.2 MB, free: 1.059 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.4428, allocations: 0 / 436.2 MB, free: 1.059 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.4429, allocations: 19.98 kB / 436.3 MB, free: 1.039 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.4429, allocations: 4 kB / 436.3 MB, free: 1.035 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.4429, allocations: 3.938 kB / 436.3 MB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.4429, allocations: 0 / 436.3 MB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.4429, allocations: 0 / 436.3 MB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003293/0.4433, allocations: 195.4 kB / 436.5 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.88e-05/0.4433, allocations: 11.95 kB / 436.5 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.4433, allocations: 3.938 kB / 436.5 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.4434, allocations: 11.98 kB / 436.5 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.59e-05/0.4434, allocations: 7.984 kB / 436.5 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-06/0.4434, allocations: 0 / 436.5 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.975e-05/0.4435, allocations: 106.5 kB / 436.6 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4435, allocations: 0 / 436.6 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002246/0.4437, allocations: 19.89 kB / 436.6 MB, free: 0.668 MB / 334.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.0007703/0.4445, allocations: 0.7555 MB / 437.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002445/0.4448, allocations: 79.88 kB / 437.4 MB, free: 15.81 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.4448, allocations: 0 / 437.4 MB, free: 15.81 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.4449, allocations: 39.91 kB / 437.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.4452, allocations: 8 kB / 437.5 MB, free: 15.76 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001715/0.4469, allocations: 1.459 MB / 439 MB, free: 14.22 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.543e-05/0.447, allocations: 79.67 kB / 439 MB, free: 14.12 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.24e-05/0.447, allocations: 11.98 kB / 439 MB, free: 14.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.589e-05/0.4471, allocations: 23.44 kB / 439.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4471, allocations: 0 / 439.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03168/0.4788, allocations: 2.495 MB / 441.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/11.18, allocations: 4.75 kB / 441.6 MB, free: 11.7 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 Modelica_trunk_Modelica_Blocks_Examples_Noise_Densities.fmu > Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/Densities/Densities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.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: 13.895532496739179]