Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009655/0.0009655, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008601/0.0008601, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8854/0.8854, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Densities,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_Densities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Densities,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_Densities",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.049e-05/2.187e-05, allocations: 3.266 kB / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.002006/0.002027, allocations: 1.577 MB / 326.1 MB, free: 14.28 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007687/0.002796, allocations: 0.5376 MB / 326.6 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.038e-05/0.002846, allocations: 0 / 326.6 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.79e-05/0.002884, allocations: 7.922 kB / 326.7 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.498e-05/0.002959, allocations: 15.81 kB / 326.7 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002685/0.003228, allocations: 47.83 kB / 326.7 MB, free: 13.67 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.176e-05/0.00331, allocations: 51.78 kB / 326.8 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.003427, allocations: 27.97 kB / 326.8 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.456e-05/0.003471, allocations: 19.98 kB / 326.8 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.903e-05/0.00352, allocations: 23.91 kB / 326.8 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.003538, allocations: 11.98 kB / 326.8 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002022/0.00374, allocations: 51.84 kB / 326.9 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.375e-05/0.003754, allocations: 11.92 kB / 326.9 MB, free: 13.47 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.314e-05/0.003777, allocations: 19.92 kB / 326.9 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.003917, allocations: 91.67 kB / 327 MB, free: 13.36 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.003921, allocations: 0 / 327 MB, free: 13.36 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.003922, allocations: 0 / 327 MB, free: 13.36 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.003928, allocations: 4 kB / 327 MB, free: 13.36 MB / 298.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.0003847/0.004313, allocations: 298 kB / 327.3 MB, free: 13.04 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.004355, allocations: 15.98 kB / 327.3 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.168e-05/0.004417, allocations: 54.56 kB / 327.4 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002519/0.004669, allocations: 48.83 kB / 327.4 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.01e-05/0.004749, allocations: 117.6 kB / 327.5 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.00477, allocations: 8.375 kB / 327.6 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.004785, allocations: 12.38 kB / 327.6 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.004947, allocations: 93.39 kB / 327.7 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.004955, allocations: 12.12 kB / 327.7 MB, free: 12.65 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.004966, allocations: 4.125 kB / 327.7 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.00497, allocations: 0 / 327.7 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.005101, allocations: 71.94 kB / 327.7 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004471/0.005548, allocations: 311.7 kB / 328 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.005677, allocations: 78.47 kB / 328.1 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.949e-05/0.005737, allocations: 28.97 kB / 328.1 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.00575, allocations: 0 / 328.1 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.005771, allocations: 38.55 kB / 328.2 MB, free: 12.06 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 2.114e-06/0.005773, allocations: 3.984 kB / 328.2 MB, free: 12.06 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002644/0.006037, allocations: 125.5 kB / 328.3 MB, free: 11.93 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.00607, allocations: 55.41 kB / 328.4 MB, free: 11.86 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.043e-05/0.00614, allocations: 129 kB / 328.5 MB, free: 11.73 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.006152, allocations: 25.7 kB / 328.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.11e-05/0.006193, allocations: 108 kB / 328.6 MB, free: 11.59 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.837e-05/0.006211, allocations: 19.78 kB / 328.6 MB, free: 11.57 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.283e-05/0.006244, allocations: 21.7 kB / 328.7 MB, free: 11.54 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.734e-05/0.006322, allocations: 318.8 kB / 329 MB, free: 11.22 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.3e-05/0.006375, allocations: 23.97 kB / 329 MB, free: 11.2 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.55e-05/0.00642, allocations: 23.98 kB / 329 MB, free: 11.17 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.497e-05/0.006515, allocations: 64.81 kB / 329.1 MB, free: 11.11 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.006517, allocations: 0 / 329.1 MB, free: 11.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001332/0.00665, allocations: 97.55 kB / 329.2 MB, free: 11 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.006664, allocations: 4 kB / 329.2 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.006669, allocations: 0 / 329.2 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.00668, allocations: 3.938 kB / 329.2 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.347e-05/0.006763, allocations: 23.97 kB / 329.2 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.006769, allocations: 7.938 kB / 329.2 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.521e-05/0.006805, allocations: 11.98 kB / 329.2 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.00681, allocations: 4 kB / 329.2 MB, free: 10.95 MB / 298.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.976e-05/0.00687, allocations: 113.8 kB / 329.3 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.45e-05/0.006885, allocations: 3.953 kB / 329.4 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001913/0.007076, allocations: 109.8 kB / 329.5 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.007079, allocations: 7.938 kB / 329.5 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.007084, allocations: 0 / 329.5 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.007088, allocations: 4.438 kB / 329.5 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/0.007217, allocations: 156.7 kB / 329.6 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.007218, allocations: 0 / 329.6 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.116e-05/0.007269, allocations: 23.97 kB / 329.6 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.007271, allocations: 0 / 329.6 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.007279, allocations: 4 kB / 329.7 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.00728, allocations: 0 / 329.7 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.007281, allocations: 7.938 kB / 329.7 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/0.007441, allocations: 199.4 kB / 329.9 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.107e-06/0.00745, allocations: 3.953 kB / 329.9 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.007461, allocations: 0 / 329.9 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.654e-05/0.007508, allocations: 11.98 kB / 329.9 MB, free: 10.24 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.97e-05/0.007528, allocations: 11.88 kB / 329.9 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.007532, allocations: 4 kB / 329.9 MB, free: 10.23 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.638e-05/0.007568, allocations: 95.27 kB / 330 MB, free: 10.13 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007568, allocations: 4 kB / 330 MB, free: 10.13 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001547/0.007723, allocations: 11.94 kB / 330 MB, free: 10.12 MB / 298.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.0004484/0.008171, allocations: 0.7593 MB / 330.8 MB, free: 9.332 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001644/0.008336, allocations: 63.94 kB / 330.8 MB, free: 9.27 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.008337, allocations: 4 kB / 330.8 MB, free: 9.266 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.907e-05/0.008386, allocations: 35.97 kB / 330.9 MB, free: 9.23 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.008645, allocations: 7.938 kB / 330.9 MB, free: 9.223 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.00982, allocations: 1.488 MB / 332.3 MB, free: 7.648 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.753e-05/0.009877, allocations: 87.47 kB / 332.4 MB, free: 7.539 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.489e-05/0.009922, allocations: 4 kB / 332.4 MB, free: 7.535 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.537e-05/0.009977, allocations: 28.48 kB / 332.5 MB, free: 7.508 MB / 298.7 MB Notification: Performance of SimCode: time 6.51e-07/0.009978, allocations: 4 kB / 332.5 MB, free: 7.504 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01522/0.0252, allocations: 2.599 MB / 335.1 MB, free: 5.008 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.738/6.763, allocations: 6.859 kB / 335.1 MB, free: 5.004 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Noise_Densities_fmu --startTime=0 --stopTime=20 --stepSize=0.02 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_Noise_Densities.fmu > Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/Densities/Densities.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.390857931226492]