Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.Math.Random.TestDistributions") translateModel(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_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.001154/0.001154, allocations: 100.6 kB / 16.94 MB, free: 6.184 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.001172/0.001172, allocations: 191.4 kB / 17.86 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.471/1.471, allocations: 205.1 MB / 223.7 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2369/0.2369, allocations: 43.52 MB / 314.6 MB, free: 0.5312 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 71.69 kB / 383.4 MB, free: 56.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1158, allocations: 57.8 MB / 441.2 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.001658/0.1175, allocations: 0.5013 MB / 441.7 MB, free: 6.414 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002526/0.1201, allocations: 2.072 MB / 443.8 MB, free: 4.32 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.357e-05/0.1201, allocations: 0 / 443.8 MB, free: 4.32 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.388e-05/0.1201, allocations: 0 / 443.8 MB, free: 4.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.171e-06/0.1202, allocations: 0 / 443.8 MB, free: 4.32 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001225/0.1214, allocations: 0.4984 MB / 444.3 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.599e-05/0.1215, allocations: 3.984 kB / 444.3 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.466e-05/0.1215, allocations: 0 / 444.3 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.622e-05/0.1215, allocations: 4 kB / 444.3 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.666e-05/0.1216, allocations: 0 / 444.3 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.344e-06/0.1216, allocations: 0 / 444.3 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000754/0.1223, allocations: 0.6044 MB / 444.9 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.085e-05/0.1224, allocations: 11.94 kB / 444.9 MB, free: 3.199 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.038e-05/0.1224, allocations: 0 / 444.9 MB, free: 3.199 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004478/0.1228, allocations: 375.6 kB / 445.3 MB, free: 2.832 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1228, allocations: 0 / 445.3 MB, free: 2.832 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1228, allocations: 0 / 445.3 MB, free: 2.832 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.1229, allocations: 4 kB / 445.3 MB, free: 2.828 MB / 318.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.0003545/0.1232, allocations: 417.2 kB / 445.7 MB, free: 2.367 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.1233, allocations: 11.89 kB / 445.7 MB, free: 2.355 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.399e-05/0.1233, allocations: 4.844 kB / 445.7 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.958e-05/0.1234, allocations: 160.4 kB / 445.8 MB, free: 2.156 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.1234, allocations: 8.312 kB / 445.8 MB, free: 2.148 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.207e-06/0.1234, allocations: 384 / 445.8 MB, free: 2.148 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.1235, allocations: 37.95 kB / 445.9 MB, free: 2.105 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.1235, allocations: 0 / 445.9 MB, free: 2.105 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.1235, allocations: 8 kB / 445.9 MB, free: 2.098 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1236, allocations: 0 / 445.9 MB, free: 2.098 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.643e-05/0.1236, allocations: 0 / 445.9 MB, free: 2.098 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.208e-05/0.1237, allocations: 145.7 kB / 446 MB, free: 1.906 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.526e-05/0.1237, allocations: 22.59 kB / 446.1 MB, free: 1.875 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.246e-05/0.1237, allocations: 4.859 kB / 446.1 MB, free: 1.867 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.679e-06/0.1237, allocations: 0 / 446.1 MB, free: 1.867 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/0.1238, allocations: 72.2 kB / 446.1 MB, free: 1.781 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 6.81e-07/0.1238, allocations: 4 kB / 446.1 MB, free: 1.777 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001643/0.124, allocations: 59.39 kB / 446.2 MB, free: 1.707 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.124, allocations: 81.11 kB / 446.3 MB, free: 1.609 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.302e-05/0.124, allocations: 89.86 kB / 446.4 MB, free: 1.512 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.633e-06/0.124, allocations: 25.7 kB / 446.4 MB, free: 1.48 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.224e-05/0.1241, allocations: 80.14 kB / 446.5 MB, free: 1.398 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.812e-05/0.1241, allocations: 7.984 kB / 446.5 MB, free: 1.391 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.388e-05/0.1241, allocations: 17.84 kB / 446.5 MB, free: 1.367 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.207e-05/0.1242, allocations: 314.8 kB / 446.8 MB, free: 1.051 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.107e-05/0.1242, allocations: 3.938 kB / 446.8 MB, free: 1.047 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.841e-06/0.1242, allocations: 3.938 kB / 446.8 MB, free: 1.043 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.201e-05/0.1243, allocations: 60.27 kB / 446.9 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1243, allocations: 0 / 446.9 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.013e-05/0.1243, allocations: 63.41 kB / 446.9 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.1244, allocations: 37.62 kB / 447 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.1244, allocations: 4.094 kB / 447 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.1244, allocations: 4 kB / 447 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.833e-06/0.1244, allocations: 4 kB / 447 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.1244, allocations: 0 / 447 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.536e-05/0.1244, allocations: 0 / 447 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.1244, allocations: 0 / 447 MB, free: 0.8398 MB / 318.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.164e-05/0.1245, allocations: 139.5 kB / 447.1 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.895e-06/0.1245, allocations: 3.938 kB / 447.1 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.816e-06/0.1245, allocations: 3.125 kB / 447.1 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1245, allocations: 4 kB / 447.1 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1245, allocations: 3.938 kB / 447.1 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.1245, allocations: 3.984 kB / 447.1 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.297e-05/0.1246, allocations: 149.7 kB / 447.3 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.1246, allocations: 0 / 447.3 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.1246, allocations: 0 / 447.3 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.1246, allocations: 7.875 kB / 447.3 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.1246, allocations: 0 / 447.3 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.1246, allocations: 0 / 447.3 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1246, allocations: 4 kB / 447.3 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.373e-05/0.1247, allocations: 90.83 kB / 447.4 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.804e-05/0.1247, allocations: 77.11 kB / 447.4 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.1247, allocations: 7.938 kB / 447.5 MB, free: 252 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.537e-06/0.1248, allocations: 0 / 447.5 MB, free: 252 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.496e-05/0.1248, allocations: 3.984 kB / 447.5 MB, free: 248 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.1248, allocations: 0 / 447.5 MB, free: 248 kB / 318.1 MB Notification: Performance of sorting global known variables: time 1.187e-05/0.1248, allocations: 75.28 kB / 447.5 MB, free: 172 kB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1248, allocations: 4.031 kB / 447.5 MB, free: 168 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003485/0.1252, allocations: 127.9 kB / 447.7 MB, free: 40 kB / 318.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.0007337/0.1259, allocations: 299 kB / 448 MB, free: 15.74 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.449e-05/0.126, allocations: 59.41 kB / 448 MB, free: 15.67 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.126, allocations: 64 / 448 MB, free: 15.67 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.37e-05/0.1261, allocations: 59.41 kB / 448.1 MB, free: 15.6 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001287/0.1262, allocations: 2.969 kB / 448.1 MB, free: 15.6 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002159/0.1264, allocations: 110.8 kB / 448.2 MB, free: 15.46 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.1267, allocations: 0.669 MB / 448.8 MB, free: 14.77 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.364e-05/0.1268, allocations: 11.44 kB / 448.9 MB, free: 14.75 MB / 334.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1268, allocations: 0 / 448.9 MB, free: 14.75 MB / 334.1 MB Notification: Performance of Templates: time 0.005991/0.1328, allocations: 3.241 MB / 452.1 MB, free: 11.51 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/Random/TestDistributions/TestDistributions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches