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.001658/0.001658, allocations: 78.88 kB / 21.24 MB, free: 0.543 MB / 14.72 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.001698/0.001698, allocations: 160.3 kB / 24.49 MB, free: 3.719 MB / 14.72 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 1.555/1.555, allocations: 177.1 MB / 204.7 MB, free: 8.992 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001888/0.001888, allocations: 62.02 kB / 325.5 MB, free: 200 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1354, allocations: 53.39 MB / 378.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.00303/0.1384, allocations: 1.593 MB / 380.5 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.1395, allocations: 0.5299 MB / 381 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.777e-05/0.1396, allocations: 8 kB / 381 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.397e-05/0.1396, allocations: 11.86 kB / 381 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.406e-05/0.1397, allocations: 7.875 kB / 381.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002827/0.14, allocations: 55.77 kB / 381.1 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.299e-05/0.1401, allocations: 47.91 kB / 381.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.1402, allocations: 11.98 kB / 381.2 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.824e-05/0.1402, allocations: 23.88 kB / 381.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.597e-05/0.1403, allocations: 27.83 kB / 381.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.1403, allocations: 12 kB / 381.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000212/0.1405, allocations: 47.91 kB / 381.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.114e-05/0.1405, allocations: 11.92 kB / 381.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.22e-05/0.1406, allocations: 23.86 kB / 381.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001782/0.1407, allocations: 87.64 kB / 381.4 MB, free: 12.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1407, allocations: 0 / 381.4 MB, free: 12.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1407, allocations: 0 / 381.4 MB, free: 12.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.1407, allocations: 0 / 381.4 MB, free: 12.99 MB / 350.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.0004885/0.1412, allocations: 309.9 kB / 381.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.1413, allocations: 15.98 kB / 381.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004502/0.1417, allocations: 52.84 kB / 381.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.1419, allocations: 122.4 kB / 381.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.942e-05/0.1419, allocations: 4.375 kB / 381.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.1419, allocations: 8.375 kB / 381.9 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003471/0.1423, allocations: 85.95 kB / 382 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.1423, allocations: 0 / 382 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.049e-05/0.1423, allocations: 4 kB / 382 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.1423, allocations: 11.94 kB / 382 MB, free: 12.33 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003638/0.1427, allocations: 67.39 kB / 382.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005837/0.1433, allocations: 276.3 kB / 382.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/0.1435, allocations: 74.47 kB / 382.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.1436, allocations: 36.95 kB / 382.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.1436, allocations: 0 / 382.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.128e-05/0.1436, allocations: 38.56 kB / 382.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.1436, allocations: 0 / 382.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004199/0.1441, allocations: 113.6 kB / 382.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.1441, allocations: 55.34 kB / 382.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.1442, allocations: 117.8 kB / 382.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.1442, allocations: 33.7 kB / 382.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.872e-05/0.1443, allocations: 99.97 kB / 382.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.622e-05/0.1443, allocations: 15.91 kB / 382.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.674e-05/0.1444, allocations: 21.7 kB / 382.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.1445, allocations: 318.8 kB / 383.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.1447, allocations: 27.97 kB / 383.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.1448, allocations: 28.23 kB / 383.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/0.145, allocations: 64.81 kB / 383.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.145, allocations: 0 / 383.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002381/0.1453, allocations: 93.55 kB / 383.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.1453, allocations: 11.94 kB / 383.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.1453, allocations: 3.984 kB / 383.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.1453, allocations: 0 / 383.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.1455, allocations: 19.97 kB / 383.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1455, allocations: 0 / 383.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.488e-05/0.1455, allocations: 19.88 kB / 383.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.1456, allocations: 7.984 kB / 383.5 MB, free: 10.71 MB / 350.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 9.437e-05/0.1457, allocations: 109.8 kB / 383.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.748e-05/0.1457, allocations: 7.953 kB / 383.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003205/0.146, allocations: 109.8 kB / 383.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.146, allocations: 3.938 kB / 383.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.146, allocations: 4 kB / 383.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.146, allocations: 3.938 kB / 383.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002103/0.1462, allocations: 125.3 kB / 383.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1462, allocations: 0 / 383.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.1463, allocations: 23.98 kB / 383.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1463, allocations: 0 / 383.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-06/0.1463, allocations: 0 / 383.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1463, allocations: 256 / 383.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1463, allocations: 0 / 383.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003189/0.1467, allocations: 207.4 kB / 384.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.108e-05/0.1467, allocations: 7.938 kB / 384.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.1467, allocations: 0 / 384.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.1468, allocations: 11.98 kB / 384.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.202e-05/0.1468, allocations: 3.938 kB / 384.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.1468, allocations: 7.984 kB / 384.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.295e-05/0.1469, allocations: 91.28 kB / 384.2 MB, free: 9.938 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1469, allocations: 0 / 384.2 MB, free: 9.938 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002282/0.1471, allocations: 15.89 kB / 384.2 MB, free: 9.922 MB / 350.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.0001149/0.1472, allocations: 99.23 kB / 384.3 MB, free: 9.816 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002597/0.1475, allocations: 59.95 kB / 384.4 MB, free: 9.758 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1475, allocations: 0 / 384.4 MB, free: 9.758 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.1476, allocations: 43.84 kB / 384.4 MB, free: 9.715 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000301/0.1479, allocations: 4 kB / 384.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004302/0.1483, allocations: 181.5 kB / 384.6 MB, free: 9.508 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.696e-05/0.1484, allocations: 79.27 kB / 384.7 MB, free: 9.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.366e-05/0.1485, allocations: 7.984 kB / 384.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.21e-05/0.1485, allocations: 16.5 kB / 384.7 MB, free: 9.383 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1485, allocations: 0 / 384.7 MB, free: 9.383 MB / 350.1 MB Notification: Performance of Templates: time 0.003576/0.1521, allocations: 0.7367 MB / 385.4 MB, free: 8.664 MB / 350.1 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/Densities/Densities.csv","/var/lib/jenkins1/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: 4.673648321069777]