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.001633/0.001633, allocations: 116.4 kB / 20.43 MB, free: 1.457 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.002644/0.002644, allocations: 215.1 kB / 23.75 MB, free: 4.672 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.558/1.558, allocations: 230.5 MB / 257.4 MB, free: 8.004 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.001943/0.001943, allocations: 67.91 kB / 377.8 MB, free: 2.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3528, allocations: 53.41 MB / 431.2 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.003359/0.3562, allocations: 1.606 MB / 432.8 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.3573, allocations: 0.5804 MB / 433.4 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.214e-05/0.3574, allocations: 0 / 433.4 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.249e-05/0.3575, allocations: 3.938 kB / 433.4 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.289e-05/0.3575, allocations: 15.86 kB / 433.4 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003122/0.3579, allocations: 55.83 kB / 433.5 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.358, allocations: 55.84 kB / 433.5 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.3581, allocations: 19.92 kB / 433.5 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.937e-05/0.3581, allocations: 23.86 kB / 433.5 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.282e-05/0.3582, allocations: 31.84 kB / 433.6 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.3582, allocations: 4 kB / 433.6 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002471/0.3585, allocations: 43.97 kB / 433.6 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.528e-05/0.3585, allocations: 15.92 kB / 433.6 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.979e-05/0.3586, allocations: 27.86 kB / 433.7 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002117/0.3588, allocations: 90.95 kB / 433.8 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3588, allocations: 0 / 433.8 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3588, allocations: 4 kB / 433.8 MB, free: 4.105 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.3588, allocations: 0 / 433.8 MB, free: 4.105 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.0005354/0.3593, allocations: 299 kB / 434.1 MB, free: 3.785 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.3594, allocations: 8.031 kB / 434.1 MB, free: 3.777 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.704e-05/0.3595, allocations: 46.69 kB / 434.1 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004766/0.3599, allocations: 52.83 kB / 434.2 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.3601, allocations: 118.4 kB / 434.3 MB, free: 3.531 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.066e-05/0.3601, allocations: 12.31 kB / 434.3 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.3601, allocations: 4.375 kB / 434.3 MB, free: 3.516 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00026/0.3604, allocations: 96.27 kB / 434.4 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.3604, allocations: 0 / 434.4 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.3604, allocations: 4 kB / 434.4 MB, free: 3.414 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.3604, allocations: 4 kB / 434.4 MB, free: 3.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002297/0.3607, allocations: 67.94 kB / 434.5 MB, free: 3.344 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006815/0.3613, allocations: 347.4 kB / 434.8 MB, free: 2.961 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002109/0.3615, allocations: 66.55 kB / 434.9 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.3617, allocations: 44.89 kB / 434.9 MB, free: 2.84 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.3617, allocations: 0 / 434.9 MB, free: 2.84 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/0.3617, allocations: 34.56 kB / 434.9 MB, free: 2.797 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.3617, allocations: 0 / 434.9 MB, free: 2.797 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004408/0.3622, allocations: 125.5 kB / 435.1 MB, free: 2.668 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.3622, allocations: 51.41 kB / 435.1 MB, free: 2.605 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.3623, allocations: 137.6 kB / 435.2 MB, free: 2.461 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.848e-05/0.3623, allocations: 29.7 kB / 435.3 MB, free: 2.426 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.678e-05/0.3624, allocations: 96.03 kB / 435.4 MB, free: 2.328 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.3624, allocations: 15.89 kB / 435.4 MB, free: 2.312 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.667e-05/0.3625, allocations: 17.72 kB / 435.4 MB, free: 2.289 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.3626, allocations: 322.8 kB / 435.7 MB, free: 1.965 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/0.3627, allocations: 27.92 kB / 435.7 MB, free: 1.938 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.651e-05/0.3628, allocations: 31.97 kB / 435.8 MB, free: 1.906 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000179/0.363, allocations: 56.83 kB / 435.8 MB, free: 1.848 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.363, allocations: 0 / 435.8 MB, free: 1.848 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002461/0.3633, allocations: 97.59 kB / 435.9 MB, free: 1.746 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.3633, allocations: 4 kB / 435.9 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.3633, allocations: 4 kB / 435.9 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.3633, allocations: 3.938 kB / 435.9 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.3635, allocations: 15.98 kB / 436 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.3635, allocations: 11.92 kB / 436 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.661e-05/0.3636, allocations: 15.88 kB / 436 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-06/0.3636, allocations: 4 kB / 436 MB, free: 1.688 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.0001065/0.3637, allocations: 117.8 kB / 436.1 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.3637, allocations: 0 / 436.1 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003229/0.364, allocations: 113.6 kB / 436.2 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.364, allocations: 0 / 436.2 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.407e-06/0.364, allocations: 8.484 kB / 436.2 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.364, allocations: 0 / 436.2 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002284/0.3643, allocations: 168.7 kB / 436.4 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.3643, allocations: 7.984 kB / 436.4 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.3644, allocations: 23.92 kB / 436.4 MB, free: 1.195 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3644, allocations: 0 / 436.4 MB, free: 1.195 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.3644, allocations: 7.875 kB / 436.4 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.3644, allocations: 4 kB / 436.4 MB, free: 1.184 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.3644, allocations: 0 / 436.4 MB, free: 1.184 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003107/0.3647, allocations: 187.5 kB / 436.6 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.957e-05/0.3647, allocations: 7.953 kB / 436.6 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/0.3648, allocations: 7.938 kB / 436.6 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.3649, allocations: 15.98 kB / 436.6 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.143e-05/0.3649, allocations: 0 / 436.6 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.3649, allocations: 3.984 kB / 436.6 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.924e-05/0.365, allocations: 91.28 kB / 436.7 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of sort global known variables: time 5.1e-08/0.365, allocations: 0 / 436.7 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002471/0.3652, allocations: 23.89 kB / 436.8 MB, free: 0.8359 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.0008103/0.366, allocations: 0.7592 MB / 437.5 MB, free: 52 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002881/0.3663, allocations: 67.98 kB / 437.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.3663, allocations: 4 kB / 437.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.3664, allocations: 35.86 kB / 437.6 MB, free: 15.95 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000383/0.3668, allocations: 11.94 kB / 437.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/0.3688, allocations: 1.464 MB / 439.1 MB, free: 14.39 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/0.3692, allocations: 0.6924 MB / 439.8 MB, free: 13.67 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.909e-05/0.3692, allocations: 4 kB / 439.8 MB, free: 13.67 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.195e-05/0.3693, allocations: 27.42 kB / 439.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of SimCode: time 1.233e-06/0.3693, allocations: 0 / 439.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03182/0.4011, allocations: 2.035 MB / 441.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.96, allocations: 15.11 kB / 441.9 MB, free: 11.71 MB / 350.1 MB " [Timeout remaining time 648] (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: 14.578571685000497]