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.001073/0.001073, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001093/0.001093, allocations: 173 kB / 24.91 MB, free: 8.723 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 1.005/1.005, allocations: 177.1 MB / 205.3 MB, free: 5.117 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: 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 1.954e-06/1.954e-06, allocations: 0 / 273.5 MB, free: 1.133 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.682e-05/2.878e-05, allocations: 2.312 kB / 273.5 MB, free: 1.129 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.003366/0.003395, allocations: 1.67 MB / 275.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.004469, allocations: 0.5647 MB / 275.7 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.165e-05/0.004531, allocations: 4 kB / 275.7 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.885e-05/0.00457, allocations: 11.86 kB / 275.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.034e-05/0.00466, allocations: 11.88 kB / 275.8 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002769/0.004937, allocations: 51.7 kB / 275.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.98e-05/0.005037, allocations: 47.84 kB / 275.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.005151, allocations: 19.98 kB / 275.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.632e-05/0.005217, allocations: 27.91 kB / 275.9 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.232e-05/0.005279, allocations: 23.91 kB / 275.9 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.005297, allocations: 8 kB / 275.9 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00026/0.005557, allocations: 51.95 kB / 276 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.827e-05/0.005576, allocations: 11.92 kB / 276 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.244e-05/0.005598, allocations: 11.98 kB / 276 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000161/0.005759, allocations: 83.61 kB / 276.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.005764, allocations: 3.984 kB / 276.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.91e-07/0.005765, allocations: 0 / 276.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.005769, allocations: 0 / 276.1 MB, free: 14.52 MB / 266.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.00037/0.006139, allocations: 272.6 kB / 276.4 MB, free: 14.23 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.006181, allocations: 12.03 kB / 276.4 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004268/0.006608, allocations: 60.83 kB / 276.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.00672, allocations: 117.7 kB / 276.6 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.006741, allocations: 4.375 kB / 276.6 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/0.006758, allocations: 12.31 kB / 276.6 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.006937, allocations: 82.91 kB / 276.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.006947, allocations: 192 / 276.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.00696, allocations: 4.375 kB / 276.7 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.517e-06/0.00697, allocations: 7.938 kB / 276.7 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.77e-05/0.007017, allocations: 19.98 kB / 276.7 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003784/0.007396, allocations: 200.2 kB / 276.9 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.529e-05/0.007471, allocations: 46.48 kB / 276.9 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.188e-05/0.007493, allocations: 12.84 kB / 276.9 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.007508, allocations: 4 kB / 276.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.007528, allocations: 30.56 kB / 277 MB, free: 13.55 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.007529, allocations: 0 / 277 MB, free: 13.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001296/0.007658, allocations: 61.75 kB / 277 MB, free: 13.49 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.649e-05/0.007685, allocations: 51.41 kB / 277.1 MB, free: 13.43 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.298e-05/0.007748, allocations: 122.9 kB / 277.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.00776, allocations: 25.7 kB / 277.2 MB, free: 13.26 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.635e-05/0.007797, allocations: 100 kB / 277.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/0.007823, allocations: 23.78 kB / 277.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.412e-05/0.007857, allocations: 13.72 kB / 277.4 MB, free: 13.12 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.848e-05/0.007936, allocations: 322.8 kB / 277.7 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.321e-05/0.007959, allocations: 4 kB / 277.7 MB, free: 12.79 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.646e-05/0.007975, allocations: 4 kB / 277.7 MB, free: 12.79 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.619e-05/0.008022, allocations: 29.16 kB / 277.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.008025, allocations: 7.938 kB / 277.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.902e-05/0.008104, allocations: 41.69 kB / 277.8 MB, free: 12.7 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.00812, allocations: 11.98 kB / 277.8 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.008124, allocations: 0 / 277.8 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.008136, allocations: 0 / 277.8 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.909e-05/0.008235, allocations: 15.98 kB / 277.8 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.975e-06/0.008238, allocations: 0 / 277.8 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.042e-05/0.008278, allocations: 4 kB / 277.8 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.00829, allocations: 11.98 kB / 277.8 MB, free: 12.66 MB / 266.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 6.74e-05/0.008358, allocations: 117.7 kB / 277.9 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.696e-05/0.008385, allocations: 4 kB / 277.9 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001281/0.008513, allocations: 57.8 kB / 278 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.008517, allocations: 4 kB / 278 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.00852, allocations: 3.984 kB / 278 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.008525, allocations: 3.984 kB / 278 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.008666, allocations: 81.86 kB / 278.1 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.00867, allocations: 4 kB / 278.1 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.479e-05/0.008744, allocations: 15.98 kB / 278.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.008748, allocations: 7.938 kB / 278.1 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.008754, allocations: 0 / 278.1 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.008756, allocations: 0 / 278.1 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.008758, allocations: 0 / 278.1 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001222/0.00888, allocations: 155.6 kB / 278.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.452e-05/0.008895, allocations: 7.891 kB / 278.3 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.008907, allocations: 7.938 kB / 278.3 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.534e-05/0.008982, allocations: 7.984 kB / 278.3 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.992e-05/0.009002, allocations: 0 / 278.3 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.00901, allocations: 8 kB / 278.3 MB, free: 12.13 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.173e-05/0.009032, allocations: 24.89 kB / 278.3 MB, free: 12.11 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.009032, allocations: 0 / 278.3 MB, free: 12.11 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001382/0.00917, allocations: 11.94 kB / 278.3 MB, free: 12.09 MB / 266.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 9.541e-05/0.009265, allocations: 72.42 kB / 278.4 MB, free: 12.01 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001035/0.009369, allocations: 36.77 kB / 278.4 MB, free: 11.97 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.009372, allocations: 0 / 278.4 MB, free: 11.97 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.697e-05/0.009399, allocations: 16.84 kB / 278.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001976/0.009597, allocations: 8 kB / 278.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002975/0.009894, allocations: 168.2 kB / 278.6 MB, free: 11.75 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.78e-05/0.009932, allocations: 63.34 kB / 278.7 MB, free: 11.67 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.049e-05/0.009972, allocations: 7.938 kB / 278.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.5e-05/0.01004, allocations: 55.36 kB / 278.7 MB, free: 11.61 MB / 266.7 MB Notification: Performance of SimCode: time 8.81e-07/0.01004, allocations: 0 / 278.7 MB, free: 11.61 MB / 266.7 MB Notification: Performance of Templates: time 0.002287/0.01233, allocations: 0.8001 MB / 279.5 MB, free: 10.82 MB / 266.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.651692514307797]