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.004808/0.004808, allocations: 113.7 kB / 21.97 MB, free: 5.219 MB / 14.72 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.001366/0.001366, allocations: 216.2 kB / 25.28 MB, free: 3.246 MB / 14.72 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 1.358/1.358, allocations: 207.6 MB / 236.1 MB, free: 9.977 MB / 190.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.Densities,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Densities",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 47.92 kB / 348 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3244, allocations: 49.17 MB / 397.1 MB, free: 8.945 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.002639/0.327, allocations: 1.571 MB / 398.7 MB, free: 7.895 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009291/0.3279, allocations: 0.5844 MB / 399.3 MB, free: 7.492 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.289e-05/0.328, allocations: 1.5 kB / 399.3 MB, free: 7.492 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.845e-05/0.328, allocations: 13.27 kB / 399.3 MB, free: 7.48 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.622e-05/0.3281, allocations: 8.938 kB / 399.3 MB, free: 7.473 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002513/0.3284, allocations: 37.8 kB / 399.4 MB, free: 7.457 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.596e-05/0.3284, allocations: 50.33 kB / 399.4 MB, free: 7.434 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.3286, allocations: 20.95 kB / 399.4 MB, free: 7.422 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.274e-05/0.3286, allocations: 25.34 kB / 399.4 MB, free: 7.406 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.202e-05/0.3287, allocations: 26.36 kB / 399.5 MB, free: 7.391 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.3287, allocations: 4.969 kB / 399.5 MB, free: 7.391 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001757/0.3289, allocations: 44.72 kB / 399.5 MB, free: 7.379 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.826e-05/0.3289, allocations: 14.66 kB / 399.5 MB, free: 7.367 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.619e-05/0.3289, allocations: 31.08 kB / 399.6 MB, free: 7.344 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001827/0.3291, allocations: 83 kB / 399.6 MB, free: 7.316 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3291, allocations: 0 / 399.6 MB, free: 7.316 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3291, allocations: 0 / 399.6 MB, free: 7.316 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.3291, allocations: 3.938 kB / 399.7 MB, free: 7.312 MB / 318.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.0004278/0.3296, allocations: 308.1 kB / 400 MB, free: 7.016 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.3296, allocations: 13.73 kB / 400 MB, free: 7.012 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.995e-05/0.3296, allocations: 3.797 kB / 400 MB, free: 7.012 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.952e-05/0.3297, allocations: 45.5 kB / 400 MB, free: 6.965 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003804/0.3301, allocations: 48.77 kB / 400.1 MB, free: 6.957 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.453e-05/0.3302, allocations: 129 kB / 400.2 MB, free: 6.812 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/0.3302, allocations: 3.969 kB / 400.2 MB, free: 6.812 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.071e-05/0.3302, allocations: 15.69 kB / 400.2 MB, free: 6.805 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002446/0.3305, allocations: 106.9 kB / 400.3 MB, free: 6.746 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.3305, allocations: 0 / 400.3 MB, free: 6.746 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.3305, allocations: 1.75 kB / 400.3 MB, free: 6.746 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.3305, allocations: 1.938 kB / 400.3 MB, free: 6.746 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002373/0.3307, allocations: 76.75 kB / 400.4 MB, free: 6.73 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005982/0.3313, allocations: 360.6 kB / 400.7 MB, free: 6.438 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000228/0.3315, allocations: 88.67 kB / 400.8 MB, free: 6.398 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001283/0.3317, allocations: 55.19 kB / 400.9 MB, free: 6.375 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.3317, allocations: 1.312 kB / 400.9 MB, free: 6.375 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.3317, allocations: 36.12 kB / 400.9 MB, free: 6.332 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.3317, allocations: 0 / 400.9 MB, free: 6.332 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.001683/0.3334, allocations: 405.8 kB / 401.3 MB, free: 6.188 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.313e-05/0.3334, allocations: 58.14 kB / 401.4 MB, free: 6.121 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.382e-05/0.3335, allocations: 120.6 kB / 401.5 MB, free: 6.016 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.3335, allocations: 26.92 kB / 401.5 MB, free: 5.984 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.124e-05/0.3335, allocations: 97.48 kB / 401.6 MB, free: 5.887 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.057e-05/0.3336, allocations: 59.03 kB / 401.7 MB, free: 5.84 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.009e-05/0.3336, allocations: 31.06 kB / 401.7 MB, free: 5.816 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.941e-05/0.3337, allocations: 324.6 kB / 402 MB, free: 5.496 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/0.3339, allocations: 53.72 kB / 402.1 MB, free: 5.484 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001695/0.334, allocations: 78.17 kB / 402.1 MB, free: 5.449 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003231/0.3343, allocations: 133 kB / 402.3 MB, free: 5.395 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3343, allocations: 0 / 402.3 MB, free: 5.395 MB / 318.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004057/0.3348, allocations: 185.7 kB / 402.5 MB, free: 5.312 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.3348, allocations: 9.125 kB / 402.5 MB, free: 5.309 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.3348, allocations: 1.062 kB / 402.5 MB, free: 5.309 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.3348, allocations: 1.188 kB / 402.5 MB, free: 5.309 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002859/0.3351, allocations: 51.45 kB / 402.5 MB, free: 5.301 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.3351, allocations: 0.9375 kB / 402.5 MB, free: 5.301 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.3353, allocations: 21.69 kB / 402.5 MB, free: 5.297 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/0.3353, allocations: 9.109 kB / 402.6 MB, free: 5.293 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.415e-05/0.3353, allocations: 118.1 kB / 402.7 MB, free: 5.172 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.76e-05/0.3354, allocations: 13.22 kB / 402.7 MB, free: 5.164 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004864/0.3359, allocations: 211.8 kB / 402.9 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.3359, allocations: 1.5 kB / 402.9 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.3359, allocations: 2.094 kB / 402.9 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.3359, allocations: 0.7031 kB / 402.9 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008504/0.3367, allocations: 0.5286 MB / 403.4 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.3367, allocations: 0.5625 kB / 403.4 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002429/0.337, allocations: 41.78 kB / 403.5 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.337, allocations: 2.281 kB / 403.5 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.337, allocations: 11.03 kB / 403.5 MB, free: 4.672 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.337, allocations: 5.734 kB / 403.5 MB, free: 4.668 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.337, allocations: 1 kB / 403.5 MB, free: 4.668 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004533/0.3375, allocations: 292.7 kB / 403.8 MB, free: 4.469 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.717e-05/0.3375, allocations: 21.14 kB / 403.8 MB, free: 4.453 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.622e-05/0.3375, allocations: 5.812 kB / 403.8 MB, free: 4.449 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.3377, allocations: 16.94 kB / 403.8 MB, free: 4.449 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.274e-05/0.3378, allocations: 19.19 kB / 403.8 MB, free: 4.441 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.3378, allocations: 8.547 kB / 403.8 MB, free: 4.438 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.531e-05/0.3378, allocations: 98.03 kB / 403.9 MB, free: 4.355 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3378, allocations: 0 / 403.9 MB, free: 4.355 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000251/0.3381, allocations: 24.94 kB / 404 MB, free: 4.352 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 17 * 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.0007964/0.3389, allocations: 0.9108 MB / 404.9 MB, free: 3.586 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003993/0.3393, allocations: 148 kB / 405 MB, free: 3.547 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3393, allocations: 0 / 405 MB, free: 3.547 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001807/0.3394, allocations: 79.39 kB / 405.1 MB, free: 3.523 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.3398, allocations: 18.94 kB / 405.1 MB, free: 3.512 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002406/0.3422, allocations: 1.832 MB / 406.9 MB, free: 2.094 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001482/0.3423, allocations: 0.7094 MB / 407.6 MB, free: 1.391 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.102e-05/0.3424, allocations: 14.69 kB / 407.7 MB, free: 1.387 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.3425, allocations: 40.33 kB / 407.7 MB, free: 1.359 MB / 318.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3425, allocations: 0 / 407.7 MB, free: 1.359 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02579/0.3683, allocations: 3.332 MB / 411 MB, free: 320 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.65, allocations: 11.72 kB / 411 MB, free: 312 kB / 318.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Densities_fmu --startTime=0 --stopTime=20 --stepSize=0.02 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/Densities/Densities.csv","/var/lib/jenkins1/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: 13.959502275974955]