Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_ModelicaTest.Math.Random.TestDistributions") translateModel(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009118/0.0009119, allocations: 172.8 kB / 16.72 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.156/1.156, allocations: 205.4 MB / 222.9 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007017/0.0007019, allocations: 100.9 kB / 271.2 MB, free: 8.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2742/0.2742, allocations: 43.56 MB / 363.1 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003281/0.0003282, allocations: 12 kB / 432 MB, free: 5.828 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09274/0.09309, allocations: 58.85 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.0005085/0.09364, allocations: 240.3 kB / 491.1 MB, free: 10.65 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002236/0.09589, allocations: 1.974 MB / 493 MB, free: 8.656 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.37e-05/0.09592, allocations: 0 / 493 MB, free: 8.656 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 8.246e-06/0.09594, allocations: 0 / 493 MB, free: 8.656 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.681e-06/0.09595, allocations: 0 / 493 MB, free: 8.656 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.09705, allocations: 419.1 kB / 493.4 MB, free: 8.246 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 2.358e-05/0.09708, allocations: 0 / 493.4 MB, free: 8.246 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.465e-05/0.09712, allocations: 7.969 kB / 493.4 MB, free: 8.238 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.213e-05/0.09714, allocations: 0 / 493.4 MB, free: 8.238 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.424e-05/0.09716, allocations: 0 / 493.4 MB, free: 8.238 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.844e-06/0.09717, allocations: 4 kB / 493.5 MB, free: 8.234 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008739/0.09805, allocations: 0.62 MB / 494.1 MB, free: 7.613 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.161e-06/0.09807, allocations: 0 / 494.1 MB, free: 7.613 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.823e-05/0.09811, allocations: 29.69 kB / 494.1 MB, free: 7.578 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003631/0.09847, allocations: 247.5 kB / 494.3 MB, free: 7.336 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.09849, allocations: 8 kB / 494.3 MB, free: 7.328 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.09849, allocations: 0 / 494.3 MB, free: 7.328 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.466e-06/0.0985, allocations: 0 / 494.3 MB, free: 7.328 MB / 378.7 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.0003634/0.09887, allocations: 405.5 kB / 494.7 MB, free: 6.879 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.09891, allocations: 15.97 kB / 494.8 MB, free: 6.863 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.56e-05/0.09894, allocations: 4.922 kB / 494.8 MB, free: 6.859 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.933e-05/0.09901, allocations: 168.3 kB / 494.9 MB, free: 6.656 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.09903, allocations: 384 / 494.9 MB, free: 6.656 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.857e-06/0.09904, allocations: 384 / 494.9 MB, free: 6.656 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.095e-05/0.09912, allocations: 41.95 kB / 495 MB, free: 6.609 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.49e-06/0.09913, allocations: 0 / 495 MB, free: 6.609 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-06/0.09914, allocations: 0 / 495 MB, free: 6.609 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.09915, allocations: 0 / 495 MB, free: 6.609 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.494e-05/0.09917, allocations: 4 kB / 495 MB, free: 6.605 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.984e-05/0.09928, allocations: 145.7 kB / 495.1 MB, free: 6.414 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.874e-05/0.09931, allocations: 14.58 kB / 495.1 MB, free: 6.391 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.259e-05/0.09933, allocations: 16.95 kB / 495.1 MB, free: 6.371 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.172e-06/0.09934, allocations: 0 / 495.1 MB, free: 6.371 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.095e-05/0.09939, allocations: 68.14 kB / 495.2 MB, free: 6.289 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.0994, allocations: 0 / 495.2 MB, free: 6.289 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001317/0.09953, allocations: 67.3 kB / 495.3 MB, free: 6.211 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.09958, allocations: 77.11 kB / 495.4 MB, free: 6.117 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.088e-05/0.09962, allocations: 89.86 kB / 495.4 MB, free: 6.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.09964, allocations: 33.7 kB / 495.5 MB, free: 5.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.985e-05/0.09966, allocations: 84.27 kB / 495.6 MB, free: 5.895 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.334e-05/0.09968, allocations: 3.984 kB / 495.6 MB, free: 5.891 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.734e-06/0.09969, allocations: 0 / 495.6 MB, free: 5.891 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.327e-05/0.09978, allocations: 310.8 kB / 495.9 MB, free: 5.578 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.432e-06/0.09979, allocations: 0 / 495.9 MB, free: 5.578 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.832e-06/0.0998, allocations: 4 kB / 495.9 MB, free: 5.574 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.722e-05/0.09984, allocations: 64.19 kB / 495.9 MB, free: 5.496 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.09985, allocations: 0 / 495.9 MB, free: 5.496 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.904e-05/0.09992, allocations: 67.47 kB / 496 MB, free: 5.418 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.125e-05/0.09995, allocations: 41.08 kB / 496 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.09996, allocations: 0 / 496 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.09998, allocations: 3.984 kB / 496 MB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-07/0.09998, allocations: 0 / 496 MB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.09999, allocations: 3.984 kB / 496 MB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.193e-05/0.1, allocations: 0 / 496 MB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.86e-06/0.1, allocations: 0 / 496 MB, free: 5.367 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.396e-05/0.1001, allocations: 139.6 kB / 496.2 MB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.779e-06/0.1001, allocations: 3.938 kB / 496.2 MB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.795e-06/0.1001, allocations: 7.062 kB / 496.2 MB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.1001, allocations: 0 / 496.2 MB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.1001, allocations: 0 / 496.2 MB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1001, allocations: 4 kB / 496.2 MB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.195e-05/0.1002, allocations: 153.5 kB / 496.3 MB, free: 5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.1002, allocations: 0 / 496.3 MB, free: 5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.1002, allocations: 0 / 496.3 MB, free: 5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.1002, allocations: 3.938 kB / 496.4 MB, free: 4.996 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-06/0.1002, allocations: 4 kB / 496.4 MB, free: 4.992 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1003, allocations: 8 kB / 496.4 MB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1003, allocations: 0 / 496.4 MB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.785e-05/0.1003, allocations: 86.83 kB / 496.4 MB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.519e-05/0.1004, allocations: 81.11 kB / 496.5 MB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.081e-05/0.1004, allocations: 3.938 kB / 496.5 MB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.546e-06/0.1004, allocations: 0 / 496.5 MB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.156e-05/0.1004, allocations: 0 / 496.5 MB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.1004, allocations: 4.031 kB / 496.5 MB, free: 4.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.997e-05/0.1005, allocations: 75.28 kB / 496.6 MB, free: 4.695 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1005, allocations: 4 kB / 496.6 MB, free: 4.691 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000383/0.1008, allocations: 120 kB / 496.7 MB, free: 4.574 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006691/0.1015, allocations: 310.6 kB / 497 MB, free: 4.266 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.342e-05/0.1016, allocations: 71.33 kB / 497.1 MB, free: 4.184 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1016, allocations: 0 / 497.1 MB, free: 4.184 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.493e-05/0.1016, allocations: 55.41 kB / 497.2 MB, free: 4.117 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001061/0.1018, allocations: 3.609 kB / 497.2 MB, free: 4.117 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001416/0.1019, allocations: 108.5 kB / 497.3 MB, free: 3.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001684/0.1021, allocations: 0.6692 MB / 497.9 MB, free: 3.285 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.717e-06/0.1021, allocations: 7.438 kB / 497.9 MB, free: 3.277 MB / 378.7 MB Notification: Performance of SimCode: time 2.91e-07/0.1021, allocations: 0 / 497.9 MB, free: 3.277 MB / 378.7 MB Notification: Performance of Templates: time 0.00478/0.1069, allocations: 3.23 MB / 0.4894 GB, free: 44 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributions.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributions.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributions.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributions.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributions --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributions.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/Random/TestDistributions/TestDistributions.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches