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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008183/0.0008183, allocations: 76.06 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007579/0.0007579, allocations: 149.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9204/0.9204, allocations: 173.4 MB / 200.4 MB, free: 9.457 MB / 186.7 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 318.4 MB, free: 6.371 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.421e-05/2.602e-05, allocations: 2.281 kB / 318.4 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.002513/0.002539, allocations: 1.557 MB / 320 MB, free: 4.793 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000818/0.003357, allocations: 0.4948 MB / 320.5 MB, free: 4.297 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.812e-05/0.003405, allocations: 0 / 320.5 MB, free: 4.297 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.197e-05/0.003447, allocations: 11.86 kB / 320.5 MB, free: 4.285 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.621e-05/0.003533, allocations: 15.88 kB / 320.5 MB, free: 4.27 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002537/0.003787, allocations: 47.77 kB / 320.6 MB, free: 4.223 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.467e-05/0.003872, allocations: 47.84 kB / 320.6 MB, free: 4.176 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.003995, allocations: 31.95 kB / 320.6 MB, free: 4.145 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.888e-05/0.004044, allocations: 23.92 kB / 320.7 MB, free: 4.121 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.608e-05/0.0041, allocations: 19.92 kB / 320.7 MB, free: 4.102 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.004121, allocations: 4 kB / 320.7 MB, free: 4.098 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000167/0.004288, allocations: 47.94 kB / 320.7 MB, free: 4.051 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.28e-05/0.00431, allocations: 11.94 kB / 320.7 MB, free: 4.039 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.186e-05/0.004342, allocations: 23.91 kB / 320.8 MB, free: 4.016 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.004522, allocations: 87.64 kB / 320.8 MB, free: 3.93 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.004524, allocations: 0 / 320.8 MB, free: 3.93 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.004525, allocations: 0 / 320.8 MB, free: 3.93 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.00453, allocations: 0 / 320.8 MB, free: 3.93 MB / 282.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.0004649/0.004995, allocations: 301.3 kB / 321.1 MB, free: 3.609 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.122e-05/0.005056, allocations: 8.922 kB / 321.1 MB, free: 3.602 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.204e-05/0.005148, allocations: 50.62 kB / 321.2 MB, free: 3.543 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002826/0.005431, allocations: 52.84 kB / 321.2 MB, free: 3.492 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.005543, allocations: 113.7 kB / 321.4 MB, free: 3.355 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.089e-05/0.005574, allocations: 8.312 kB / 321.4 MB, free: 3.348 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.005595, allocations: 8.375 kB / 321.4 MB, free: 3.34 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.005789, allocations: 101.4 kB / 321.5 MB, free: 3.234 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.005797, allocations: 0 / 321.5 MB, free: 3.234 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.00581, allocations: 4 kB / 321.5 MB, free: 3.23 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.005818, allocations: 4 kB / 321.5 MB, free: 3.227 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001418/0.00596, allocations: 67.94 kB / 321.5 MB, free: 3.16 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005252/0.006485, allocations: 315.7 kB / 321.9 MB, free: 2.809 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.00662, allocations: 66.55 kB / 321.9 MB, free: 2.734 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.469e-05/0.006685, allocations: 32.95 kB / 322 MB, free: 2.699 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.006701, allocations: 0 / 322 MB, free: 2.699 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.006729, allocations: 46.5 kB / 322 MB, free: 2.645 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.00673, allocations: 0 / 322 MB, free: 2.645 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002691/0.006999, allocations: 121.5 kB / 322.1 MB, free: 2.52 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.007028, allocations: 51.41 kB / 322.2 MB, free: 2.457 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.415e-05/0.007102, allocations: 118.1 kB / 322.3 MB, free: 2.328 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.007117, allocations: 33.69 kB / 322.3 MB, free: 2.289 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.177e-05/0.007159, allocations: 96.03 kB / 322.4 MB, free: 2.191 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.167e-05/0.00718, allocations: 27.78 kB / 322.4 MB, free: 2.164 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.972e-05/0.00721, allocations: 17.72 kB / 322.5 MB, free: 2.141 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.891e-05/0.007299, allocations: 322.8 kB / 322.8 MB, free: 1.816 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.555e-05/0.007354, allocations: 19.98 kB / 322.8 MB, free: 1.797 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.258e-05/0.007407, allocations: 35.91 kB / 322.8 MB, free: 1.762 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.007509, allocations: 56.83 kB / 322.9 MB, free: 1.703 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.007511, allocations: 3.938 kB / 322.9 MB, free: 1.699 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001323/0.007643, allocations: 94.02 kB / 323 MB, free: 1.602 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.007657, allocations: 8 kB / 323 MB, free: 1.594 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.007663, allocations: 8 kB / 323 MB, free: 1.586 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.007675, allocations: 0 / 323 MB, free: 1.586 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.58e-05/0.007751, allocations: 15.98 kB / 323 MB, free: 1.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.007756, allocations: 0 / 323 MB, free: 1.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.76e-05/0.007793, allocations: 15.94 kB / 323 MB, free: 1.555 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.453e-06/0.0078, allocations: 3.984 kB / 323 MB, free: 1.551 MB / 282.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 6.573e-05/0.007865, allocations: 121.8 kB / 323.1 MB, free: 1.422 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.431e-05/0.00788, allocations: 7.938 kB / 323.2 MB, free: 1.414 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001909/0.008071, allocations: 113.7 kB / 323.3 MB, free: 1.293 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.008073, allocations: 0 / 323.3 MB, free: 1.293 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.008078, allocations: 0 / 323.3 MB, free: 1.293 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.217e-06/0.008081, allocations: 0 / 323.3 MB, free: 1.293 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.00823, allocations: 160.7 kB / 323.4 MB, free: 1.094 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.008231, allocations: 4 kB / 323.4 MB, free: 1.09 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.695e-05/0.008278, allocations: 19.97 kB / 323.4 MB, free: 1.07 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.008281, allocations: 4 kB / 323.4 MB, free: 1.066 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.00829, allocations: 3.938 kB / 323.5 MB, free: 1.062 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.008291, allocations: 0 / 323.5 MB, free: 1.062 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.008295, allocations: 3.938 kB / 323.5 MB, free: 1.059 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/0.008462, allocations: 191.5 kB / 323.6 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.169e-05/0.008474, allocations: 3.984 kB / 323.6 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.008489, allocations: 15.94 kB / 323.7 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.599e-05/0.008535, allocations: 4 kB / 323.7 MB, free: 0.832 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.512e-05/0.00857, allocations: 7.984 kB / 323.7 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.748e-06/0.008574, allocations: 0 / 323.7 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.238e-05/0.008616, allocations: 97.89 kB / 323.8 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008616, allocations: 0 / 323.8 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001557/0.008772, allocations: 19.89 kB / 323.8 MB, free: 0.7109 MB / 282.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.0004857/0.009258, allocations: 0.7672 MB / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001557/0.009414, allocations: 67.89 kB / 324.6 MB, free: 15.85 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.009415, allocations: 0 / 324.6 MB, free: 15.85 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.908e-05/0.009474, allocations: 39.91 kB / 324.7 MB, free: 15.81 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.009684, allocations: 4 kB / 324.7 MB, free: 15.81 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.01091, allocations: 1.479 MB / 326.1 MB, free: 14.25 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.556e-05/0.01097, allocations: 75.89 kB / 326.2 MB, free: 14.15 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.22e-05/0.01101, allocations: 11.94 kB / 326.2 MB, free: 14.14 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.334e-05/0.01106, allocations: 24.48 kB / 326.3 MB, free: 14.11 MB / 298.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01106, allocations: 4 kB / 326.3 MB, free: 14.11 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01618/0.02724, allocations: 2.674 MB / 328.9 MB, free: 11.56 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.769/6.796, allocations: 15.36 kB / 328.9 MB, free: 11.55 MB / 298.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Blocks_Examples_Noise_Densities.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/Densities/Densities.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.601222155615687]