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.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.001343/0.001343, allocations: 120 kB / 18.45 MB, free: 4.605 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.001323/0.001323, allocations: 190.9 kB / 21.39 MB, free: 1.672 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.48/1.48, allocations: 207.6 MB / 231.8 MB, free: 4.086 MB / 174.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.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.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001695/0.001695, allocations: 55.91 kB / 342.3 MB, free: 10.02 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09362/0.09531, allocations: 49.12 MB / 391.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.002846/0.09816, allocations: 1.57 MB / 392.9 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.09918, allocations: 0.5675 MB / 393.5 MB, free: 6.582 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.147e-05/0.09923, allocations: 3.938 kB / 393.5 MB, free: 6.578 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.349e-05/0.09927, allocations: 7.875 kB / 393.5 MB, free: 6.57 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.209e-05/0.09935, allocations: 11.88 kB / 393.5 MB, free: 6.559 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002361/0.09958, allocations: 43.88 kB / 393.6 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.256e-05/0.09968, allocations: 47.86 kB / 393.6 MB, free: 6.469 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.09979, allocations: 27.86 kB / 393.7 MB, free: 6.441 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.133e-05/0.09984, allocations: 23.86 kB / 393.7 MB, free: 6.418 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.126e-05/0.0999, allocations: 31.84 kB / 393.7 MB, free: 6.387 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.09992, allocations: 8 kB / 393.7 MB, free: 6.379 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001661/0.1001, allocations: 35.97 kB / 393.8 MB, free: 6.344 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.113e-05/0.1001, allocations: 15.92 kB / 393.8 MB, free: 6.328 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.498e-05/0.1001, allocations: 23.81 kB / 393.8 MB, free: 6.305 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001749/0.1003, allocations: 87.62 kB / 393.9 MB, free: 6.219 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1003, allocations: 0 / 393.9 MB, free: 6.219 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1003, allocations: 0 / 393.9 MB, free: 6.219 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.1003, allocations: 0 / 393.9 MB, free: 6.219 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.0005421/0.1009, allocations: 387 kB / 394.3 MB, free: 5.793 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.1009, allocations: 12.03 kB / 394.3 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.896e-05/0.101, allocations: 38.73 kB / 394.3 MB, free: 5.734 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003598/0.1013, allocations: 52.83 kB / 394.4 MB, free: 5.684 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.1015, allocations: 176.2 kB / 394.5 MB, free: 5.473 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.1015, allocations: 4.375 kB / 394.5 MB, free: 5.469 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.1015, allocations: 8.375 kB / 394.5 MB, free: 5.461 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002355/0.1018, allocations: 105.6 kB / 394.6 MB, free: 5.352 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.1018, allocations: 0 / 394.6 MB, free: 5.352 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.1018, allocations: 0 / 394.6 MB, free: 5.352 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.1018, allocations: 4 kB / 394.6 MB, free: 5.348 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002086/0.102, allocations: 71.94 kB / 394.7 MB, free: 5.277 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006179/0.1026, allocations: 356.6 kB / 395.1 MB, free: 4.879 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.1028, allocations: 70.48 kB / 395.1 MB, free: 4.801 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.902e-05/0.1029, allocations: 36.95 kB / 395.2 MB, free: 4.762 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.1029, allocations: 0 / 395.2 MB, free: 4.762 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.1029, allocations: 30.56 kB / 395.2 MB, free: 4.723 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 7.31e-07/0.1029, allocations: 0 / 395.2 MB, free: 4.723 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003928/0.1033, allocations: 133.5 kB / 395.3 MB, free: 4.586 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.1034, allocations: 51.41 kB / 395.4 MB, free: 4.523 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.965e-05/0.1035, allocations: 126.1 kB / 395.5 MB, free: 4.391 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.1035, allocations: 29.69 kB / 395.5 MB, free: 4.355 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.121e-05/0.1036, allocations: 100 kB / 395.6 MB, free: 4.254 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/0.1036, allocations: 23.77 kB / 395.7 MB, free: 4.23 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.234e-05/0.1036, allocations: 21.72 kB / 395.7 MB, free: 4.203 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.1038, allocations: 326.8 kB / 396 MB, free: 3.875 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.708e-05/0.1039, allocations: 19.98 kB / 396 MB, free: 3.855 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.573e-05/0.1039, allocations: 27.97 kB / 396 MB, free: 3.828 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.1041, allocations: 56.83 kB / 396.1 MB, free: 3.77 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1041, allocations: 4 kB / 396.1 MB, free: 3.766 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000241/0.1043, allocations: 93.59 kB / 396.2 MB, free: 3.668 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.1044, allocations: 11.94 kB / 396.2 MB, free: 3.656 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1044, allocations: 0 / 396.2 MB, free: 3.656 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.1044, allocations: 3.938 kB / 396.2 MB, free: 3.652 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.1045, allocations: 19.92 kB / 396.2 MB, free: 3.633 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.1045, allocations: 0 / 396.2 MB, free: 3.633 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.938e-05/0.1046, allocations: 19.98 kB / 396.2 MB, free: 3.613 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.1046, allocations: 0 / 396.2 MB, free: 3.613 MB / 318.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.447e-05/0.1047, allocations: 109.8 kB / 396.4 MB, free: 3.496 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.181e-05/0.1047, allocations: 11.95 kB / 396.4 MB, free: 3.484 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002904/0.105, allocations: 109.5 kB / 396.5 MB, free: 3.371 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.105, allocations: 0 / 396.5 MB, free: 3.371 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.105, allocations: 7.938 kB / 396.5 MB, free: 3.363 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-06/0.105, allocations: 0 / 396.5 MB, free: 3.363 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002222/0.1053, allocations: 193.6 kB / 396.7 MB, free: 3.125 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1053, allocations: 0.5 kB / 396.7 MB, free: 3.125 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.1054, allocations: 19.92 kB / 396.7 MB, free: 3.105 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.1054, allocations: 0 / 396.7 MB, free: 3.105 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.1054, allocations: 11.94 kB / 396.7 MB, free: 3.094 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1054, allocations: 0 / 396.7 MB, free: 3.094 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1054, allocations: 3.984 kB / 396.7 MB, free: 3.09 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002754/0.1057, allocations: 195.5 kB / 396.9 MB, free: 2.883 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.771e-05/0.1057, allocations: 85.06 kB / 397 MB, free: 2.781 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.1057, allocations: 3.938 kB / 397 MB, free: 2.777 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.1058, allocations: 11.98 kB / 397 MB, free: 2.766 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.592e-05/0.1059, allocations: 3.984 kB / 397 MB, free: 2.762 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.1059, allocations: 7.984 kB / 397 MB, free: 2.754 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.313e-05/0.1059, allocations: 99.27 kB / 397.1 MB, free: 2.656 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1059, allocations: 0 / 397.1 MB, free: 2.656 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002224/0.1062, allocations: 15.94 kB / 397.1 MB, free: 2.641 MB / 318.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.0006803/0.1068, allocations: 0.7631 MB / 397.9 MB, free: 1.852 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002376/0.1071, allocations: 63.92 kB / 397.9 MB, free: 1.789 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1071, allocations: 3.938 kB / 397.9 MB, free: 1.785 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.595e-05/0.1072, allocations: 31.98 kB / 398 MB, free: 1.754 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.1075, allocations: 8 kB / 398 MB, free: 1.746 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001824/0.1093, allocations: 1.488 MB / 399.5 MB, free: 180 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.1096, allocations: 0.6924 MB / 400.2 MB, free: 15.46 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.687e-05/0.1097, allocations: 7.984 kB / 400.2 MB, free: 15.45 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.563e-05/0.1097, allocations: 19.44 kB / 400.2 MB, free: 15.43 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.1097, allocations: 3.938 kB / 400.2 MB, free: 15.43 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02604/0.1358, allocations: 1.982 MB / 402.2 MB, free: 13.39 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.753/7.889, allocations: 15.78 kB / 402.2 MB, free: 13.38 MB / 334.1 MB " [Timeout remaining time 652] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/Densities/Densities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.246348108164966]