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.001449/0.001449, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.001802/0.001802, allocations: 214.3 kB / 23.73 MB, free: 4.16 MB / 14.72 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 1.57/1.57, allocations: 230.6 MB / 257.5 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] 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: translateModel(Modelica.Blocks.Examples.Noise.Densities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|uniformDensity_y|normalDensity_y|weibullDensity_y",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Blocks.Examples.Noise.Densities") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001647/0.001647, allocations: 47.92 kB / 378.2 MB, free: 2.512 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.2441, allocations: 53.37 MB / 431.6 MB, free: 6.766 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.002798/0.2469, allocations: 1.583 MB / 433.2 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.248, allocations: 0.5338 MB / 433.7 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.273e-05/0.248, allocations: 0 / 433.7 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.527e-05/0.2481, allocations: 11.94 kB / 433.7 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.416e-05/0.2481, allocations: 7.875 kB / 433.7 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002686/0.2484, allocations: 55.81 kB / 433.8 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.451e-05/0.2485, allocations: 51.8 kB / 433.8 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.2486, allocations: 23.97 kB / 433.8 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.547e-05/0.2487, allocations: 23.86 kB / 433.9 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.563e-05/0.2487, allocations: 19.86 kB / 433.9 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.2487, allocations: 4 kB / 433.9 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002292/0.249, allocations: 55.95 kB / 433.9 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.746e-05/0.249, allocations: 11.98 kB / 434 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.266e-05/0.249, allocations: 19.81 kB / 434 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001585/0.2492, allocations: 85.19 kB / 434.1 MB, free: 4.285 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.2492, allocations: 7.938 kB / 434.1 MB, free: 4.277 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2492, allocations: 0 / 434.1 MB, free: 4.277 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.2492, allocations: 0 / 434.1 MB, free: 4.277 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.0004378/0.2496, allocations: 305.7 kB / 434.4 MB, free: 3.953 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.2496, allocations: 8.031 kB / 434.4 MB, free: 3.945 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004128/0.2501, allocations: 56.83 kB / 434.4 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.2502, allocations: 114.4 kB / 434.5 MB, free: 3.754 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/0.2502, allocations: 12.31 kB / 434.6 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.2502, allocations: 4.375 kB / 434.6 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002224/0.2504, allocations: 97.89 kB / 434.7 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.2504, allocations: 0 / 434.7 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.2505, allocations: 0 / 434.7 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.2505, allocations: 3.984 kB / 434.7 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002082/0.2507, allocations: 75.94 kB / 434.7 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000547/0.2512, allocations: 284.2 kB / 435 MB, free: 3.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.2514, allocations: 62.55 kB / 435.1 MB, free: 3.18 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.2515, allocations: 36.95 kB / 435.1 MB, free: 3.141 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.2515, allocations: 4 kB / 435.1 MB, free: 3.137 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.2516, allocations: 30.56 kB / 435.1 MB, free: 3.098 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.2516, allocations: 0 / 435.1 MB, free: 3.098 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004043/0.252, allocations: 125.6 kB / 435.3 MB, free: 2.969 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.252, allocations: 51.41 kB / 435.3 MB, free: 2.906 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.2521, allocations: 113.8 kB / 435.4 MB, free: 2.785 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.2521, allocations: 25.7 kB / 435.5 MB, free: 2.754 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.777e-05/0.2522, allocations: 104 kB / 435.6 MB, free: 2.648 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.833e-05/0.2522, allocations: 15.84 kB / 435.6 MB, free: 2.633 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.808e-05/0.2523, allocations: 21.7 kB / 435.6 MB, free: 2.605 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.2524, allocations: 322.8 kB / 435.9 MB, free: 2.281 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.534e-05/0.2525, allocations: 23.98 kB / 435.9 MB, free: 2.258 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.824e-05/0.2526, allocations: 27.97 kB / 436 MB, free: 2.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/0.2528, allocations: 61.14 kB / 436 MB, free: 2.168 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2528, allocations: 4 kB / 436 MB, free: 2.164 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002346/0.253, allocations: 97.59 kB / 436.1 MB, free: 2.062 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.253, allocations: 4 kB / 436.1 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.253, allocations: 4 kB / 436.1 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.253, allocations: 0 / 436.1 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.2532, allocations: 19.98 kB / 436.1 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.2532, allocations: 0 / 436.1 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.129e-05/0.2532, allocations: 19.92 kB / 436.2 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.2533, allocations: 3.938 kB / 436.2 MB, free: 2.012 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.974e-05/0.2533, allocations: 113.8 kB / 436.3 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.838e-05/0.2534, allocations: 7.953 kB / 436.3 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002948/0.2537, allocations: 113.6 kB / 436.4 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.2537, allocations: 0 / 436.4 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.2537, allocations: 0 / 436.4 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.2537, allocations: 3.938 kB / 436.4 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.2538, allocations: 133.3 kB / 436.5 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2538, allocations: 0 / 436.5 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.254, allocations: 19.98 kB / 436.5 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.254, allocations: 0 / 436.5 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.647e-06/0.254, allocations: 0 / 436.5 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.96e-06/0.254, allocations: 3.984 kB / 436.6 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.254, allocations: 0 / 436.6 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002913/0.2543, allocations: 199.3 kB / 436.7 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.159e-05/0.2543, allocations: 12 kB / 436.8 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.2543, allocations: 0 / 436.8 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.2544, allocations: 7.984 kB / 436.8 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.347e-05/0.2544, allocations: 8.172 kB / 436.8 MB, free: 1.336 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.2544, allocations: 4 kB / 436.8 MB, free: 1.332 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.53e-05/0.2545, allocations: 91.27 kB / 436.9 MB, free: 1.242 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2545, allocations: 0 / 436.9 MB, free: 1.242 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002369/0.2547, allocations: 27.83 kB / 436.9 MB, free: 1.215 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 0.0001022/0.2548, allocations: 91.25 kB / 437 MB, free: 1.117 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002468/0.2551, allocations: 67.89 kB / 437.1 MB, free: 1.051 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.2551, allocations: 0 / 437.1 MB, free: 1.051 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.931e-05/0.2552, allocations: 31.97 kB / 437.1 MB, free: 1.02 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003296/0.2555, allocations: 8 kB / 437.1 MB, free: 1.012 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000424/0.2559, allocations: 189.6 kB / 437.3 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.601e-05/0.256, allocations: 79.33 kB / 437.4 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.597e-05/0.256, allocations: 4 kB / 437.4 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.145e-05/0.2561, allocations: 7.438 kB / 437.4 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of SimCode: time 5e-07/0.2561, allocations: 7.938 kB / 437.4 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of Templates: time 0.003109/0.2592, allocations: 0.7829 MB / 438.2 MB, free: 15.91 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.makefile [Timeout 660] (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 & ./Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) [Timeout 480] 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: 4.653248032554984]