Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.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.0008374/0.0008374, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0007869/0.0007869, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8912/0.8912, allocations: 173.3 MB / 200.4 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Noise.Densities,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Densities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Densities,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Densities",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 318.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.958e-05/2.095e-05, allocations: 2.281 kB / 318.4 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.002196/0.002217, allocations: 1.549 MB / 320 MB, free: 4.789 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007249/0.002942, allocations: 0.4948 MB / 320.5 MB, free: 4.293 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.518e-05/0.002997, allocations: 0 / 320.5 MB, free: 4.293 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.182e-05/0.003029, allocations: 7.922 kB / 320.5 MB, free: 4.285 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.937e-05/0.003108, allocations: 19.81 kB / 320.5 MB, free: 4.266 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002565/0.003365, allocations: 43.83 kB / 320.6 MB, free: 4.223 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.303e-05/0.003438, allocations: 55.78 kB / 320.6 MB, free: 4.168 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.003542, allocations: 23.97 kB / 320.6 MB, free: 4.145 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.144e-05/0.003584, allocations: 27.91 kB / 320.7 MB, free: 4.117 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.44e-05/0.003628, allocations: 23.91 kB / 320.7 MB, free: 4.094 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.003643, allocations: 4 kB / 320.7 MB, free: 4.09 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001385/0.003782, allocations: 43.95 kB / 320.7 MB, free: 4.047 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.559e-05/0.003797, allocations: 7.938 kB / 320.7 MB, free: 4.039 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.346e-05/0.003821, allocations: 19.92 kB / 320.8 MB, free: 4.02 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.003964, allocations: 91.62 kB / 320.8 MB, free: 3.93 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.003968, allocations: 0 / 320.8 MB, free: 3.93 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.00397, allocations: 4 kB / 320.9 MB, free: 3.926 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.003975, allocations: 0 / 320.9 MB, free: 3.926 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.000382/0.004357, allocations: 301.3 kB / 321.1 MB, free: 3.605 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.004397, allocations: 8.922 kB / 321.2 MB, free: 3.598 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.604e-05/0.004463, allocations: 54.62 kB / 321.2 MB, free: 3.535 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002269/0.00469, allocations: 44.84 kB / 321.3 MB, free: 3.492 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.438e-05/0.004775, allocations: 113.7 kB / 321.4 MB, free: 3.355 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.364e-05/0.004808, allocations: 8.312 kB / 321.4 MB, free: 3.348 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.004822, allocations: 12.38 kB / 321.4 MB, free: 3.336 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.004986, allocations: 104.2 kB / 321.5 MB, free: 3.23 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.004992, allocations: 0 / 321.5 MB, free: 3.23 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.005003, allocations: 4 kB / 321.5 MB, free: 3.227 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.005009, allocations: 4 kB / 321.5 MB, free: 3.223 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.005137, allocations: 63.94 kB / 321.6 MB, free: 3.16 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004215/0.005559, allocations: 319.7 kB / 321.9 MB, free: 2.805 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.005678, allocations: 66.53 kB / 321.9 MB, free: 2.73 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.685e-05/0.005735, allocations: 32.97 kB / 322 MB, free: 2.695 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.26e-05/0.005748, allocations: 0 / 322 MB, free: 2.695 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.005766, allocations: 34.56 kB / 322 MB, free: 2.652 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.005767, allocations: 3.938 kB / 322 MB, free: 2.648 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002731/0.00604, allocations: 125.5 kB / 322.1 MB, free: 2.52 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.00607, allocations: 51.41 kB / 322.2 MB, free: 2.457 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.197e-05/0.006142, allocations: 124.6 kB / 322.3 MB, free: 2.324 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.013e-05/0.006172, allocations: 33.7 kB / 322.3 MB, free: 2.285 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.072e-05/0.006213, allocations: 100 kB / 322.4 MB, free: 2.184 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.183e-05/0.006235, allocations: 23.78 kB / 322.4 MB, free: 2.16 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.33e-05/0.006268, allocations: 17.72 kB / 322.5 MB, free: 2.137 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.00638, allocations: 318.8 kB / 322.8 MB, free: 1.816 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.485e-05/0.006435, allocations: 27.98 kB / 322.8 MB, free: 1.789 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.677e-05/0.006482, allocations: 27.97 kB / 322.8 MB, free: 1.762 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.772e-05/0.00658, allocations: 60.77 kB / 322.9 MB, free: 1.699 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.006582, allocations: 0 / 322.9 MB, free: 1.699 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001296/0.006711, allocations: 93.95 kB / 323 MB, free: 1.602 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.006725, allocations: 8 kB / 323 MB, free: 1.594 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.006732, allocations: 12 kB / 323 MB, free: 1.582 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.006744, allocations: 0 / 323 MB, free: 1.582 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.209e-05/0.006826, allocations: 15.98 kB / 323 MB, free: 1.566 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.00683, allocations: 0 / 323 MB, free: 1.566 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.653e-05/0.006867, allocations: 15.94 kB / 323 MB, free: 1.551 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.006872, allocations: 0 / 323 MB, free: 1.551 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 5.801e-05/0.00693, allocations: 117.8 kB / 323.1 MB, free: 1.426 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.522e-05/0.006946, allocations: 7.938 kB / 323.2 MB, free: 1.418 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000199/0.007145, allocations: 117.7 kB / 323.3 MB, free: 1.293 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.007147, allocations: 0 / 323.3 MB, free: 1.293 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.007151, allocations: 0 / 323.3 MB, free: 1.293 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.007153, allocations: 0 / 323.3 MB, free: 1.293 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.007277, allocations: 156.7 kB / 323.4 MB, free: 1.098 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.007279, allocations: 0 / 323.4 MB, free: 1.098 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.04e-05/0.007329, allocations: 27.95 kB / 323.5 MB, free: 1.07 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.007332, allocations: 0 / 323.5 MB, free: 1.07 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.007341, allocations: 11.94 kB / 323.5 MB, free: 1.059 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.007342, allocations: 0 / 323.5 MB, free: 1.059 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.007343, allocations: 0 / 323.5 MB, free: 1.059 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002141/0.007557, allocations: 195.4 kB / 323.7 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.1e-05/0.007568, allocations: 8 kB / 323.7 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.00758, allocations: 3.938 kB / 323.7 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.634e-05/0.007626, allocations: 7.984 kB / 323.7 MB, free: 0.832 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.656e-05/0.007653, allocations: 4 kB / 323.7 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.007656, allocations: 0 / 323.7 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.668e-05/0.007693, allocations: 103.3 kB / 323.8 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007693, allocations: 0 / 323.8 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001512/0.007844, allocations: 19.89 kB / 323.8 MB, free: 0.707 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.0004179/0.008262, allocations: 0.7632 MB / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001479/0.00841, allocations: 67.94 kB / 324.6 MB, free: 15.85 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.008412, allocations: 0 / 324.6 MB, free: 15.85 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.473e-05/0.008466, allocations: 39.91 kB / 324.7 MB, free: 15.81 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/0.008687, allocations: 4 kB / 324.7 MB, free: 15.81 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.009885, allocations: 1.481 MB / 326.2 MB, free: 14.24 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.019e-05/0.009935, allocations: 75.89 kB / 326.2 MB, free: 14.14 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.434e-05/0.009969, allocations: 8 kB / 326.2 MB, free: 14.14 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.357e-05/0.01002, allocations: 32.42 kB / 326.3 MB, free: 14.1 MB / 298.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01002, allocations: 0 / 326.3 MB, free: 14.1 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01525/0.02527, allocations: 2.673 MB / 328.9 MB, free: 11.55 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.559/6.584, allocations: 15.36 kB / 329 MB, free: 11.54 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Densities_fmu --startTime=0 --stopTime=20 --stepSize=0.02 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Densities.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/Densities/Densities.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.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.214809946715832]