Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 88.23 kB / 20.2 MB, free: 4.227 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001644/0.001644, allocations: 157.7 kB / 23.51 MB, free: 0.918 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.553/1.553, allocations: 158.6 MB / 185.3 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2399/0.2399, allocations: 32.37 MB / 270 MB, free: 14.78 MB / 266.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.Random.TestTruncatedDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions") translateModel(ModelicaTest.Math.Random.TestTruncatedDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 346.9 MB, free: 9.809 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.002e-05/3.167e-05, allocations: 6.25 kB / 346.9 MB, free: 9.801 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestTruncatedDistributions): time 0.001924/0.001955, allocations: 0.5115 MB / 347.4 MB, free: 9.293 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00329/0.005246, allocations: 2.224 MB / 349.7 MB, free: 7.043 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.759e-05/0.005263, allocations: 0 / 349.7 MB, free: 7.043 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.519e-05/0.005278, allocations: 0 / 349.7 MB, free: 7.043 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.703e-06/0.005285, allocations: 0 / 349.7 MB, free: 7.043 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001795/0.00708, allocations: 0.5838 MB / 350.2 MB, free: 6.457 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.093e-05/0.007131, allocations: 11.98 kB / 350.3 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.211e-05/0.007163, allocations: 0 / 350.3 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.532e-05/0.007188, allocations: 0 / 350.3 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.104e-05/0.007209, allocations: 4 kB / 350.3 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.506e-06/0.007218, allocations: 0 / 350.3 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001048/0.008266, allocations: 0.6587 MB / 350.9 MB, free: 5.781 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.101e-05/0.008277, allocations: 0 / 350.9 MB, free: 5.781 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.091e-05/0.008308, allocations: 4 kB / 350.9 MB, free: 5.777 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006415/0.00895, allocations: 0.5181 MB / 351.4 MB, free: 5.258 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.008952, allocations: 0 / 351.4 MB, free: 5.258 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.008954, allocations: 7.922 kB / 351.5 MB, free: 5.25 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.00896, allocations: 0 / 351.5 MB, free: 5.25 MB / 282.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.0003665/0.009327, allocations: 359.2 kB / 351.8 MB, free: 4.863 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.009362, allocations: 8.031 kB / 351.8 MB, free: 4.855 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.486e-05/0.009407, allocations: 4.938 kB / 351.8 MB, free: 4.852 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.716e-05/0.009454, allocations: 105.8 kB / 351.9 MB, free: 4.723 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.009465, allocations: 4.375 kB / 351.9 MB, free: 4.719 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.256e-06/0.009473, allocations: 384 / 351.9 MB, free: 4.719 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.04e-05/0.009554, allocations: 59.95 kB / 352 MB, free: 4.648 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.009562, allocations: 192 / 352 MB, free: 4.648 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.009571, allocations: 384 / 352 MB, free: 4.648 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.009575, allocations: 3.938 kB / 352 MB, free: 4.645 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.314e-05/0.009598, allocations: 33.64 kB / 352 MB, free: 4.605 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.746e-05/0.009676, allocations: 101.3 kB / 352.1 MB, free: 4.477 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.053e-05/0.009736, allocations: 48.3 kB / 352.2 MB, free: 4.414 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.893e-05/0.009755, allocations: 34.56 kB / 352.2 MB, free: 4.371 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.757e-06/0.009764, allocations: 3.938 kB / 352.2 MB, free: 4.367 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.009794, allocations: 64.31 kB / 352.3 MB, free: 4.289 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 7.11e-07/0.009795, allocations: 0 / 352.3 MB, free: 4.289 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001776/0.009972, allocations: 122.7 kB / 352.4 MB, free: 4.145 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.01001, allocations: 81.05 kB / 352.5 MB, free: 4.047 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.997e-05/0.01004, allocations: 89.86 kB / 352.6 MB, free: 3.949 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.768e-06/0.01005, allocations: 29.7 kB / 352.6 MB, free: 3.914 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.764e-05/0.01007, allocations: 80.14 kB / 352.7 MB, free: 3.832 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.01009, allocations: 128 / 352.7 MB, free: 3.832 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.649e-05/0.01011, allocations: 21.72 kB / 352.7 MB, free: 3.805 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.711e-05/0.01017, allocations: 310.8 kB / 353 MB, free: 3.492 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.66e-05/0.01019, allocations: 25.7 kB / 353 MB, free: 3.461 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.158e-05/0.0102, allocations: 33.69 kB / 353 MB, free: 3.422 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.91e-05/0.01024, allocations: 56.27 kB / 353.1 MB, free: 3.352 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.01024, allocations: 0 / 353.1 MB, free: 3.352 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.438e-05/0.01029, allocations: 93.05 kB / 353.2 MB, free: 3.242 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.01032, allocations: 37.69 kB / 353.2 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.01032, allocations: 0 / 353.2 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.01034, allocations: 4.094 kB / 353.2 MB, free: 3.195 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/0.01034, allocations: 0 / 353.2 MB, free: 3.195 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.01035, allocations: 3.938 kB / 353.2 MB, free: 3.191 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.44e-05/0.01036, allocations: 3.953 kB / 353.2 MB, free: 3.188 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.01037, allocations: 4 kB / 353.2 MB, free: 3.184 MB / 282.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.316e-05/0.01042, allocations: 131.5 kB / 353.4 MB, free: 3.039 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.247e-06/0.01043, allocations: 4 kB / 353.4 MB, free: 3.035 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.347e-06/0.01044, allocations: 3 kB / 353.4 MB, free: 3.031 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.81e-07/0.01044, allocations: 0 / 353.4 MB, free: 3.031 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.01045, allocations: 0 / 353.4 MB, free: 3.031 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.01045, allocations: 15.91 kB / 353.4 MB, free: 3.016 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.468e-05/0.0105, allocations: 101.3 kB / 353.5 MB, free: 2.887 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.0105, allocations: 0 / 353.5 MB, free: 2.887 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.52e-07/0.0105, allocations: 0 / 353.5 MB, free: 2.887 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.31e-07/0.0105, allocations: 0 / 353.5 MB, free: 2.887 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.01051, allocations: 0 / 353.5 MB, free: 2.887 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.01051, allocations: 0 / 353.5 MB, free: 2.887 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01051, allocations: 0 / 353.5 MB, free: 2.887 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.091e-05/0.0106, allocations: 132.3 kB / 353.6 MB, free: 2.727 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.118e-06/0.0106, allocations: 0 / 353.6 MB, free: 2.727 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.01061, allocations: 4 kB / 353.6 MB, free: 2.723 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.256e-06/0.01062, allocations: 4.031 kB / 353.6 MB, free: 2.719 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.599e-05/0.01064, allocations: 4 kB / 353.6 MB, free: 2.715 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.01064, allocations: 0 / 353.6 MB, free: 2.715 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.524e-05/0.01066, allocations: 83.22 kB / 353.7 MB, free: 2.633 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01066, allocations: 0 / 353.7 MB, free: 2.633 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000374/0.01103, allocations: 159.4 kB / 353.9 MB, free: 2.477 MB / 282.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 (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.0007324/0.01176, allocations: 366.6 kB / 354.2 MB, free: 2.121 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.705e-05/0.01186, allocations: 118.7 kB / 354.3 MB, free: 1.98 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.01186, allocations: 0 / 354.3 MB, free: 1.98 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.488e-05/0.01189, allocations: 81.11 kB / 354.4 MB, free: 1.883 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001311/0.01202, allocations: 4 kB / 354.4 MB, free: 1.879 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000192/0.01221, allocations: 108.8 kB / 354.5 MB, free: 1.742 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.007e-05/0.01224, allocations: 55.36 kB / 354.6 MB, free: 1.668 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.2e-06/0.01224, allocations: 3.938 kB / 354.6 MB, free: 1.664 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.339e-05/0.01226, allocations: 12.62 kB / 354.6 MB, free: 1.652 MB / 282.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01226, allocations: 4 kB / 354.6 MB, free: 1.648 MB / 282.7 MB Notification: Performance of Templates: time 0.007541/0.0198, allocations: 3.535 MB / 358.1 MB, free: 14.11 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/Random/TestTruncatedDistributions/TestTruncatedDistributions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.143813780043274]