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.001891/0.001891, allocations: 112 kB / 20.43 MB, free: 1.465 MB / 14.72 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.002095/0.002095, allocations: 186.9 kB / 23.71 MB, free: 4.719 MB / 14.72 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 1.382/1.382, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] 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 0.00152/0.00152, allocations: 47.92 kB / 370.4 MB, free: 9.844 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2485, allocations: 52.18 MB / 422.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.002969/0.2514, allocations: 1.605 MB / 424.2 MB, free: 13 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009834/0.2524, allocations: 0.5299 MB / 424.8 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.645e-05/0.2525, allocations: 0 / 424.8 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.278e-05/0.2525, allocations: 3.938 kB / 424.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.041e-05/0.2526, allocations: 7.875 kB / 424.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002586/0.2529, allocations: 51.83 kB / 424.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.753e-05/0.253, allocations: 51.84 kB / 424.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.2531, allocations: 23.92 kB / 424.9 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.006e-05/0.2531, allocations: 23.91 kB / 424.9 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.071e-05/0.2532, allocations: 23.86 kB / 424.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.2532, allocations: 7.938 kB / 425 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001866/0.2534, allocations: 39.97 kB / 425 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.873e-05/0.2534, allocations: 11.94 kB / 425 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.261e-05/0.2534, allocations: 35.78 kB / 425 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001872/0.2536, allocations: 80.55 kB / 425.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2536, allocations: 0 / 425.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.2536, allocations: 4 kB / 425.1 MB, free: 12.11 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.2536, allocations: 3.938 kB / 425.1 MB, free: 12.11 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.0004619/0.2541, allocations: 305.5 kB / 425.4 MB, free: 11.79 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.2541, allocations: 8.031 kB / 425.4 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.565e-05/0.2542, allocations: 46.67 kB / 425.5 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003634/0.2546, allocations: 48.8 kB / 425.5 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.2547, allocations: 122.4 kB / 425.6 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.2547, allocations: 8.125 kB / 425.7 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.2547, allocations: 12 kB / 425.7 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002281/0.255, allocations: 88.92 kB / 425.7 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.255, allocations: 4 kB / 425.8 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.255, allocations: 11.88 kB / 425.8 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.255, allocations: 0 / 425.8 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000209/0.2552, allocations: 63.95 kB / 425.8 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006032/0.2558, allocations: 339.6 kB / 426.2 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.256, allocations: 70.55 kB / 426.2 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.874e-05/0.2561, allocations: 32.95 kB / 426.3 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.2561, allocations: 4 kB / 426.3 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.2561, allocations: 42.5 kB / 426.3 MB, free: 10.8 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.502e-06/0.2561, allocations: 0 / 426.3 MB, free: 10.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004165/0.2566, allocations: 125.5 kB / 426.4 MB, free: 10.67 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.2566, allocations: 51.41 kB / 426.5 MB, free: 10.61 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.2567, allocations: 129.9 kB / 426.6 MB, free: 10.47 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.2567, allocations: 25.7 kB / 426.6 MB, free: 10.44 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.025e-05/0.2568, allocations: 104 kB / 426.7 MB, free: 10.34 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.2568, allocations: 19.89 kB / 426.8 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.096e-05/0.2569, allocations: 13.72 kB / 426.8 MB, free: 10.3 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.257, allocations: 318.8 kB / 427.1 MB, free: 9.977 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.2571, allocations: 23.98 kB / 427.1 MB, free: 9.953 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.093e-05/0.2572, allocations: 35.97 kB / 427.1 MB, free: 9.918 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001686/0.2574, allocations: 52.77 kB / 427.2 MB, free: 9.863 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2574, allocations: 3.938 kB / 427.2 MB, free: 9.859 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002408/0.2576, allocations: 105.5 kB / 427.3 MB, free: 9.75 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.2576, allocations: 4 kB / 427.3 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.2576, allocations: 0 / 427.3 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.2577, allocations: 4 kB / 427.3 MB, free: 9.742 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.2578, allocations: 15.98 kB / 427.3 MB, free: 9.727 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.2578, allocations: 4 kB / 427.3 MB, free: 9.723 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.799e-05/0.2579, allocations: 7.984 kB / 427.3 MB, free: 9.715 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.2579, allocations: 4 kB / 427.3 MB, free: 9.711 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 8.323e-05/0.258, allocations: 109.8 kB / 427.4 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.211e-05/0.258, allocations: 11.89 kB / 427.5 MB, free: 9.582 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003015/0.2583, allocations: 118.1 kB / 427.6 MB, free: 9.457 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2583, allocations: 0 / 427.6 MB, free: 9.457 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.2583, allocations: 0 / 427.6 MB, free: 9.457 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2583, allocations: 0 / 427.6 MB, free: 9.457 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002136/0.2585, allocations: 168.7 kB / 427.7 MB, free: 9.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.2585, allocations: 0 / 427.7 MB, free: 9.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.2586, allocations: 27.92 kB / 427.8 MB, free: 9.223 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.2586, allocations: 4 kB / 427.8 MB, free: 9.219 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.2587, allocations: 0 / 427.8 MB, free: 9.219 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2587, allocations: 0 / 427.8 MB, free: 9.219 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2587, allocations: 0 / 427.8 MB, free: 9.219 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002895/0.2589, allocations: 203.3 kB / 428 MB, free: 9.004 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.402e-05/0.259, allocations: 7.891 kB / 428 MB, free: 8.996 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.259, allocations: 4 kB / 428 MB, free: 8.992 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.2591, allocations: 11.98 kB / 428 MB, free: 8.98 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.781e-05/0.2591, allocations: 11.98 kB / 428 MB, free: 8.969 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.2591, allocations: 0 / 428 MB, free: 8.969 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.279e-05/0.2592, allocations: 95.27 kB / 428.1 MB, free: 8.875 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2592, allocations: 0 / 428.1 MB, free: 8.875 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002286/0.2594, allocations: 8 kB / 428.1 MB, free: 8.867 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.0007145/0.2601, allocations: 0.767 MB / 428.9 MB, free: 8.074 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002379/0.2604, allocations: 63.98 kB / 428.9 MB, free: 8.012 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2604, allocations: 0 / 428.9 MB, free: 8.012 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.2605, allocations: 35.92 kB / 429 MB, free: 7.977 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.2608, allocations: 15.92 kB / 429 MB, free: 7.961 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001846/0.2626, allocations: 1.473 MB / 430.4 MB, free: 6.406 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/0.263, allocations: 0.7 MB / 431.1 MB, free: 5.68 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.66e-05/0.263, allocations: 7.984 kB / 431.2 MB, free: 5.672 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.677e-05/0.2631, allocations: 23.44 kB / 431.2 MB, free: 5.648 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2631, allocations: 4 kB / 431.2 MB, free: 5.645 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02958/0.2927, allocations: 2.084 MB / 433.3 MB, free: 3.695 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/11.89, allocations: 11.94 kB / 433.3 MB, free: 3.684 MB / 334.1 MB " [Timeout remaining time 648] (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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.222861235997698]