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.00133/0.00133, allocations: 118.3 kB / 19.17 MB, free: 3.898 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.001346/0.001346, allocations: 205.7 kB / 22.12 MB, free: 0.9609 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.395/1.395, allocations: 207.6 MB / 232.5 MB, free: 11.52 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.001734/0.001734, allocations: 49.03 kB / 343 MB, free: 12.29 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2696, allocations: 49.13 MB / 392.1 MB, free: 8.691 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.002396/0.272, allocations: 1.572 MB / 393.7 MB, free: 7.629 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008501/0.2728, allocations: 0.5696 MB / 394.3 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.335e-05/0.2729, allocations: 5.125 kB / 394.3 MB, free: 7.23 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.898e-05/0.2729, allocations: 9.375 kB / 394.3 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.374e-05/0.273, allocations: 13.89 kB / 394.3 MB, free: 7.211 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002559/0.2733, allocations: 36.94 kB / 394.3 MB, free: 7.195 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.468e-05/0.2734, allocations: 50.59 kB / 394.4 MB, free: 7.172 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.2735, allocations: 21.17 kB / 394.4 MB, free: 7.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.946e-05/0.2735, allocations: 22.7 kB / 394.4 MB, free: 7.148 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.398e-05/0.2736, allocations: 25.3 kB / 394.4 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.2736, allocations: 8.875 kB / 394.4 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001705/0.2738, allocations: 43.8 kB / 394.5 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.817e-05/0.2738, allocations: 20.17 kB / 394.5 MB, free: 7.102 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.787e-05/0.2738, allocations: 23.75 kB / 394.5 MB, free: 7.086 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.274, allocations: 85.75 kB / 394.6 MB, free: 7.055 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.274, allocations: 0 / 394.6 MB, free: 7.055 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.274, allocations: 1.219 kB / 394.6 MB, free: 7.055 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.274, allocations: 0 / 394.6 MB, free: 7.055 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.0003899/0.2744, allocations: 380.8 kB / 395 MB, free: 6.668 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.2744, allocations: 13.75 kB / 395 MB, free: 6.664 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.264e-05/0.2745, allocations: 4.062 kB / 395 MB, free: 6.664 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.068e-05/0.2745, allocations: 49.73 kB / 395.1 MB, free: 6.613 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003562/0.2749, allocations: 48.45 kB / 395.1 MB, free: 6.605 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.418e-05/0.2749, allocations: 177.4 kB / 395.3 MB, free: 6.398 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.275, allocations: 4.656 kB / 395.3 MB, free: 6.398 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/0.275, allocations: 10.19 kB / 395.3 MB, free: 6.395 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002299/0.2752, allocations: 107.4 kB / 395.4 MB, free: 6.336 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.2752, allocations: 4.734 kB / 395.4 MB, free: 6.332 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.2752, allocations: 1.062 kB / 395.4 MB, free: 6.332 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.2753, allocations: 2.25 kB / 395.4 MB, free: 6.332 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002301/0.2755, allocations: 81.17 kB / 395.5 MB, free: 6.312 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005711/0.2761, allocations: 395.9 kB / 395.9 MB, free: 5.98 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002247/0.2763, allocations: 92.77 kB / 396 MB, free: 5.938 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.2764, allocations: 50.81 kB / 396 MB, free: 5.918 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.2764, allocations: 1.031 kB / 396 MB, free: 5.918 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.209e-05/0.2764, allocations: 36.39 kB / 396 MB, free: 5.875 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/0.2764, allocations: 1.125 kB / 396 MB, free: 5.875 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.001681/0.2781, allocations: 405.4 kB / 396.4 MB, free: 5.73 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.182e-05/0.2781, allocations: 58.5 kB / 396.5 MB, free: 5.664 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.51e-05/0.2782, allocations: 119.9 kB / 396.6 MB, free: 5.559 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.2782, allocations: 26.73 kB / 396.6 MB, free: 5.527 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.088e-05/0.2783, allocations: 94.52 kB / 396.7 MB, free: 5.434 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.26e-05/0.2783, allocations: 58.45 kB / 396.8 MB, free: 5.387 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.278e-05/0.2784, allocations: 31.39 kB / 396.8 MB, free: 5.363 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.621e-05/0.2784, allocations: 324.2 kB / 397.1 MB, free: 5.043 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/0.2786, allocations: 54.62 kB / 397.2 MB, free: 5.031 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/0.2787, allocations: 77.42 kB / 397.3 MB, free: 4.996 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003202/0.2791, allocations: 136.5 kB / 397.4 MB, free: 4.938 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.2791, allocations: 1.344 kB / 397.4 MB, free: 4.938 MB / 318.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003939/0.2795, allocations: 180.4 kB / 397.6 MB, free: 4.859 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.2795, allocations: 9.375 kB / 397.6 MB, free: 4.855 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.2795, allocations: 0 / 397.6 MB, free: 4.855 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.2795, allocations: 2.922 kB / 397.6 MB, free: 4.855 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002812/0.2798, allocations: 49.86 kB / 397.6 MB, free: 4.848 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.2798, allocations: 1.062 kB / 397.6 MB, free: 4.848 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000181/0.28, allocations: 21.75 kB / 397.7 MB, free: 4.844 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/0.28, allocations: 5.25 kB / 397.7 MB, free: 4.844 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.923e-05/0.28, allocations: 118.4 kB / 397.8 MB, free: 4.723 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.768e-05/0.2801, allocations: 17.03 kB / 397.8 MB, free: 4.711 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005242/0.2806, allocations: 208.6 kB / 398 MB, free: 4.617 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.2806, allocations: 2.938 kB / 398 MB, free: 4.617 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.2806, allocations: 0.5156 kB / 398 MB, free: 4.617 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.2806, allocations: 0.6562 kB / 398 MB, free: 4.617 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007942/0.2814, allocations: 0.5561 MB / 398.6 MB, free: 4.203 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2814, allocations: 0 / 398.6 MB, free: 4.203 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002348/0.2817, allocations: 40.64 kB / 398.6 MB, free: 4.203 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.2817, allocations: 5.562 kB / 398.6 MB, free: 4.199 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.2817, allocations: 9.672 kB / 398.6 MB, free: 4.195 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.2817, allocations: 5.344 kB / 398.6 MB, free: 4.191 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.2817, allocations: 9.109 kB / 398.6 MB, free: 4.184 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004101/0.2821, allocations: 292.7 kB / 398.9 MB, free: 3.984 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.207e-05/0.2821, allocations: 88.89 kB / 399 MB, free: 3.883 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.2821, allocations: 5.406 kB / 399 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/0.2823, allocations: 20.59 kB / 399 MB, free: 3.875 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.075e-05/0.2824, allocations: 22.55 kB / 399.1 MB, free: 3.863 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.2824, allocations: 4.156 kB / 399.1 MB, free: 3.863 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.028e-05/0.2824, allocations: 98.27 kB / 399.2 MB, free: 3.781 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2824, allocations: 0 / 399.2 MB, free: 3.781 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002557/0.2827, allocations: 24.25 kB / 399.2 MB, free: 3.777 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.0008028/0.2835, allocations: 0.9052 MB / 400.1 MB, free: 3.02 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004429/0.2839, allocations: 154.8 kB / 400.2 MB, free: 2.973 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2839, allocations: 0 / 400.2 MB, free: 2.973 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001927/0.2841, allocations: 86.39 kB / 400.3 MB, free: 2.945 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003413/0.2845, allocations: 13.8 kB / 400.3 MB, free: 2.938 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002175/0.2867, allocations: 1.841 MB / 402.2 MB, free: 1.512 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001338/0.2868, allocations: 0.7046 MB / 402.9 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.82e-05/0.2869, allocations: 19.64 kB / 402.9 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.287, allocations: 36.03 kB / 402.9 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of SimCode: time 4.41e-07/0.287, allocations: 0 / 402.9 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02115/0.3081, allocations: 3.176 MB / 406.1 MB, free: 108 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.41/8.718, allocations: 8.812 kB / 406.1 MB, free: 104 kB / 318.1 MB " [Timeout remaining time 651] (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: 10.9991483160411]