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.001866/0.001866, allocations: 84.34 kB / 20.95 MB, free: 3.449 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.002123/0.002123, allocations: 169.3 kB / 24.27 MB, free: 140 kB / 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.462/1.462, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 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 2.335e-06/2.335e-06, allocations: 0 / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.347e-05/4.581e-05, allocations: 2.312 kB / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.005065/0.005111, allocations: 1.589 MB / 273.9 MB, free: 228 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001697/0.006808, allocations: 0.5454 MB / 274.5 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.822e-05/0.006896, allocations: 0 / 274.5 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.741e-05/0.006944, allocations: 3.938 kB / 274.5 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.007063, allocations: 11.86 kB / 274.5 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004359/0.007498, allocations: 55.77 kB / 274.5 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001507/0.007649, allocations: 47.84 kB / 274.6 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.007795, allocations: 19.92 kB / 274.6 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.007897, allocations: 31.91 kB / 274.6 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.305e-05/0.00797, allocations: 15.92 kB / 274.6 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.792e-05/0.007998, allocations: 12 kB / 274.7 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003397/0.008337, allocations: 47.94 kB / 274.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.737e-05/0.008365, allocations: 11.94 kB / 274.7 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.927e-05/0.008414, allocations: 15.92 kB / 274.7 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002884/0.008702, allocations: 99.61 kB / 274.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.008705, allocations: 0 / 274.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.008707, allocations: 0 / 274.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.008712, allocations: 0 / 274.8 MB, free: 15.3 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.0006897/0.009402, allocations: 302 kB / 275.1 MB, free: 14.98 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.213e-05/0.009464, allocations: 16.03 kB / 275.1 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007099/0.01017, allocations: 60.78 kB / 275.2 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.01036, allocations: 113.7 kB / 275.3 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.844e-05/0.01039, allocations: 8.312 kB / 275.3 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.01041, allocations: 8.375 kB / 275.3 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003367/0.01075, allocations: 82.2 kB / 275.4 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.01076, allocations: 192 / 275.4 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.01078, allocations: 8.375 kB / 275.4 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.01079, allocations: 7.938 kB / 275.4 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003494/0.01114, allocations: 63.94 kB / 275.5 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008291/0.01197, allocations: 284.3 kB / 275.8 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003099/0.01228, allocations: 66.53 kB / 275.8 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001589/0.01244, allocations: 32.97 kB / 275.9 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/0.01246, allocations: 7.938 kB / 275.9 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.84e-05/0.01251, allocations: 38.5 kB / 275.9 MB, free: 14.12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 1.613e-06/0.01251, allocations: 0 / 275.9 MB, free: 14.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006334/0.01315, allocations: 117.6 kB / 276 MB, free: 14 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.891e-05/0.0132, allocations: 55.41 kB / 276.1 MB, free: 13.93 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.01336, allocations: 121.8 kB / 276.2 MB, free: 13.8 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.01339, allocations: 25.7 kB / 276.2 MB, free: 13.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.819e-05/0.01349, allocations: 96.03 kB / 276.3 MB, free: 13.67 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.069e-05/0.01353, allocations: 19.89 kB / 276.3 MB, free: 13.65 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.684e-05/0.01361, allocations: 17.72 kB / 276.3 MB, free: 13.63 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002508/0.01386, allocations: 318.8 kB / 276.7 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.01403, allocations: 27.98 kB / 276.7 MB, free: 13.28 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.01417, allocations: 28.34 kB / 276.7 MB, free: 13.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002867/0.01446, allocations: 68.77 kB / 276.8 MB, free: 13.18 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.01446, allocations: 0 / 276.8 MB, free: 13.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003898/0.01485, allocations: 93.59 kB / 276.9 MB, free: 13.09 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.05e-05/0.01488, allocations: 10.81 kB / 276.9 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.01489, allocations: 0 / 276.9 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/0.01491, allocations: 0 / 276.9 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/0.0151, allocations: 15.98 kB / 276.9 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.01511, allocations: 4 kB / 276.9 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.01523, allocations: 15.92 kB / 276.9 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.01524, allocations: 4 kB / 276.9 MB, free: 13.04 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 0.0001433/0.01539, allocations: 117.7 kB / 277 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.105e-05/0.01545, allocations: 15.94 kB / 277.1 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004723/0.01592, allocations: 101.8 kB / 277.2 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.01592, allocations: 4 kB / 277.2 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.01593, allocations: 4 kB / 277.2 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.01594, allocations: 3.984 kB / 277.2 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002769/0.01622, allocations: 125.2 kB / 277.3 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01622, allocations: 4 kB / 277.3 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/0.01637, allocations: 15.98 kB / 277.3 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.338e-06/0.01638, allocations: 3.984 kB / 277.3 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.01639, allocations: 3.938 kB / 277.3 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.173e-06/0.0164, allocations: 4 kB / 277.3 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.0164, allocations: 4.062 kB / 277.3 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005122/0.01692, allocations: 203.4 kB / 277.5 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.942e-05/0.01694, allocations: 7.938 kB / 277.5 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.362e-05/0.01696, allocations: 0 / 277.5 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001816/0.01714, allocations: 12 kB / 277.5 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.907e-05/0.01718, allocations: 7.984 kB / 277.5 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.01719, allocations: 3.984 kB / 277.6 MB, free: 12.35 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001136/0.01731, allocations: 95.64 kB / 277.6 MB, free: 12.26 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01731, allocations: 0 / 277.6 MB, free: 12.26 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004285/0.01774, allocations: 16 kB / 277.7 MB, free: 12.24 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 0.0001704/0.01791, allocations: 91.25 kB / 277.8 MB, free: 12.14 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004403/0.01835, allocations: 71.88 kB / 277.8 MB, free: 12.07 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.01835, allocations: 0 / 277.8 MB, free: 12.07 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000173/0.01852, allocations: 27.98 kB / 277.8 MB, free: 12.04 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005001/0.01902, allocations: 15.92 kB / 277.9 MB, free: 12.03 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007157/0.01974, allocations: 188.1 kB / 278 MB, free: 11.82 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001325/0.01987, allocations: 75.58 kB / 278.1 MB, free: 11.72 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.906e-05/0.01996, allocations: 12 kB / 278.1 MB, free: 11.71 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.49e-05/0.02003, allocations: 16.48 kB / 278.1 MB, free: 11.7 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.02004, allocations: 0 / 278.1 MB, free: 11.7 MB / 266.7 MB Notification: Performance of Templates: time 0.005646/0.02568, allocations: 0.7311 MB / 278.9 MB, free: 10.98 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=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.344712393940426]