Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions") translateModel(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001158, allocations: 113.9 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 186.1 kB / 19.39 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 222.9 MB / 243.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2073/0.2073, allocations: 44.19 MB / 337.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 59.89 kB / 471.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3189, allocations: 60.82 MB / 0.5196 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.001534/0.3204, allocations: 0.5091 MB / 0.5201 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002377/0.3228, allocations: 2.036 MB / 0.5221 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.551e-05/0.3229, allocations: 0 / 0.5221 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.177e-05/0.3229, allocations: 0 / 0.5221 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.45e-06/0.3229, allocations: 4 kB / 0.5221 GB, free: 1.879 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.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.001286/0.3242, allocations: 0.4891 MB / 0.5225 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.832e-05/0.3242, allocations: 6.078 kB / 0.5225 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.993e-05/0.3243, allocations: 2.078 kB / 0.5225 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.364e-05/0.3243, allocations: 1.281 kB / 0.5225 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.638e-05/0.3243, allocations: 1.281 kB / 0.5225 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.681e-06/0.3243, allocations: 0 / 0.5225 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001017/0.3254, allocations: 0.6144 MB / 0.5231 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.644e-06/0.3254, allocations: 0 / 0.5231 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.563e-05/0.3254, allocations: 1.438 kB / 0.5231 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006038/0.326, allocations: 379.6 kB / 0.5235 GB, free: 1.387 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.326, allocations: 1.688 kB / 0.5235 GB, free: 1.387 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.326, allocations: 4 kB / 0.5235 GB, free: 1.383 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.326, allocations: 0 / 0.5235 GB, free: 1.383 MB / 382.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.0003294/0.3264, allocations: 417.4 kB / 0.5239 GB, free: 0.957 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.3264, allocations: 8.812 kB / 0.5239 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.794e-05/0.3265, allocations: 4.875 kB / 0.5239 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.887e-05/0.3265, allocations: 175.1 kB / 0.5241 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.3265, allocations: 4.312 kB / 0.5241 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.294e-06/0.3265, allocations: 1.5 kB / 0.5241 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.813e-05/0.3266, allocations: 33.95 kB / 0.5241 GB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.3266, allocations: 4 kB / 0.5241 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.3266, allocations: 0 / 0.5241 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.3266, allocations: 1.344 kB / 0.5241 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.723e-05/0.3267, allocations: 2.031 kB / 0.5241 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.092e-05/0.3267, allocations: 148.2 kB / 0.5243 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.669e-05/0.3268, allocations: 20.38 kB / 0.5243 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.13e-05/0.3268, allocations: 6.75 kB / 0.5243 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.346e-06/0.3268, allocations: 5.406 kB / 0.5243 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.3268, allocations: 62.52 kB / 0.5244 GB, free: 408 kB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.3269, allocations: 0 / 0.5244 GB, free: 408 kB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001347/0.327, allocations: 64.41 kB / 0.5244 GB, free: 340 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.156e-05/0.327, allocations: 79.72 kB / 0.5245 GB, free: 244 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.782e-05/0.327, allocations: 89.86 kB / 0.5246 GB, free: 144 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.38e-06/0.3271, allocations: 25.7 kB / 0.5246 GB, free: 112 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.818e-06/0.3271, allocations: 84.69 kB / 0.5247 GB, free: 24 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.727e-05/0.3271, allocations: 10.42 kB / 0.5247 GB, free: 16 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.145e-05/0.3271, allocations: 12.5 kB / 0.5247 GB, free: 0 / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.3272, allocations: 315.5 kB / 0.525 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.858e-06/0.3273, allocations: 0 / 0.525 GB, free: 15.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.853e-06/0.3273, allocations: 2.656 kB / 0.525 GB, free: 15.68 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.361e-05/0.3273, allocations: 59.34 kB / 0.5251 GB, free: 15.61 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3273, allocations: 3.375 kB / 0.5251 GB, free: 15.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.678e-05/0.3274, allocations: 63.11 kB / 0.5251 GB, free: 15.55 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.513e-05/0.3275, allocations: 33.78 kB / 0.5252 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.3275, allocations: 5.656 kB / 0.5252 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.3275, allocations: 0 / 0.5252 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.786e-06/0.3275, allocations: 0 / 0.5252 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.3275, allocations: 5.812 kB / 0.5252 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.597e-05/0.3275, allocations: 3.953 kB / 0.5252 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.3275, allocations: 0.9062 kB / 0.5252 GB, free: 15.5 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 9.057e-05/0.3276, allocations: 136.1 kB / 0.5253 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.905e-06/0.3276, allocations: 8.531 kB / 0.5253 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.729e-05/0.3277, allocations: 13.22 kB / 0.5253 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.3277, allocations: 0 / 0.5253 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.3277, allocations: 0 / 0.5253 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.446e-05/0.3277, allocations: 78.05 kB / 0.5254 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.3278, allocations: 2.188 kB / 0.5254 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.138e-06/0.3278, allocations: 1.562 kB / 0.5254 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.128e-05/0.3278, allocations: 0.6094 kB / 0.5254 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001349/0.3279, allocations: 198 kB / 0.5256 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001336/0.3281, allocations: 246.1 kB / 0.5258 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.458e-05/0.3281, allocations: 4.609 kB / 0.5258 GB, free: 14.79 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.526e-05/0.3281, allocations: 75.28 kB / 0.5259 GB, free: 14.71 MB / 398.1 MB Notification: Performance of Backend: time 5.81e-07/0.3281, allocations: 0 / 0.5259 GB, free: 14.71 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008875/0.329, allocations: 348.3 kB / 0.5262 GB, free: 14.51 MB / 398.1 MB Notification: Performance of SimCode: time 0.0003167/0.3293, allocations: 0.5766 MB / 0.5268 GB, free: 13.88 MB / 398.1 MB Notification: Performance of Templates: time 0.006765/0.3361, allocations: 3.439 MB / 0.5302 GB, free: 12.36 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Math.Random.TestDistributions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches