Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions.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.001896/0.001896, allocations: 79.73 kB / 21.25 MB, free: 384 kB / 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.002487/0.002487, allocations: 162.8 kB / 24.5 MB, free: 3.441 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.449/1.449, allocations: 177.1 MB / 204.7 MB, free: 8.988 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2139/0.2139, allocations: 34.26 MB / 295.4 MB, free: 14.49 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions") translateModel(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002522/0.002522, allocations: 79.88 kB / 443.1 MB, free: 6.512 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3077, allocations: 66.05 MB / 0.4973 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.001822/0.3095, allocations: 0.508 MB / 0.4978 GB, free: 29.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002769/0.3123, allocations: 2.007 MB / 0.4997 GB, free: 28.2 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.384e-05/0.3123, allocations: 0 / 0.4997 GB, free: 28.2 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.171e-05/0.3123, allocations: 0 / 0.4997 GB, free: 28.2 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.531e-06/0.3123, allocations: 0 / 0.4997 GB, free: 28.2 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:1013:5-1096:22:writable] Warning: Pure function 'ModelicaTest.Math.Random.distributions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.00128/0.3136, allocations: 0.5123 MB / 0.5002 GB, free: 28 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.413e-05/0.3136, allocations: 7.547 kB / 0.5002 GB, free: 27.99 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.316e-05/0.3137, allocations: 7.219 kB / 0.5002 GB, free: 27.99 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.908e-05/0.3137, allocations: 0 / 0.5002 GB, free: 27.99 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.629e-05/0.3137, allocations: 0 / 0.5002 GB, free: 27.99 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.081e-06/0.3137, allocations: 0 / 0.5002 GB, free: 27.99 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008258/0.3146, allocations: 0.6402 MB / 0.5009 GB, free: 27.8 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.296e-06/0.3146, allocations: 7.094 kB / 0.5009 GB, free: 27.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.824e-05/0.3146, allocations: 3.984 kB / 0.5009 GB, free: 27.8 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004534/0.315, allocations: 380 kB / 0.5012 GB, free: 27.69 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.315, allocations: 0 / 0.5012 GB, free: 27.69 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.315, allocations: 0 / 0.5012 GB, free: 27.69 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.315, allocations: 0 / 0.5012 GB, free: 27.69 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003324/0.3154, allocations: 352.5 kB / 0.5016 GB, free: 27.35 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.3154, allocations: 9.25 kB / 0.5016 GB, free: 27.35 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.302e-05/0.3155, allocations: 0.9375 kB / 0.5016 GB, free: 27.35 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.609e-05/0.3155, allocations: 113.7 kB / 0.5017 GB, free: 27.22 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.3155, allocations: 384 / 0.5017 GB, free: 27.22 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.623e-06/0.3155, allocations: 384 / 0.5017 GB, free: 27.22 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.591e-05/0.3156, allocations: 61.7 kB / 0.5017 GB, free: 27.15 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.3156, allocations: 0 / 0.5017 GB, free: 27.15 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.3156, allocations: 0 / 0.5017 GB, free: 27.15 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3156, allocations: 3.219 kB / 0.5017 GB, free: 27.15 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.504e-05/0.3157, allocations: 29.7 kB / 0.5018 GB, free: 27.12 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.1e-05/0.3157, allocations: 96.45 kB / 0.5019 GB, free: 27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.615e-05/0.3158, allocations: 47.73 kB / 0.5019 GB, free: 26.94 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.82e-05/0.3158, allocations: 37.44 kB / 0.5019 GB, free: 26.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.087e-06/0.3158, allocations: 0 / 0.5019 GB, free: 26.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.3158, allocations: 63.27 kB / 0.502 GB, free: 26.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 8.21e-07/0.3158, allocations: 0 / 0.502 GB, free: 26.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001636/0.316, allocations: 120.5 kB / 0.5021 GB, free: 26.69 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.3161, allocations: 80.27 kB / 0.5022 GB, free: 26.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.071e-05/0.3161, allocations: 93.8 kB / 0.5023 GB, free: 26.49 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.618e-06/0.3161, allocations: 29.7 kB / 0.5023 GB, free: 26.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.458e-06/0.3161, allocations: 88.02 kB / 0.5024 GB, free: 26.37 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.517e-05/0.3161, allocations: 0 / 0.5024 GB, free: 26.37 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.228e-05/0.3161, allocations: 12.84 kB / 0.5024 GB, free: 26.35 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.101e-05/0.3162, allocations: 321.7 kB / 0.5027 GB, free: 26.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.488e-05/0.3162, allocations: 25.7 kB / 0.5027 GB, free: 26 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.859e-06/0.3162, allocations: 25.7 kB / 0.5028 GB, free: 25.97 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.76e-05/0.3163, allocations: 63.48 kB / 0.5028 GB, free: 25.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3163, allocations: 3.312 kB / 0.5028 GB, free: 25.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.365e-05/0.3163, allocations: 86.7 kB / 0.5029 GB, free: 25.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.3163, allocations: 32.11 kB / 0.5029 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.3163, allocations: 0 / 0.5029 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.3163, allocations: 4.031 kB / 0.5029 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.092e-06/0.3163, allocations: 8 kB / 0.503 GB, free: 25.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.3164, allocations: 3.938 kB / 0.503 GB, free: 25.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.405e-05/0.3164, allocations: 0 / 0.503 GB, free: 25.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.3164, allocations: 3.188 kB / 0.503 GB, free: 25.76 MB / 446.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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 4.645e-05/0.3164, allocations: 142.9 kB / 0.5031 GB, free: 25.61 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.213e-06/0.3164, allocations: 3.188 kB / 0.5031 GB, free: 25.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.021e-05/0.3164, allocations: 6.938 kB / 0.5031 GB, free: 25.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.3164, allocations: 0 / 0.5031 GB, free: 25.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.3164, allocations: 0 / 0.5031 GB, free: 25.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-06/0.3164, allocations: 0 / 0.5031 GB, free: 25.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.762e-05/0.3165, allocations: 103.7 kB / 0.5032 GB, free: 25.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.3165, allocations: 0 / 0.5032 GB, free: 25.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.2e-07/0.3165, allocations: 0 / 0.5032 GB, free: 25.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.3165, allocations: 0 / 0.5032 GB, free: 25.47 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.3165, allocations: 3.188 kB / 0.5032 GB, free: 25.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3165, allocations: 3.938 kB / 0.5032 GB, free: 25.47 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3165, allocations: 0 / 0.5032 GB, free: 25.47 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.943e-05/0.3166, allocations: 116.1 kB / 0.5033 GB, free: 25.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.817e-06/0.3166, allocations: 0 / 0.5033 GB, free: 25.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.073e-05/0.3166, allocations: 3.031 kB / 0.5033 GB, free: 25.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.147e-06/0.3166, allocations: 11.91 kB / 0.5033 GB, free: 25.33 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.577e-05/0.3166, allocations: 0 / 0.5033 GB, free: 25.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-06/0.3166, allocations: 0 / 0.5033 GB, free: 25.33 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.213e-05/0.3166, allocations: 78.25 kB / 0.5034 GB, free: 25.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3166, allocations: 3.938 kB / 0.5034 GB, free: 25.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003574/0.317, allocations: 136.7 kB / 0.5035 GB, free: 25.21 MB / 446.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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0006059/0.3176, allocations: 322.5 kB / 0.5039 GB, free: 25.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.437e-05/0.3177, allocations: 111.7 kB / 0.504 GB, free: 24.92 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.3177, allocations: 0 / 0.504 GB, free: 24.92 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.077e-05/0.3177, allocations: 79.95 kB / 0.504 GB, free: 24.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001199/0.3178, allocations: 2.719 kB / 0.504 GB, free: 24.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001573/0.318, allocations: 120.1 kB / 0.5042 GB, free: 24.69 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.424e-05/0.318, allocations: 57.98 kB / 0.5042 GB, free: 24.61 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.29e-06/0.318, allocations: 0 / 0.5042 GB, free: 24.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.033e-05/0.318, allocations: 11.16 kB / 0.5042 GB, free: 24.6 MB / 446.1 MB Notification: Performance of SimCode: time 4.81e-07/0.318, allocations: 4 kB / 0.5042 GB, free: 24.6 MB / 446.1 MB Notification: Performance of Templates: time 0.006642/0.3246, allocations: 3.51 MB / 0.5077 GB, free: 24.31 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions.sim & ./ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/Random/TestDistributions/TestDistributions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions.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: 5.143588469945826]