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.001391/0.001391, allocations: 91.33 kB / 20.43 MB, free: 4.141 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.001152/0.001152, allocations: 165 kB / 23.8 MB, free: 0.7734 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 0.9609/0.9609, allocations: 158.6 MB / 185.7 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 179] 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.1272/0.1272, allocations: 32.38 MB / 270.4 MB, free: 14.69 MB / 266.7 MB " [Timeout remaining time 180] 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.413e-06/1.413e-06, allocations: 3.938 kB / 347.7 MB, free: 9.453 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.316e-05/2.458e-05, allocations: 6.25 kB / 347.7 MB, free: 9.445 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestTruncatedDistributions): time 0.001037/0.001061, allocations: 0.522 MB / 348.2 MB, free: 8.93 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002418/0.003479, allocations: 2.292 MB / 350.5 MB, free: 6.609 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.275e-05/0.003502, allocations: 0 / 350.5 MB, free: 6.609 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.14e-05/0.003524, allocations: 0 / 350.5 MB, free: 6.609 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.707e-06/0.003532, allocations: 0 / 350.5 MB, free: 6.609 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001276/0.004809, allocations: 0.5722 MB / 351.1 MB, free: 6.035 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.576e-05/0.004864, allocations: 7.984 kB / 351.1 MB, free: 6.027 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.99e-05/0.004904, allocations: 7.984 kB / 351.1 MB, free: 6.02 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.961e-05/0.004934, allocations: 4 kB / 351.1 MB, free: 6.016 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.039e-05/0.004954, allocations: 0 / 351.1 MB, free: 6.016 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.386e-06/0.004963, allocations: 0 / 351.1 MB, free: 6.016 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007758/0.005738, allocations: 0.6626 MB / 351.7 MB, free: 5.352 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.081e-05/0.005749, allocations: 0 / 351.7 MB, free: 5.352 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.335e-05/0.005773, allocations: 4 kB / 351.7 MB, free: 5.348 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005042/0.006277, allocations: 0.5181 MB / 352.3 MB, free: 4.828 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.006279, allocations: 4 kB / 352.3 MB, free: 4.824 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.00628, allocations: 0 / 352.3 MB, free: 4.824 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.006285, allocations: 0 / 352.3 MB, free: 4.824 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.0003159/0.006601, allocations: 465 kB / 352.7 MB, free: 4.328 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.00664, allocations: 8.031 kB / 352.7 MB, free: 4.32 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.779e-05/0.006678, allocations: 0.9375 kB / 352.7 MB, free: 4.32 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.086e-05/0.006719, allocations: 108.6 kB / 352.8 MB, free: 4.188 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.006731, allocations: 12.36 kB / 352.8 MB, free: 4.176 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.006741, allocations: 384 / 352.8 MB, free: 4.176 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.621e-05/0.006827, allocations: 59.95 kB / 352.9 MB, free: 4.105 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.006835, allocations: 4.125 kB / 352.9 MB, free: 4.102 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.006845, allocations: 384 / 352.9 MB, free: 4.102 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.006853, allocations: 3.938 kB / 352.9 MB, free: 4.098 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.549e-05/0.006869, allocations: 29.64 kB / 352.9 MB, free: 4.062 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.358e-05/0.006942, allocations: 108.6 kB / 353 MB, free: 3.922 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.03e-05/0.006982, allocations: 56.86 kB / 353.1 MB, free: 3.848 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.117e-05/0.007004, allocations: 37.38 kB / 353.1 MB, free: 3.801 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.509e-06/0.007008, allocations: 4 kB / 353.1 MB, free: 3.797 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.007036, allocations: 59.09 kB / 353.2 MB, free: 3.723 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 5.41e-07/0.007036, allocations: 4 kB / 353.2 MB, free: 3.719 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.000179/0.007215, allocations: 114.8 kB / 353.3 MB, free: 3.582 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.007248, allocations: 85.03 kB / 353.4 MB, free: 3.48 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.5e-05/0.007283, allocations: 146.2 kB / 353.5 MB, free: 3.324 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.185e-06/0.007291, allocations: 25.7 kB / 353.6 MB, free: 3.293 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.897e-05/0.00731, allocations: 126.9 kB / 353.7 MB, free: 3.164 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.007331, allocations: 4.344 kB / 353.7 MB, free: 3.16 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.148e-05/0.007363, allocations: 15.38 kB / 353.7 MB, free: 3.137 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.212e-05/0.007435, allocations: 496.2 kB / 354.2 MB, free: 2.641 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.908e-05/0.007454, allocations: 29.7 kB / 354.2 MB, free: 2.605 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.005e-05/0.007464, allocations: 25.7 kB / 354.3 MB, free: 2.574 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.427e-05/0.007498, allocations: 71.08 kB / 354.3 MB, free: 2.488 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.0075, allocations: 0 / 354.3 MB, free: 2.488 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.038e-05/0.007551, allocations: 93 kB / 354.4 MB, free: 2.379 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.007573, allocations: 29.7 kB / 354.4 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.007579, allocations: 4 kB / 354.4 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.007596, allocations: 3.984 kB / 354.4 MB, free: 2.336 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.406e-06/0.007599, allocations: 4.094 kB / 354.5 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.007606, allocations: 3.938 kB / 354.5 MB, free: 2.328 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.052e-05/0.007616, allocations: 0 / 354.5 MB, free: 2.328 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.301e-06/0.007623, allocations: 0 / 354.5 MB, free: 2.328 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 4.789e-05/0.007671, allocations: 186.3 kB / 354.6 MB, free: 2.129 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.238e-06/0.007675, allocations: 0 / 354.6 MB, free: 2.129 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.17e-05/0.007686, allocations: 3 kB / 354.6 MB, free: 2.125 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.007688, allocations: 4 kB / 354.6 MB, free: 2.121 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.007692, allocations: 0 / 354.6 MB, free: 2.121 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.007695, allocations: 3.938 kB / 354.6 MB, free: 2.117 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.688e-05/0.007732, allocations: 112.6 kB / 354.8 MB, free: 1.973 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.007733, allocations: 4 kB / 354.8 MB, free: 1.969 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.02e-07/0.007734, allocations: 4 kB / 354.8 MB, free: 1.965 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.007735, allocations: 4 kB / 354.8 MB, free: 1.961 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-06/0.007741, allocations: 0 / 354.8 MB, free: 1.961 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.007742, allocations: 0 / 354.8 MB, free: 1.961 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.007744, allocations: 3.938 kB / 354.8 MB, free: 1.957 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.988e-05/0.007803, allocations: 135.8 kB / 354.9 MB, free: 1.789 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.182e-06/0.00781, allocations: 4 kB / 354.9 MB, free: 1.785 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.007823, allocations: 0 / 354.9 MB, free: 1.785 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.439e-06/0.007827, allocations: 0 / 354.9 MB, free: 1.785 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.337e-05/0.00784, allocations: 4.031 kB / 354.9 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.007842, allocations: 0 / 354.9 MB, free: 1.781 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.577e-05/0.007858, allocations: 127.1 kB / 355 MB, free: 1.656 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007858, allocations: 0 / 355 MB, free: 1.656 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000273/0.008131, allocations: 159.4 kB / 355.2 MB, free: 1.5 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.0005288/0.00866, allocations: 369.5 kB / 355.6 MB, free: 1.141 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.1e-05/0.008741, allocations: 130.4 kB / 355.7 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.008743, allocations: 0 / 355.7 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.825e-05/0.008761, allocations: 88.8 kB / 355.8 MB, free: 0.875 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001008/0.008862, allocations: 4 kB / 355.8 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001562/0.009018, allocations: 114.5 kB / 355.9 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.778e-05/0.009036, allocations: 51.36 kB / 355.9 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.151e-06/0.009042, allocations: 4 kB / 355.9 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.124e-05/0.009053, allocations: 8.5 kB / 355.9 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of SimCode: time 5.01e-07/0.009053, allocations: 4.125 kB / 356 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of Templates: time 0.004824/0.01388, allocations: 3.55 MB / 359.5 MB, free: 13.09 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.358495304826647]