Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001253/0.001253, allocations: 114.3 kB / 21.18 MB, free: 0.6289 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.001392/0.001392, allocations: 210.9 kB / 24.48 MB, free: 4.035 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.421/1.421, allocations: 230.2 MB / 257.8 MB, free: 8.504 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.228/0.228, allocations: 46.89 MB / 361.1 MB, free: 4.637 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_ModelicaTest.Math.Random.TestDistributions") translateModel(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestDistributions") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00232/0.00232, allocations: 75.88 kB / 0.4968 GB, free: 7.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3039, allocations: 65.99 MB / 0.5612 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.001563/0.3055, allocations: 0.4957 MB / 0.5617 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003041/0.3085, allocations: 2.136 MB / 0.5638 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.292e-05/0.3085, allocations: 0 / 0.5638 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.085e-05/0.3085, allocations: 0 / 0.5638 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.829e-06/0.3085, allocations: 0 / 0.5638 GB, free: 2.359 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.00135/0.3099, allocations: 0.5019 MB / 0.5643 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.867e-05/0.3099, allocations: 0 / 0.5643 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.368e-05/0.31, allocations: 3.984 kB / 0.5643 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.83e-05/0.31, allocations: 8 kB / 0.5643 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.656e-05/0.31, allocations: 3.984 kB / 0.5643 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.19e-06/0.31, allocations: 0 / 0.5643 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001088/0.3111, allocations: 0.6667 MB / 0.5649 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.582e-06/0.3111, allocations: 4 kB / 0.5649 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.8e-05/0.3111, allocations: 4 kB / 0.5649 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000552/0.3117, allocations: 393.8 kB / 0.5653 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.3117, allocations: 0 / 0.5653 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3117, allocations: 0 / 0.5653 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.3117, allocations: 0 / 0.5653 GB, free: 0.7852 MB / 398.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.0004626/0.3121, allocations: 424.4 kB / 0.5657 GB, free: 324 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.3122, allocations: 8.031 kB / 0.5657 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.943e-05/0.3122, allocations: 4.938 kB / 0.5657 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.3123, allocations: 164.4 kB / 0.5659 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.3123, allocations: 384 / 0.5659 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.708e-06/0.3123, allocations: 4.375 kB / 0.5659 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.079e-05/0.3124, allocations: 38 kB / 0.5659 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.3124, allocations: 0 / 0.5659 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.3124, allocations: 4 kB / 0.5659 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.256e-06/0.3124, allocations: 0 / 0.5659 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.195e-05/0.3125, allocations: 7.938 kB / 0.5659 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001521/0.3126, allocations: 145.7 kB / 0.5661 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.232e-05/0.3127, allocations: 22.59 kB / 0.5661 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.713e-05/0.3127, allocations: 4.859 kB / 0.5661 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.767e-06/0.3127, allocations: 0 / 0.5661 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.992e-05/0.3127, allocations: 64.2 kB / 0.5662 GB, free: 15.74 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.3127, allocations: 0 / 0.5662 GB, free: 15.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001686/0.3129, allocations: 71.34 kB / 0.5662 GB, free: 15.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.3129, allocations: 81.23 kB / 0.5663 GB, free: 15.56 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.715e-05/0.313, allocations: 93.8 kB / 0.5664 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.313, allocations: 29.7 kB / 0.5664 GB, free: 15.42 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.37e-05/0.313, allocations: 80.14 kB / 0.5665 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.656e-05/0.3131, allocations: 0 / 0.5665 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.979e-05/0.3131, allocations: 13.72 kB / 0.5665 GB, free: 15.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.3132, allocations: 314.8 kB / 0.5668 GB, free: 15 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.747e-06/0.3132, allocations: 0 / 0.5668 GB, free: 15 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.869e-06/0.3132, allocations: 4 kB / 0.5668 GB, free: 15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.441e-05/0.3133, allocations: 68.19 kB / 0.5669 GB, free: 14.92 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3133, allocations: 0 / 0.5669 GB, free: 14.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.59e-05/0.3134, allocations: 67.34 kB / 0.5669 GB, free: 14.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.147e-05/0.3134, allocations: 29.7 kB / 0.567 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3134, allocations: 3.938 kB / 0.567 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.3134, allocations: 0 / 0.567 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.72e-07/0.3134, allocations: 0 / 0.567 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.3134, allocations: 4 kB / 0.567 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.353e-05/0.3134, allocations: 4.094 kB / 0.567 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.3134, allocations: 0 / 0.567 GB, free: 14.79 MB / 414.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 8.606e-05/0.3135, allocations: 135.5 kB / 0.5671 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.595e-06/0.3135, allocations: 4 kB / 0.5671 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.002e-05/0.3135, allocations: 7.062 kB / 0.5671 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.3135, allocations: 0 / 0.5671 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.3135, allocations: 0 / 0.5671 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.041e-05/0.3136, allocations: 77.11 kB / 0.5672 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.989e-06/0.3136, allocations: 0 / 0.5672 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.041e-05/0.3136, allocations: 8 kB / 0.5672 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.346e-05/0.3136, allocations: 3.984 kB / 0.5672 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001304/0.3137, allocations: 194 kB / 0.5674 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001532/0.3139, allocations: 240.5 kB / 0.5676 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.395e-05/0.3139, allocations: 0 / 0.5676 GB, free: 14.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.394e-05/0.3139, allocations: 79.34 kB / 0.5677 GB, free: 13.98 MB / 414.1 MB Notification: Performance of Backend: time 2.3e-07/0.3139, allocations: 0 / 0.5677 GB, free: 13.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009505/0.3149, allocations: 351.9 kB / 0.568 GB, free: 13.62 MB / 414.1 MB Notification: Performance of SimCode: time 0.0003931/0.3153, allocations: 0.591 MB / 0.5686 GB, free: 12.96 MB / 414.1 MB Notification: Performance of Templates: time 0.007341/0.3226, allocations: 3.524 MB / 0.5721 GB, free: 9.441 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestDistributions.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestDistributions.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestDistributions.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestDistributions.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestDistributions.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestDistributions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestDistributions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestDistributions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/Random/TestDistributions/TestDistributions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 4.96137216174975]