Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 87.62 kB / 21.43 MB, free: 3.137 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.006445/0.006445, allocations: 159.4 kB / 24.69 MB, free: 9.422 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9394/0.9394, allocations: 158.6 MB / 186.5 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.Densities,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Densities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.Densities,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Densities",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 298.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.109e-05/2.325e-05, allocations: 2.281 kB / 298.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.00205/0.002074, allocations: 1.552 MB / 300 MB, free: 1.945 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007458/0.00282, allocations: 0.5393 MB / 300.5 MB, free: 1.398 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.848e-05/0.002868, allocations: 0 / 300.5 MB, free: 1.398 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.482e-05/0.002903, allocations: 11.88 kB / 300.6 MB, free: 1.387 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.165e-05/0.002974, allocations: 15.84 kB / 300.6 MB, free: 1.371 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002361/0.003211, allocations: 39.84 kB / 300.6 MB, free: 1.332 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.41e-05/0.003295, allocations: 55.83 kB / 300.7 MB, free: 1.277 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.003404, allocations: 11.98 kB / 300.7 MB, free: 1.266 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.436e-05/0.003448, allocations: 31.92 kB / 300.7 MB, free: 1.234 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.982e-05/0.003498, allocations: 19.91 kB / 300.7 MB, free: 1.215 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.003514, allocations: 4 kB / 300.7 MB, free: 1.211 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000152/0.003666, allocations: 43.91 kB / 300.8 MB, free: 1.168 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.727e-05/0.003683, allocations: 15.92 kB / 300.8 MB, free: 1.152 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.127e-05/0.003704, allocations: 15.92 kB / 300.8 MB, free: 1.137 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.003846, allocations: 91.62 kB / 300.9 MB, free: 1.047 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.003848, allocations: 0 / 300.9 MB, free: 1.047 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.003849, allocations: 0 / 300.9 MB, free: 1.047 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.003854, allocations: 0 / 300.9 MB, free: 1.047 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.0003763/0.00423, allocations: 306 kB / 301.2 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.004272, allocations: 19.92 kB / 301.2 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.886e-05/0.004331, allocations: 38.7 kB / 301.2 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002142/0.004545, allocations: 44.84 kB / 301.3 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.931e-05/0.004624, allocations: 117.7 kB / 301.4 MB, free: 480 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/0.004649, allocations: 8.375 kB / 301.4 MB, free: 472 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.004661, allocations: 8.312 kB / 301.4 MB, free: 464 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.004824, allocations: 94.2 kB / 301.5 MB, free: 364 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.004831, allocations: 192 / 301.5 MB, free: 364 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.004843, allocations: 8.125 kB / 301.5 MB, free: 356 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.004848, allocations: 4 kB / 301.5 MB, free: 352 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.004976, allocations: 75.84 kB / 301.6 MB, free: 276 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1327/0.1377, allocations: 311.8 kB / 301.9 MB, free: 15.66 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002845/0.138, allocations: 71.28 kB / 302 MB, free: 15.64 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.933e-05/0.1381, allocations: 37.33 kB / 302 MB, free: 15.63 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.862e-05/0.1381, allocations: 2.219 kB / 302 MB, free: 15.63 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.1382, allocations: 32.83 kB / 302 MB, free: 15.59 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 3.546e-06/0.1382, allocations: 0 / 302 MB, free: 15.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003744/0.1385, allocations: 121.2 kB / 302.2 MB, free: 15.56 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.1386, allocations: 53.23 kB / 302.2 MB, free: 15.5 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.669e-05/0.1387, allocations: 126.9 kB / 302.3 MB, free: 15.39 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.1387, allocations: 29.08 kB / 302.4 MB, free: 15.36 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.735e-05/0.1387, allocations: 106.3 kB / 302.5 MB, free: 15.28 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.1388, allocations: 16.09 kB / 302.5 MB, free: 15.28 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.293e-05/0.1388, allocations: 19.02 kB / 302.5 MB, free: 15.26 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.819e-05/0.1389, allocations: 318.7 kB / 302.8 MB, free: 14.95 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.069e-05/0.1389, allocations: 24.97 kB / 302.8 MB, free: 14.95 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.928e-05/0.139, allocations: 27.62 kB / 302.9 MB, free: 14.95 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.1391, allocations: 67.11 kB / 302.9 MB, free: 14.94 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.1391, allocations: 0 / 302.9 MB, free: 14.94 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001813/0.1393, allocations: 96.39 kB / 303 MB, free: 14.91 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.1393, allocations: 4.25 kB / 303 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.1393, allocations: 0.8438 kB / 303 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.402e-05/0.1394, allocations: 3.203 kB / 303 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.1395, allocations: 26.17 kB / 303.1 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.1395, allocations: 0 / 303.1 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.835e-05/0.1396, allocations: 9.984 kB / 303.1 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.1396, allocations: 2.844 kB / 303.1 MB, free: 14.91 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 7.299e-05/0.1397, allocations: 114.6 kB / 303.2 MB, free: 14.79 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.973e-05/0.1397, allocations: 7.484 kB / 303.2 MB, free: 14.79 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002882/0.14, allocations: 111.1 kB / 303.3 MB, free: 14.76 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.14, allocations: 8.125 kB / 303.3 MB, free: 14.75 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.14, allocations: 2.75 kB / 303.3 MB, free: 14.75 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.14, allocations: 1.125 kB / 303.3 MB, free: 14.75 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.1402, allocations: 162.6 kB / 303.5 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1402, allocations: 0 / 303.5 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.628e-05/0.1402, allocations: 17.59 kB / 303.5 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.1403, allocations: 1.781 kB / 303.5 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.1403, allocations: 6.969 kB / 303.5 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.1403, allocations: 5.422 kB / 303.5 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1403, allocations: 2.188 kB / 303.5 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002133/0.1405, allocations: 191.2 kB / 303.7 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.114e-05/0.1405, allocations: 8.266 kB / 303.7 MB, free: 14.45 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.1405, allocations: 1.625 kB / 303.7 MB, free: 14.45 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.054e-05/0.1406, allocations: 13.89 kB / 303.7 MB, free: 14.45 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.248e-05/0.1406, allocations: 4.453 kB / 303.7 MB, free: 14.45 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.1406, allocations: 6.094 kB / 303.7 MB, free: 14.45 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.447e-05/0.1407, allocations: 98.59 kB / 303.8 MB, free: 14.37 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1407, allocations: 0 / 303.8 MB, free: 14.37 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001729/0.1409, allocations: 14.62 kB / 303.8 MB, free: 14.36 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.0004909/0.1413, allocations: 0.7568 MB / 304.6 MB, free: 13.68 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002101/0.1416, allocations: 65.8 kB / 304.7 MB, free: 13.67 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.1416, allocations: 0 / 304.7 MB, free: 13.67 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.521e-05/0.1416, allocations: 37.7 kB / 304.7 MB, free: 13.66 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/0.142, allocations: 13.36 kB / 304.7 MB, free: 13.66 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.1434, allocations: 1.489 MB / 306.2 MB, free: 12.4 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.656e-05/0.1434, allocations: 81.16 kB / 306.3 MB, free: 12.32 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.387e-05/0.1435, allocations: 6.781 kB / 306.3 MB, free: 12.32 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.381e-05/0.1436, allocations: 30.27 kB / 306.3 MB, free: 12.3 MB / 282.7 MB Notification: Performance of SimCode: time 1.393e-06/0.1436, allocations: 0 / 306.3 MB, free: 12.3 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01781/0.1614, allocations: 2.668 MB / 309 MB, free: 11.18 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.907/7.068, allocations: 9.344 kB / 309 MB, free: 11.17 MB / 282.7 MB " [Timeout remaining time 653] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Densities.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/Densities/Densities.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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.833344157785177]