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.001665/0.001665, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001967/0.001967, allocations: 213.1 kB / 24.5 MB, free: 4.148 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.444/1.444, allocations: 230.5 MB / 258.1 MB, free: 8.008 MB / 206.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.001979/0.001979, allocations: 59.91 kB / 379 MB, free: 2.508 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2452, allocations: 53.41 MB / 432.4 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.002819/0.248, allocations: 1.613 MB / 434.1 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.2491, allocations: 0.5844 MB / 434.6 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.395e-05/0.2491, allocations: 4 kB / 434.6 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.02e-05/0.2491, allocations: 7.875 kB / 434.6 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.697e-05/0.2492, allocations: 7.875 kB / 434.7 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002524/0.2495, allocations: 51.81 kB / 434.7 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.144e-05/0.2496, allocations: 47.86 kB / 434.8 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.2497, allocations: 23.98 kB / 434.8 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.955e-05/0.2497, allocations: 27.86 kB / 434.8 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.01e-05/0.2498, allocations: 27.8 kB / 434.8 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.2498, allocations: 4 kB / 434.8 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002138/0.25, allocations: 51.95 kB / 434.9 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.692e-05/0.25, allocations: 11.98 kB / 434.9 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.481e-05/0.2501, allocations: 23.81 kB / 434.9 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000164/0.2502, allocations: 93.11 kB / 435 MB, free: 4.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.2502, allocations: 0 / 435 MB, free: 4.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2502, allocations: 0 / 435 MB, free: 4.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.2502, allocations: 0 / 435 MB, free: 4.16 MB / 334.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.0004565/0.2507, allocations: 313.7 kB / 435.3 MB, free: 3.828 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.2507, allocations: 8.031 kB / 435.3 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004462/0.2512, allocations: 52.77 kB / 435.4 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.2513, allocations: 118.4 kB / 435.5 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.2513, allocations: 4.375 kB / 435.5 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.2513, allocations: 4.375 kB / 435.5 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002245/0.2516, allocations: 101.9 kB / 435.6 MB, free: 3.516 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.2516, allocations: 0 / 435.6 MB, free: 3.516 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.2516, allocations: 4 kB / 435.6 MB, free: 3.512 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.2516, allocations: 0 / 435.6 MB, free: 3.512 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002008/0.2518, allocations: 63.94 kB / 435.7 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005846/0.2524, allocations: 327.6 kB / 436 MB, free: 3.086 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001939/0.2526, allocations: 62.53 kB / 436 MB, free: 3.016 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.2527, allocations: 36.95 kB / 436.1 MB, free: 2.977 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.2527, allocations: 3.984 kB / 436.1 MB, free: 2.973 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.2527, allocations: 42.5 kB / 436.1 MB, free: 2.922 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.2527, allocations: 0 / 436.1 MB, free: 2.922 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003986/0.2531, allocations: 129.5 kB / 436.3 MB, free: 2.789 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.2532, allocations: 51.41 kB / 436.3 MB, free: 2.727 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.2533, allocations: 125.6 kB / 436.4 MB, free: 2.594 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.2533, allocations: 25.7 kB / 436.5 MB, free: 2.562 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.742e-05/0.2533, allocations: 104.1 kB / 436.6 MB, free: 2.457 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.326e-05/0.2534, allocations: 15.84 kB / 436.6 MB, free: 2.441 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.367e-05/0.2534, allocations: 21.7 kB / 436.6 MB, free: 2.414 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.2535, allocations: 314.8 kB / 436.9 MB, free: 2.098 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.465e-05/0.2536, allocations: 27.97 kB / 436.9 MB, free: 2.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.283e-05/0.2537, allocations: 27.97 kB / 437 MB, free: 2.043 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/0.2539, allocations: 56.83 kB / 437 MB, free: 1.984 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2539, allocations: 4 kB / 437 MB, free: 1.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002299/0.2541, allocations: 97.53 kB / 437.1 MB, free: 1.879 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.2541, allocations: 4 kB / 437.1 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.2541, allocations: 4 kB / 437.1 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.2542, allocations: 0 / 437.1 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.2543, allocations: 19.98 kB / 437.1 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.395e-06/0.2543, allocations: 3.938 kB / 437.1 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.079e-05/0.2544, allocations: 11.98 kB / 437.2 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.2544, allocations: 4 kB / 437.2 MB, free: 1.832 MB / 334.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 8.181e-05/0.2545, allocations: 109.8 kB / 437.3 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.337e-05/0.2545, allocations: 11.94 kB / 437.3 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003047/0.2548, allocations: 117.6 kB / 437.4 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.2548, allocations: 0 / 437.4 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.2548, allocations: 3.938 kB / 437.4 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.2548, allocations: 0 / 437.4 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002089/0.255, allocations: 165.2 kB / 437.6 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.255, allocations: 3.938 kB / 437.6 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.2551, allocations: 15.98 kB / 437.6 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2551, allocations: 0 / 437.6 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.2552, allocations: 8 kB / 437.6 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.2552, allocations: 7.984 kB / 437.6 MB, free: 1.336 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.2552, allocations: 3.938 kB / 437.6 MB, free: 1.332 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002837/0.2554, allocations: 191.4 kB / 437.8 MB, free: 1.129 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.442e-05/0.2555, allocations: 11.89 kB / 437.8 MB, free: 1.117 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.2555, allocations: 3.984 kB / 437.8 MB, free: 1.113 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.2556, allocations: 16 kB / 437.8 MB, free: 1.098 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.624e-05/0.2556, allocations: 7.922 kB / 437.8 MB, free: 1.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.2556, allocations: 4 kB / 437.8 MB, free: 1.086 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.323e-05/0.2557, allocations: 91.27 kB / 437.9 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2557, allocations: 0 / 437.9 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002301/0.2559, allocations: 19.94 kB / 437.9 MB, free: 0.9766 MB / 334.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 9.749e-05/0.256, allocations: 87.25 kB / 438 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002548/0.2563, allocations: 67.94 kB / 438.1 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2563, allocations: 7.938 kB / 438.1 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.234e-05/0.2564, allocations: 27.98 kB / 438.1 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.2567, allocations: 7.984 kB / 438.1 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004433/0.2571, allocations: 215.2 kB / 438.3 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.2574, allocations: 0.6963 MB / 439 MB, free: 15.81 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.724e-05/0.2575, allocations: 11.42 kB / 439 MB, free: 15.8 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2575, allocations: 0 / 439 MB, free: 15.8 MB / 350.1 MB Notification: Performance of Templates: time 0.002606/0.2601, allocations: 0.966 MB / 440 MB, free: 14.84 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 -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: 6.6489644520916045]