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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions") translateModel(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001052/0.001052, allocations: 112.7 kB / 18.46 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001408/0.001408, allocations: 210.8 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.4 MB / 247.6 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2052/0.2052, allocations: 46.09 MB / 344.9 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 80.2 kB / 482 MB, free: 4.105 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3177, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.001616/0.3194, allocations: 0.497 MB / 0.5321 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003228/0.3226, allocations: 2.096 MB / 0.5342 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.607e-05/0.3226, allocations: 0 / 0.5342 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.841e-05/0.3227, allocations: 1.375 kB / 0.5342 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.081e-06/0.3227, allocations: 3.938 kB / 0.5342 GB, free: 11.59 MB / 398.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.00131/0.324, allocations: 0.4974 MB / 0.5347 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.564e-05/0.324, allocations: 1.25 kB / 0.5347 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4e-05/0.3241, allocations: 1.344 kB / 0.5347 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.512e-05/0.3241, allocations: 1.344 kB / 0.5347 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.553e-05/0.3241, allocations: 0 / 0.5347 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.071e-06/0.3241, allocations: 4 kB / 0.5347 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001011/0.3252, allocations: 0.6336 MB / 0.5353 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.382e-06/0.3252, allocations: 0 / 0.5353 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.854e-05/0.3252, allocations: 1.062 kB / 0.5353 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005462/0.3258, allocations: 392 kB / 0.5357 GB, free: 10.7 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3258, allocations: 1.375 kB / 0.5357 GB, free: 10.7 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3258, allocations: 0 / 0.5357 GB, free: 10.7 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.3258, allocations: 0 / 0.5357 GB, free: 10.7 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.0004089/0.3262, allocations: 419.1 kB / 0.5361 GB, free: 10.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.3262, allocations: 7.969 kB / 0.5361 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.313e-05/0.3263, allocations: 2.188 kB / 0.5361 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.279e-05/0.3264, allocations: 160.4 kB / 0.5362 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.3264, allocations: 4.375 kB / 0.5363 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.664e-06/0.3264, allocations: 5.594 kB / 0.5363 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.182e-05/0.3265, allocations: 36.59 kB / 0.5363 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.3265, allocations: 0 / 0.5363 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-06/0.3265, allocations: 1.375 kB / 0.5363 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.3265, allocations: 4 kB / 0.5363 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.74e-05/0.3266, allocations: 1.344 kB / 0.5363 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001152/0.3267, allocations: 147.1 kB / 0.5364 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.448e-05/0.3267, allocations: 19.92 kB / 0.5365 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.362e-05/0.3267, allocations: 10.05 kB / 0.5365 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.735e-06/0.3267, allocations: 1.25 kB / 0.5365 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/0.3268, allocations: 65.28 kB / 0.5365 GB, free: 9.711 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.103e-06/0.3268, allocations: 0 / 0.5365 GB, free: 9.711 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001537/0.327, allocations: 62.38 kB / 0.5366 GB, free: 9.645 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.327, allocations: 78.2 kB / 0.5367 GB, free: 9.551 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.449e-05/0.327, allocations: 97.92 kB / 0.5368 GB, free: 9.445 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.3271, allocations: 26.73 kB / 0.5368 GB, free: 9.414 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.073e-05/0.3271, allocations: 80.14 kB / 0.5369 GB, free: 9.332 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.754e-05/0.3271, allocations: 1.094 kB / 0.5369 GB, free: 9.332 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-05/0.3271, allocations: 15.77 kB / 0.5369 GB, free: 9.312 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.993e-05/0.3272, allocations: 316.3 kB / 0.5372 GB, free: 8.996 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.598e-06/0.3272, allocations: 3.938 kB / 0.5372 GB, free: 8.992 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.06e-06/0.3273, allocations: 1.312 kB / 0.5372 GB, free: 8.992 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.947e-05/0.3273, allocations: 62.98 kB / 0.5372 GB, free: 8.918 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3273, allocations: 1.375 kB / 0.5372 GB, free: 8.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.958e-05/0.3274, allocations: 61.98 kB / 0.5373 GB, free: 8.852 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/0.3274, allocations: 31.02 kB / 0.5373 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3274, allocations: 3.938 kB / 0.5373 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.3274, allocations: 1.188 kB / 0.5373 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.233e-06/0.3274, allocations: 0 / 0.5373 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.3275, allocations: 5.328 kB / 0.5373 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.429e-05/0.3275, allocations: 0 / 0.5373 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.3275, allocations: 5.156 kB / 0.5373 GB, free: 8.809 MB / 398.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 6.959e-05/0.3276, allocations: 141.5 kB / 0.5375 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.045e-06/0.3276, allocations: 4.938 kB / 0.5375 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.138e-05/0.3276, allocations: 15.03 kB / 0.5375 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.3276, allocations: 1.125 kB / 0.5375 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.3276, allocations: 0 / 0.5375 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.105e-05/0.3276, allocations: 81.02 kB / 0.5376 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.3277, allocations: 2.031 kB / 0.5376 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.236e-06/0.3277, allocations: 0 / 0.5376 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.053e-05/0.3277, allocations: 5 kB / 0.5376 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000109/0.3278, allocations: 198.9 kB / 0.5378 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001206/0.3279, allocations: 244.2 kB / 0.538 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.632e-05/0.328, allocations: 2.562 kB / 0.538 GB, free: 8.078 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.458e-05/0.328, allocations: 79.31 kB / 0.5381 GB, free: 8 MB / 398.1 MB Notification: Performance of Backend: time 2.11e-07/0.328, allocations: 4.062 kB / 0.5381 GB, free: 7.996 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009145/0.3289, allocations: 338.5 kB / 0.5384 GB, free: 7.777 MB / 398.1 MB Notification: Performance of SimCode: time 0.0003151/0.3292, allocations: 0.5714 MB / 0.539 GB, free: 7.152 MB / 398.1 MB Notification: Performance of Templates: time 0.006803/0.336, allocations: 3.521 MB / 0.5424 GB, free: 5.359 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions.makefile (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 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches