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.0009584/0.0009584, allocations: 84.34 kB / 21.44 MB, free: 3.117 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.004334/0.004334, allocations: 153.5 kB / 24.69 MB, free: 9.438 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.8878/0.8878, allocations: 177 MB / 204.9 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: translateModel(Modelica.Blocks.Examples.Noise.Densities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|uniformDensity_y|normalDensity_y|weibullDensity_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities") translateModel(Modelica.Blocks.Examples.Noise.Densities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|uniformDensity_y|normalDensity_y|weibullDensity_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.793e-05/1.928e-05, allocations: 7.203 kB / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.001774/0.001793, allocations: 1.573 MB / 327.4 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006806/0.002473, allocations: 0.5415 MB / 327.9 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.256e-05/0.002516, allocations: 3.938 kB / 327.9 MB, free: 13.24 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.177e-05/0.002548, allocations: 11.86 kB / 327.9 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.566e-05/0.002613, allocations: 7.875 kB / 327.9 MB, free: 13.22 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.002835, allocations: 59.7 kB / 328 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.374e-05/0.002908, allocations: 47.84 kB / 328 MB, free: 13.12 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.003012, allocations: 19.98 kB / 328.1 MB, free: 13.1 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.429e-05/0.003056, allocations: 31.92 kB / 328.1 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.837e-05/0.003105, allocations: 23.89 kB / 328.1 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.00312, allocations: 4 kB / 328.1 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000173/0.003293, allocations: 47.95 kB / 328.2 MB, free: 12.99 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.477e-05/0.003308, allocations: 15.92 kB / 328.2 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.018e-05/0.003328, allocations: 11.94 kB / 328.2 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001444/0.003472, allocations: 95.67 kB / 328.3 MB, free: 12.87 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.003474, allocations: 0 / 328.3 MB, free: 12.87 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.003475, allocations: 0 / 328.3 MB, free: 12.87 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.496e-06/0.003478, allocations: 0 / 328.3 MB, free: 12.87 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.0003473/0.003826, allocations: 313.9 kB / 328.6 MB, free: 12.54 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.00386, allocations: 15.98 kB / 328.6 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002438/0.004104, allocations: 44.84 kB / 328.6 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.929e-05/0.004183, allocations: 117.7 kB / 328.8 MB, free: 12.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.004206, allocations: 8.375 kB / 328.8 MB, free: 12.33 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.004218, allocations: 4.375 kB / 328.8 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.004374, allocations: 90.2 kB / 328.9 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.004382, allocations: 192 / 328.9 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.004394, allocations: 4.375 kB / 328.9 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.004401, allocations: 7.938 kB / 328.9 MB, free: 12.22 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.004523, allocations: 67.89 kB / 328.9 MB, free: 12.15 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003709/0.004893, allocations: 276.3 kB / 329.2 MB, free: 11.85 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.005014, allocations: 74.47 kB / 329.3 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.859e-05/0.005072, allocations: 40.89 kB / 329.3 MB, free: 11.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.005085, allocations: 0 / 329.3 MB, free: 11.73 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.005105, allocations: 30.56 kB / 329.4 MB, free: 11.69 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 9.01e-07/0.005106, allocations: 4 kB / 329.4 MB, free: 11.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.000252/0.005358, allocations: 121.6 kB / 329.5 MB, free: 11.56 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.743e-05/0.005386, allocations: 55.41 kB / 329.5 MB, free: 11.49 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.909e-05/0.005445, allocations: 109.8 kB / 329.6 MB, free: 11.38 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.005456, allocations: 29.7 kB / 329.7 MB, free: 11.34 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.868e-05/0.005495, allocations: 104 kB / 329.8 MB, free: 11.23 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/0.005515, allocations: 15.84 kB / 329.8 MB, free: 11.22 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.93e-05/0.005544, allocations: 17.72 kB / 329.8 MB, free: 11.2 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.184e-05/0.005616, allocations: 322.8 kB / 330.1 MB, free: 10.87 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.873e-05/0.005665, allocations: 23.98 kB / 330.1 MB, free: 10.85 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.694e-05/0.005712, allocations: 35.91 kB / 330.2 MB, free: 10.81 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.786e-05/0.00581, allocations: 60.81 kB / 330.2 MB, free: 10.75 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.005812, allocations: 0 / 330.2 MB, free: 10.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001242/0.005936, allocations: 93.55 kB / 330.3 MB, free: 10.65 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.005947, allocations: 8 kB / 330.3 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.005951, allocations: 0 / 330.3 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.005962, allocations: 0 / 330.3 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.524e-05/0.006037, allocations: 19.98 kB / 330.3 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.006043, allocations: 3.984 kB / 330.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.296e-05/0.006076, allocations: 12 kB / 330.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.006083, allocations: 8.422 kB / 330.4 MB, free: 10.6 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.41e-05/0.006137, allocations: 113.8 kB / 330.5 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.366e-05/0.006151, allocations: 7.953 kB / 330.5 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001861/0.006337, allocations: 113.8 kB / 330.6 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.006339, allocations: 3.938 kB / 330.6 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.006343, allocations: 0 / 330.6 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.006346, allocations: 0 / 330.6 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.00645, allocations: 129.2 kB / 330.7 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.006451, allocations: 0 / 330.7 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.797e-05/0.006499, allocations: 23.97 kB / 330.8 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.0065, allocations: 3.938 kB / 330.8 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.006507, allocations: 0 / 330.8 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.006508, allocations: 0 / 330.8 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.006508, allocations: 4 kB / 330.8 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001537/0.006662, allocations: 199.4 kB / 331 MB, free: 9.953 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.745e-06/0.00667, allocations: 7.984 kB / 331 MB, free: 9.945 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.859e-06/0.00668, allocations: 0 / 331 MB, free: 9.945 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.625e-05/0.006726, allocations: 15.98 kB / 331 MB, free: 9.93 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.852e-05/0.006744, allocations: 3.938 kB / 331 MB, free: 9.926 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.006747, allocations: 0 / 331 MB, free: 9.926 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.298e-05/0.00678, allocations: 95.27 kB / 331.1 MB, free: 9.832 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006781, allocations: 4 kB / 331.1 MB, free: 9.828 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001425/0.006923, allocations: 15.89 kB / 331.1 MB, free: 9.812 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 6.609e-05/0.006989, allocations: 95.23 kB / 331.2 MB, free: 9.711 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001406/0.00713, allocations: 59.95 kB / 331.3 MB, free: 9.652 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.007131, allocations: 0 / 331.3 MB, free: 9.652 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.209e-05/0.007183, allocations: 39.91 kB / 331.3 MB, free: 9.613 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001888/0.007372, allocations: 18.89 kB / 331.3 MB, free: 9.598 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003059/0.007678, allocations: 206.3 kB / 331.5 MB, free: 9.363 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.514e-05/0.007723, allocations: 79.08 kB / 331.6 MB, free: 9.266 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.539e-05/0.007759, allocations: 16.48 kB / 331.6 MB, free: 9.25 MB / 298.7 MB Notification: Performance of SimCode: time 3.41e-07/0.007759, allocations: 0 / 331.6 MB, free: 9.25 MB / 298.7 MB Notification: Performance of Templates: time 0.001846/0.009605, allocations: 0.9739 MB / 332.6 MB, free: 8.277 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) [Timeout 480] 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: 3.977813350968063]