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.0008945/0.0008945, allocations: 76.36 kB / 20.67 MB, free: 3.883 MB / 18.57 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.001073/0.001073, allocations: 164.9 kB / 23.95 MB, free: 0.5977 MB / 18.57 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 0.8817/0.8817, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.593e-06/1.593e-06, allocations: 0 / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.7e-05/1.86e-05, allocations: 3.266 kB / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.001797/0.001816, allocations: 1.581 MB / 326.1 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006527/0.002468, allocations: 0.5415 MB / 326.6 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.141e-05/0.00251, allocations: 0 / 326.6 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.913e-05/0.002539, allocations: 11.88 kB / 326.7 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.51e-05/0.002604, allocations: 15.8 kB / 326.7 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002224/0.002826, allocations: 51.77 kB / 326.7 MB, free: 13.65 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.231e-05/0.002899, allocations: 51.84 kB / 326.8 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.801e-05/0.002997, allocations: 15.98 kB / 326.8 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.425e-05/0.003041, allocations: 31.91 kB / 326.8 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.564e-05/0.003086, allocations: 15.92 kB / 326.8 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.003101, allocations: 4 kB / 326.8 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001781/0.003279, allocations: 59.88 kB / 326.9 MB, free: 13.47 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.396e-05/0.003293, allocations: 15.94 kB / 326.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.207e-05/0.003315, allocations: 19.91 kB / 326.9 MB, free: 13.44 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000141/0.003456, allocations: 95.62 kB / 327 MB, free: 13.34 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.003458, allocations: 0 / 327 MB, free: 13.34 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.003459, allocations: 0 / 327 MB, free: 13.34 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.003463, allocations: 0 / 327 MB, free: 13.34 MB / 298.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.0003325/0.003795, allocations: 294 kB / 327.3 MB, free: 13.03 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.003832, allocations: 15.98 kB / 327.3 MB, free: 13.01 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.586e-05/0.003888, allocations: 50.62 kB / 327.4 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002383/0.004126, allocations: 56.83 kB / 327.4 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.542e-05/0.004202, allocations: 113.7 kB / 327.5 MB, free: 12.76 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.004223, allocations: 4.375 kB / 327.5 MB, free: 12.76 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.004235, allocations: 12.31 kB / 327.6 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.004398, allocations: 98.05 kB / 327.7 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.004406, allocations: 192 / 327.7 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.004417, allocations: 8.125 kB / 327.7 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.004422, allocations: 8 kB / 327.7 MB, free: 12.63 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.004546, allocations: 71.38 kB / 327.7 MB, free: 12.56 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003922/0.004938, allocations: 315.7 kB / 328 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.005056, allocations: 70.53 kB / 328.1 MB, free: 12.13 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.468e-05/0.005111, allocations: 28.97 kB / 328.1 MB, free: 12.1 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.005124, allocations: 8 kB / 328.2 MB, free: 12.09 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.684e-05/0.005141, allocations: 34.5 kB / 328.2 MB, free: 12.05 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.005142, allocations: 0 / 328.2 MB, free: 12.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.000248/0.00539, allocations: 121.6 kB / 328.3 MB, free: 11.93 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/0.005417, allocations: 55.41 kB / 328.4 MB, free: 11.86 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.269e-05/0.005479, allocations: 129.1 kB / 328.5 MB, free: 11.72 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.00549, allocations: 33.7 kB / 328.5 MB, free: 11.68 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.626e-05/0.005527, allocations: 100 kB / 328.6 MB, free: 11.58 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.883e-05/0.005545, allocations: 23.8 kB / 328.6 MB, free: 11.56 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.013e-05/0.005576, allocations: 21.7 kB / 328.7 MB, free: 11.53 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.065e-05/0.005646, allocations: 310.8 kB / 329 MB, free: 11.22 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.373e-05/0.0057, allocations: 27.97 kB / 329 MB, free: 11.19 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.46e-05/0.005745, allocations: 27.98 kB / 329 MB, free: 11.16 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.859e-05/0.005843, allocations: 68.69 kB / 329.1 MB, free: 11.09 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.005845, allocations: 0 / 329.1 MB, free: 11.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001239/0.005969, allocations: 93.61 kB / 329.2 MB, free: 11 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.00598, allocations: 4 kB / 329.2 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.005984, allocations: 0 / 329.2 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.005995, allocations: 4 kB / 329.2 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.925e-05/0.006074, allocations: 19.97 kB / 329.2 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.006079, allocations: 3.938 kB / 329.2 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.235e-05/0.006112, allocations: 12 kB / 329.2 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.006118, allocations: 3.984 kB / 329.2 MB, free: 10.95 MB / 298.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 5.814e-05/0.006176, allocations: 117.8 kB / 329.3 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.521e-05/0.006191, allocations: 7.953 kB / 329.3 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001843/0.006376, allocations: 113.7 kB / 329.5 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.006377, allocations: 0 / 329.5 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.006381, allocations: 4 kB / 329.5 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.006386, allocations: 8.422 kB / 329.5 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001236/0.00651, allocations: 156.7 kB / 329.6 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.00651, allocations: 0 / 329.6 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.912e-05/0.00656, allocations: 23.98 kB / 329.6 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.006562, allocations: 3.984 kB / 329.6 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.383e-06/0.006569, allocations: 0 / 329.6 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.006571, allocations: 0 / 329.6 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.006571, allocations: 0 / 329.6 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001539/0.006725, allocations: 203.3 kB / 329.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.128e-05/0.006737, allocations: 11.94 kB / 329.9 MB, free: 10.24 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.006749, allocations: 4 kB / 329.9 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.517e-05/0.006794, allocations: 8 kB / 329.9 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.755e-05/0.006812, allocations: 7.922 kB / 329.9 MB, free: 10.22 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-06/0.006815, allocations: 0 / 329.9 MB, free: 10.22 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.605e-05/0.006851, allocations: 95.27 kB / 330 MB, free: 10.12 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006851, allocations: 0 / 330 MB, free: 10.12 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001476/0.006998, allocations: 19.94 kB / 330 MB, free: 10.11 MB / 298.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.0003968/0.007395, allocations: 0.7631 MB / 330.8 MB, free: 9.316 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001387/0.007534, allocations: 60 kB / 330.8 MB, free: 9.258 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.007535, allocations: 0 / 330.8 MB, free: 9.258 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.013e-05/0.007585, allocations: 35.91 kB / 330.8 MB, free: 9.223 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.007796, allocations: 15.94 kB / 330.9 MB, free: 9.207 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.008821, allocations: 1.476 MB / 332.3 MB, free: 7.645 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.213e-05/0.008873, allocations: 91.53 kB / 332.4 MB, free: 7.531 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.23e-05/0.008905, allocations: 4 kB / 332.4 MB, free: 7.527 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.862e-05/0.008954, allocations: 24.48 kB / 332.5 MB, free: 7.504 MB / 298.7 MB Notification: Performance of SimCode: time 5.31e-07/0.008954, allocations: 0 / 332.5 MB, free: 7.504 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01321/0.02216, allocations: 2.611 MB / 335.1 MB, free: 4.996 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.604/6.626, allocations: 3.938 kB / 335.1 MB, free: 4.992 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/Densities/Densities.csv","/var/lib/jenkins/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: 8.337341699749231]