Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.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.0007907/0.0007907, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0007996/0.0007996, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8608/0.8608, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Noise.Densities,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_Densities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Densities,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_Densities",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.575e-06/2.575e-06, allocations: 4 kB / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.729e-05/1.987e-05, allocations: 2.281 kB / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.00183/0.00185, allocations: 1.584 MB / 326.2 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006597/0.002509, allocations: 0.5415 MB / 326.7 MB, free: 13.78 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.09e-05/0.00255, allocations: 4 kB / 326.7 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.954e-05/0.00258, allocations: 7.875 kB / 326.7 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.611e-05/0.002646, allocations: 11.88 kB / 326.7 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002161/0.002862, allocations: 51.75 kB / 326.8 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.404e-05/0.002946, allocations: 47.86 kB / 326.8 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.844e-05/0.003044, allocations: 15.98 kB / 326.8 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.611e-05/0.003091, allocations: 39.89 kB / 326.9 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.55e-05/0.003136, allocations: 15.92 kB / 326.9 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.003151, allocations: 12 kB / 326.9 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001778/0.003329, allocations: 51.89 kB / 327 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.296e-05/0.003342, allocations: 11.92 kB / 327 MB, free: 13.51 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.149e-05/0.003363, allocations: 15.92 kB / 327 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.003493, allocations: 91.69 kB / 327.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.003495, allocations: 0 / 327.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.003497, allocations: 0 / 327.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.0035, allocations: 0 / 327.1 MB, free: 13.41 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.0003386/0.003839, allocations: 306 kB / 327.4 MB, free: 13.08 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.003881, allocations: 12.03 kB / 327.4 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.467e-05/0.003936, allocations: 46.64 kB / 327.4 MB, free: 13.01 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002329/0.004169, allocations: 52.83 kB / 327.5 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.668e-05/0.004246, allocations: 121.6 kB / 327.6 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.004269, allocations: 8.375 kB / 327.6 MB, free: 12.81 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.00428, allocations: 4.375 kB / 327.6 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.00443, allocations: 102 kB / 327.7 MB, free: 12.7 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.004436, allocations: 4.188 kB / 327.7 MB, free: 12.7 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.004448, allocations: 12.06 kB / 327.7 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.004454, allocations: 4 kB / 327.7 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.004575, allocations: 67.95 kB / 327.8 MB, free: 12.61 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003954/0.00497, allocations: 307.7 kB / 328.1 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.005093, allocations: 78.52 kB / 328.2 MB, free: 12.18 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.585e-05/0.005149, allocations: 36.95 kB / 328.2 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.005162, allocations: 0 / 328.2 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.00518, allocations: 30.56 kB / 328.2 MB, free: 12.11 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 8.61e-07/0.005181, allocations: 0 / 328.2 MB, free: 12.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002504/0.005432, allocations: 129.5 kB / 328.4 MB, free: 11.97 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/0.005459, allocations: 51.41 kB / 328.4 MB, free: 11.91 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.564e-05/0.005525, allocations: 126 kB / 328.5 MB, free: 11.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.005536, allocations: 29.64 kB / 328.6 MB, free: 11.74 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.711e-05/0.005573, allocations: 100 kB / 328.7 MB, free: 11.64 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.005592, allocations: 23.8 kB / 328.7 MB, free: 11.61 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.005627, allocations: 21.7 kB / 328.7 MB, free: 11.59 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.211e-05/0.005699, allocations: 310.8 kB / 329 MB, free: 11.27 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.433e-05/0.005754, allocations: 31.97 kB / 329 MB, free: 11.24 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.923e-05/0.005803, allocations: 27.97 kB / 329.1 MB, free: 11.21 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.726e-05/0.0059, allocations: 60.83 kB / 329.1 MB, free: 11.15 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.005902, allocations: 3.938 kB / 329.1 MB, free: 11.15 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001339/0.006036, allocations: 98.03 kB / 329.2 MB, free: 11.05 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.006048, allocations: 8 kB / 329.2 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.006052, allocations: 0 / 329.2 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.006063, allocations: 0 / 329.2 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.83e-05/0.006142, allocations: 19.98 kB / 329.3 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.006147, allocations: 3.938 kB / 329.3 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.351e-05/0.00618, allocations: 11.98 kB / 329.3 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.006188, allocations: 7.984 kB / 329.3 MB, free: 11 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.836e-05/0.006246, allocations: 109.8 kB / 329.4 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.478e-05/0.006261, allocations: 7.953 kB / 329.4 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001846/0.006446, allocations: 113.7 kB / 329.5 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.006447, allocations: 7.938 kB / 329.5 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.006451, allocations: 0 / 329.5 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.006455, allocations: 3.938 kB / 329.5 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.006581, allocations: 160.7 kB / 329.7 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.006583, allocations: 0 / 329.7 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.595e-05/0.006629, allocations: 23.98 kB / 329.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.006631, allocations: 0 / 329.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.313e-06/0.006638, allocations: 0 / 329.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.00664, allocations: 0 / 329.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.006645, allocations: 4 kB / 329.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001655/0.006811, allocations: 203.3 kB / 329.9 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.218e-05/0.006823, allocations: 7.953 kB / 329.9 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.019e-05/0.006833, allocations: 0 / 329.9 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.732e-05/0.006881, allocations: 11.98 kB / 329.9 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.93e-05/0.0069, allocations: 3.938 kB / 329.9 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.006905, allocations: 7.984 kB / 329.9 MB, free: 10.27 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.794e-05/0.006943, allocations: 98.89 kB / 330 MB, free: 10.18 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006943, allocations: 0 / 330 MB, free: 10.18 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001481/0.007091, allocations: 19.94 kB / 330.1 MB, free: 10.16 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.0004494/0.007541, allocations: 0.7594 MB / 330.8 MB, free: 9.371 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001607/0.007702, allocations: 63.98 kB / 330.9 MB, free: 9.309 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.007703, allocations: 0 / 330.9 MB, free: 9.309 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.27e-05/0.007756, allocations: 43.92 kB / 330.9 MB, free: 9.266 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.008006, allocations: 6.438 kB / 330.9 MB, free: 9.262 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.009134, allocations: 1.481 MB / 332.4 MB, free: 7.695 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.344e-05/0.009188, allocations: 87.53 kB / 332.5 MB, free: 7.586 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.704e-05/0.009225, allocations: 4 kB / 332.5 MB, free: 7.582 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.119e-05/0.009276, allocations: 24.48 kB / 332.5 MB, free: 7.559 MB / 298.7 MB Notification: Performance of SimCode: time 4.61e-07/0.009276, allocations: 4 kB / 332.5 MB, free: 7.555 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0143/0.02358, allocations: 2.603 MB / 335.1 MB, free: 5.074 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.765/6.789, allocations: 18.66 kB / 335.1 MB, free: 5.066 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Blocks_Examples_Noise_Densities_fmu --startTime=0 --stopTime=20 --stepSize=0.02 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Blocks_Examples_Noise_Densities.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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.364743085578084]