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.001348/0.001348, allocations: 113.7 kB / 17.04 MB, free: 5.812 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.001502/0.001502, allocations: 195 kB / 17.98 MB, free: 5.027 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.422/1.422, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.2058/0.2058, allocations: 43.52 MB / 314.7 MB, free: 488 kB / 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.001593/0.001593, allocations: 64.8 kB / 384.2 MB, free: 56.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1186, allocations: 57.8 MB / 442 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.001597/0.1202, allocations: 0.4927 MB / 442.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002231/0.1225, allocations: 2.068 MB / 444.5 MB, free: 3.57 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.967e-05/0.1225, allocations: 0 / 444.5 MB, free: 3.57 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.128e-05/0.1225, allocations: 0 / 444.5 MB, free: 3.57 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.282e-06/0.1225, allocations: 7.938 kB / 444.5 MB, free: 3.562 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001128/0.1237, allocations: 0.4938 MB / 445 MB, free: 3.07 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.45e-05/0.1237, allocations: 7.984 kB / 445 MB, free: 3.062 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.634e-05/0.1238, allocations: 7.938 kB / 445.1 MB, free: 3.055 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.41e-05/0.1238, allocations: 0 / 445.1 MB, free: 3.055 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.643e-05/0.1238, allocations: 0 / 445.1 MB, free: 3.055 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.952e-06/0.1238, allocations: 0 / 445.1 MB, free: 3.055 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007157/0.1245, allocations: 0.6123 MB / 445.7 MB, free: 2.441 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.073e-06/0.1245, allocations: 0 / 445.7 MB, free: 2.441 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.258e-05/0.1246, allocations: 4 kB / 445.7 MB, free: 2.438 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004165/0.125, allocations: 383.2 kB / 446 MB, free: 2.062 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.125, allocations: 4 kB / 446 MB, free: 2.059 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.125, allocations: 4 kB / 446 MB, free: 2.055 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.125, allocations: 0 / 446 MB, free: 2.055 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.0003116/0.1253, allocations: 409.3 kB / 446.4 MB, free: 1.602 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.1254, allocations: 11.89 kB / 446.5 MB, free: 1.59 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.945e-05/0.1254, allocations: 4.844 kB / 446.5 MB, free: 1.586 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.377e-05/0.1255, allocations: 168.4 kB / 446.6 MB, free: 1.383 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.1255, allocations: 384 / 446.6 MB, free: 1.383 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.543e-06/0.1255, allocations: 384 / 446.6 MB, free: 1.383 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.447e-05/0.1256, allocations: 34.02 kB / 446.7 MB, free: 1.344 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.1256, allocations: 7.938 kB / 446.7 MB, free: 1.336 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.363e-06/0.1256, allocations: 0 / 446.7 MB, free: 1.336 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.1256, allocations: 0 / 446.7 MB, free: 1.336 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.684e-05/0.1256, allocations: 3.938 kB / 446.7 MB, free: 1.332 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.448e-05/0.1257, allocations: 149.7 kB / 446.8 MB, free: 1.137 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.991e-05/0.1258, allocations: 18.61 kB / 446.8 MB, free: 1.109 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.173e-05/0.1258, allocations: 8.797 kB / 446.8 MB, free: 1.098 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.918e-06/0.1258, allocations: 0 / 446.8 MB, free: 1.098 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.1258, allocations: 68.27 kB / 446.9 MB, free: 1.016 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.1258, allocations: 0 / 446.9 MB, free: 1.016 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.000144/0.126, allocations: 67.33 kB / 447 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.126, allocations: 81.11 kB / 447.1 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.2e-05/0.126, allocations: 89.86 kB / 447.1 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.071e-06/0.126, allocations: 25.7 kB / 447.2 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.069e-05/0.1261, allocations: 84.12 kB / 447.3 MB, free: 0.625 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.91e-05/0.1261, allocations: 128 / 447.3 MB, free: 0.625 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.132e-05/0.1261, allocations: 17.72 kB / 447.3 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.748e-05/0.1262, allocations: 310.8 kB / 447.6 MB, free: 296 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.756e-06/0.1262, allocations: 0 / 447.6 MB, free: 296 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.122e-06/0.1262, allocations: 4 kB / 447.6 MB, free: 292 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.152e-05/0.1262, allocations: 64.25 kB / 447.6 MB, free: 212 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1262, allocations: 0 / 447.6 MB, free: 212 kB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.72e-05/0.1263, allocations: 63.34 kB / 447.7 MB, free: 136 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.1263, allocations: 42.98 kB / 447.7 MB, free: 88 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1263, allocations: 0 / 447.7 MB, free: 88 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.1263, allocations: 0 / 447.7 MB, free: 88 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.1263, allocations: 0 / 447.7 MB, free: 88 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.1264, allocations: 0 / 447.7 MB, free: 88 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.22e-05/0.1264, allocations: 3.984 kB / 447.8 MB, free: 84 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.1264, allocations: 0 / 447.8 MB, free: 84 kB / 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 7.833e-05/0.1265, allocations: 143.5 kB / 447.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.061e-05/0.1265, allocations: 3.938 kB / 447.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.508e-06/0.1265, allocations: 7.125 kB / 447.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.1265, allocations: 0 / 447.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1265, allocations: 4 kB / 447.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.1265, allocations: 0 / 447.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.757e-05/0.1266, allocations: 149.7 kB / 448.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1266, allocations: 0 / 448.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.1266, allocations: 0 / 448.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.1266, allocations: 3.938 kB / 448.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.1266, allocations: 4 kB / 448.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.1266, allocations: 0 / 448.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1266, allocations: 7.875 kB / 448.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.183e-05/0.1267, allocations: 94.77 kB / 448.2 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.697e-05/0.1268, allocations: 81.11 kB / 448.2 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.1268, allocations: 3.938 kB / 448.2 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.955e-06/0.1268, allocations: 0 / 448.2 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.887e-06/0.1268, allocations: 0 / 448.2 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.1268, allocations: 4 kB / 448.2 MB, free: 15.48 MB / 334.1 MB Notification: Performance of sorting global known variables: time 2.283e-05/0.1269, allocations: 75.28 kB / 448.3 MB, free: 15.4 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1269, allocations: 4.031 kB / 448.3 MB, free: 15.4 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003401/0.1272, allocations: 127.9 kB / 448.4 MB, free: 15.27 MB / 334.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.0006123/0.1278, allocations: 310.6 kB / 448.8 MB, free: 14.97 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.89e-05/0.1279, allocations: 59.39 kB / 448.8 MB, free: 14.9 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1279, allocations: 4.062 kB / 448.8 MB, free: 14.89 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.263e-05/0.128, allocations: 63.34 kB / 448.9 MB, free: 14.82 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001222/0.1281, allocations: 0 / 448.9 MB, free: 14.82 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001735/0.1283, allocations: 73.06 kB / 448.9 MB, free: 14.72 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000264/0.1286, allocations: 0.6729 MB / 449.6 MB, free: 14.02 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.622e-06/0.1286, allocations: 0 / 449.6 MB, free: 14.02 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.679e-05/0.1286, allocations: 7.438 kB / 449.6 MB, free: 14.02 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1286, allocations: 3.938 kB / 449.6 MB, free: 14.01 MB / 334.1 MB Notification: Performance of Templates: time 0.007397/0.136, allocations: 3.42 MB / 453.1 MB, free: 10.6 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 -s gbode -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