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.004681/0.004681, allocations: 100.7 kB / 21.96 MB, free: 5.211 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.001296/0.001296, allocations: 217.5 kB / 25.26 MB, free: 3.141 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.378/1.378, allocations: 207.7 MB / 236.1 MB, free: 9.816 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.001732/0.001732, allocations: 54.58 kB / 348 MB, free: 9.906 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.27, allocations: 49.16 MB / 397.1 MB, free: 8.898 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.002347/0.2724, allocations: 1.55 MB / 398.7 MB, free: 7.84 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008416/0.2732, allocations: 0.5317 MB / 399.2 MB, free: 7.492 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.657e-05/0.2732, allocations: 0.7812 kB / 399.2 MB, free: 7.492 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.539e-05/0.2733, allocations: 9.422 kB / 399.2 MB, free: 7.484 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.157e-05/0.2734, allocations: 5.531 kB / 399.2 MB, free: 7.48 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002381/0.2736, allocations: 49.94 kB / 399.3 MB, free: 7.453 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.412e-05/0.2737, allocations: 46.12 kB / 399.3 MB, free: 7.434 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.2738, allocations: 25.03 kB / 399.3 MB, free: 7.422 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.628e-05/0.2738, allocations: 34.03 kB / 399.4 MB, free: 7.398 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.11e-05/0.2739, allocations: 22.42 kB / 399.4 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.2739, allocations: 5.031 kB / 399.4 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001582/0.274, allocations: 44.03 kB / 399.5 MB, free: 7.375 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.983e-05/0.2741, allocations: 14.73 kB / 399.5 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.455e-05/0.2741, allocations: 23.14 kB / 399.5 MB, free: 7.348 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.2742, allocations: 84.27 kB / 399.6 MB, free: 7.312 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2742, allocations: 0.8906 kB / 399.6 MB, free: 7.312 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2742, allocations: 5.156 kB / 399.6 MB, free: 7.309 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.2742, allocations: 0 / 399.6 MB, free: 7.309 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.0003746/0.2746, allocations: 308.1 kB / 399.9 MB, free: 7.012 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.2747, allocations: 13.7 kB / 399.9 MB, free: 7.008 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.813e-05/0.2747, allocations: 4.188 kB / 399.9 MB, free: 7.008 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.618e-05/0.2747, allocations: 40.89 kB / 399.9 MB, free: 6.965 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003543/0.2751, allocations: 49.3 kB / 400 MB, free: 6.957 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.325e-05/0.2752, allocations: 125.8 kB / 400.1 MB, free: 6.816 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/0.2752, allocations: 7.75 kB / 400.1 MB, free: 6.812 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.557e-05/0.2752, allocations: 10.22 kB / 400.1 MB, free: 6.809 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002292/0.2754, allocations: 107.9 kB / 400.2 MB, free: 6.75 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.2754, allocations: 0 / 400.2 MB, free: 6.75 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.2755, allocations: 1.344 kB / 400.2 MB, free: 6.75 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.2755, allocations: 2.75 kB / 400.2 MB, free: 6.75 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002171/0.2757, allocations: 80.89 kB / 400.3 MB, free: 6.73 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005617/0.2762, allocations: 336.1 kB / 400.6 MB, free: 6.449 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002189/0.2765, allocations: 96.83 kB / 400.7 MB, free: 6.402 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.2766, allocations: 59.98 kB / 400.8 MB, free: 6.375 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.2766, allocations: 1.312 kB / 400.8 MB, free: 6.375 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.577e-05/0.2766, allocations: 32.25 kB / 400.8 MB, free: 6.336 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.363e-06/0.2766, allocations: 0 / 400.8 MB, free: 6.336 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.001753/0.2784, allocations: 399.6 kB / 401.2 MB, free: 6.199 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.2784, allocations: 57.41 kB / 401.3 MB, free: 6.133 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.782e-05/0.2785, allocations: 120.6 kB / 401.4 MB, free: 6.027 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.2785, allocations: 26.98 kB / 401.4 MB, free: 5.996 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.907e-05/0.2785, allocations: 98.88 kB / 401.5 MB, free: 5.898 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.905e-05/0.2785, allocations: 66.73 kB / 401.6 MB, free: 5.844 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.254e-05/0.2786, allocations: 35.31 kB / 401.6 MB, free: 5.816 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.352e-05/0.2787, allocations: 321.1 kB / 401.9 MB, free: 5.5 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.2788, allocations: 53.47 kB / 402 MB, free: 5.488 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001679/0.279, allocations: 79.31 kB / 402.1 MB, free: 5.453 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003053/0.2793, allocations: 137.2 kB / 402.2 MB, free: 5.395 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.2793, allocations: 0 / 402.2 MB, free: 5.395 MB / 318.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003931/0.2797, allocations: 181.6 kB / 402.4 MB, free: 5.316 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.2797, allocations: 8.219 kB / 402.4 MB, free: 5.312 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.2797, allocations: 1.188 kB / 402.4 MB, free: 5.312 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.2797, allocations: 1.641 kB / 402.4 MB, free: 5.312 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003041/0.28, allocations: 50.03 kB / 402.4 MB, free: 5.305 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.28, allocations: 5.609 kB / 402.4 MB, free: 5.301 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/0.2802, allocations: 21.23 kB / 402.5 MB, free: 5.297 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.2802, allocations: 5.312 kB / 402.5 MB, free: 5.297 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 6.99e-05/0.2803, allocations: 119.6 kB / 402.6 MB, free: 5.176 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.773e-05/0.2803, allocations: 16.69 kB / 402.6 MB, free: 5.164 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004735/0.2808, allocations: 207.5 kB / 402.8 MB, free: 5.066 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.2808, allocations: 2.219 kB / 402.8 MB, free: 5.066 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.2808, allocations: 2.172 kB / 402.8 MB, free: 5.066 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.2808, allocations: 0.6562 kB / 402.8 MB, free: 5.066 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008101/0.2816, allocations: 0.5126 MB / 403.3 MB, free: 4.684 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.2816, allocations: 1.281 kB / 403.3 MB, free: 4.684 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002495/0.2819, allocations: 44.77 kB / 403.4 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.2819, allocations: 1.922 kB / 403.4 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.2819, allocations: 7.016 kB / 403.4 MB, free: 4.676 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.2819, allocations: 1.781 kB / 403.4 MB, free: 4.676 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.2819, allocations: 1.188 kB / 403.4 MB, free: 4.676 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004158/0.2823, allocations: 299.1 kB / 403.7 MB, free: 4.473 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.644e-05/0.2823, allocations: 13.7 kB / 403.7 MB, free: 4.465 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.653e-05/0.2824, allocations: 5.125 kB / 403.7 MB, free: 4.461 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002011/0.2826, allocations: 20.61 kB / 403.7 MB, free: 4.457 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.895e-05/0.2826, allocations: 19.81 kB / 403.7 MB, free: 4.449 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.2826, allocations: 5.219 kB / 403.7 MB, free: 4.449 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.185e-05/0.2827, allocations: 93.7 kB / 403.8 MB, free: 4.371 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2827, allocations: 0 / 403.8 MB, free: 4.371 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002558/0.2829, allocations: 24.38 kB / 403.8 MB, free: 4.367 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.0007807/0.2837, allocations: 0.912 MB / 404.8 MB, free: 3.602 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004063/0.2841, allocations: 142.5 kB / 404.9 MB, free: 3.566 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2841, allocations: 5.125 kB / 404.9 MB, free: 3.562 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000187/0.2843, allocations: 80.86 kB / 405 MB, free: 3.539 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.2847, allocations: 13.64 kB / 405 MB, free: 3.531 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00207/0.2867, allocations: 1.838 MB / 406.8 MB, free: 2.113 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.437e-05/0.2868, allocations: 96.78 kB / 406.9 MB, free: 2.035 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.187e-05/0.2869, allocations: 14.38 kB / 406.9 MB, free: 2.031 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.795e-05/0.287, allocations: 37.3 kB / 407 MB, free: 2.008 MB / 318.1 MB Notification: Performance of SimCode: time 3.71e-07/0.287, allocations: 1.125 kB / 407 MB, free: 2.008 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02437/0.3114, allocations: 3.575 MB / 410.5 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.16, allocations: 6.188 kB / 410.6 MB, free: 0.8086 MB / 318.1 MB " [Timeout remaining time 649] (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.454278245917521]