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.00143/0.00143, allocations: 83.03 kB / 20.52 MB, free: 1.277 MB / 14.72 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.001786/0.001786, allocations: 159.4 kB / 23.76 MB, free: 4.473 MB / 14.72 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.459/1.459, allocations: 158.6 MB / 185.5 MB, free: 6.215 MB / 174.1 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.2067/0.2067, allocations: 32.37 MB / 270.1 MB, free: 2.695 MB / 254.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002418/0.002418, allocations: 75.91 kB / 407.8 MB, free: 5.531 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1353, allocations: 61.03 MB / 468.8 MB, free: 8.312 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestTruncatedDistributions): time 0.001711/0.137, allocations: 0.5143 MB / 469.3 MB, free: 7.797 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003271/0.1403, allocations: 2.228 MB / 471.5 MB, free: 5.543 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.704e-05/0.1403, allocations: 0 / 471.5 MB, free: 5.543 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.439e-05/0.1403, allocations: 0 / 471.5 MB, free: 5.543 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.11e-06/0.1403, allocations: 3.938 kB / 471.5 MB, free: 5.539 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001523/0.1419, allocations: 0.5725 MB / 472.1 MB, free: 4.965 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.34e-05/0.1419, allocations: 4 kB / 472.1 MB, free: 4.961 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.154e-05/0.1419, allocations: 0 / 472.1 MB, free: 4.961 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.266e-05/0.142, allocations: 7.938 kB / 472.1 MB, free: 4.953 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.65e-05/0.142, allocations: 0 / 472.1 MB, free: 4.953 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.4e-06/0.142, allocations: 4 kB / 472.1 MB, free: 4.949 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001179/0.1432, allocations: 0.6628 MB / 472.8 MB, free: 4.285 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.227e-06/0.1432, allocations: 0 / 472.8 MB, free: 4.285 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.102e-05/0.1432, allocations: 0 / 472.8 MB, free: 4.285 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006565/0.1438, allocations: 438.9 kB / 473.2 MB, free: 3.855 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.1438, allocations: 0 / 473.2 MB, free: 3.855 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1438, allocations: 0 / 473.2 MB, free: 3.855 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.1438, allocations: 3.938 kB / 473.2 MB, free: 3.852 MB / 446.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.0004675/0.1443, allocations: 367.1 kB / 473.6 MB, free: 3.457 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.1443, allocations: 8.031 kB / 473.6 MB, free: 3.449 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.584e-05/0.1444, allocations: 0.9375 kB / 473.6 MB, free: 3.449 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.144e-05/0.1445, allocations: 102.5 kB / 473.7 MB, free: 3.324 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.1445, allocations: 4.375 kB / 473.7 MB, free: 3.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.758e-06/0.1445, allocations: 4.375 kB / 473.7 MB, free: 3.316 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.1446, allocations: 59.72 kB / 473.8 MB, free: 3.246 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.1446, allocations: 0 / 473.8 MB, free: 3.246 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.705e-06/0.1446, allocations: 0 / 473.8 MB, free: 3.246 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-06/0.1446, allocations: 0 / 473.8 MB, free: 3.246 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.314e-05/0.1446, allocations: 29.69 kB / 473.8 MB, free: 3.211 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001288/0.1448, allocations: 105.3 kB / 473.9 MB, free: 3.078 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.118e-05/0.1448, allocations: 44.22 kB / 473.9 MB, free: 3.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.596e-05/0.1449, allocations: 38.66 kB / 474 MB, free: 2.973 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.243e-06/0.1449, allocations: 0 / 474 MB, free: 2.973 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.703e-05/0.1449, allocations: 60.27 kB / 474 MB, free: 2.898 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.1449, allocations: 0 / 474 MB, free: 2.898 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002049/0.1451, allocations: 130.7 kB / 474.2 MB, free: 2.746 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.174e-05/0.1452, allocations: 77.11 kB / 474.2 MB, free: 2.652 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.894e-05/0.1452, allocations: 89.86 kB / 474.3 MB, free: 2.555 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.1452, allocations: 25.7 kB / 474.3 MB, free: 2.523 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.194e-05/0.1453, allocations: 84.08 kB / 474.4 MB, free: 2.438 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.26e-05/0.1453, allocations: 0 / 474.4 MB, free: 2.438 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.322e-05/0.1453, allocations: 21.7 kB / 474.4 MB, free: 2.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.1455, allocations: 310.8 kB / 474.7 MB, free: 2.098 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.672e-05/0.1455, allocations: 33.83 kB / 474.8 MB, free: 2.059 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.738e-05/0.1455, allocations: 25.7 kB / 474.8 MB, free: 2.027 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.656e-05/0.1456, allocations: 60.27 kB / 474.9 MB, free: 1.953 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1456, allocations: 0 / 474.9 MB, free: 1.953 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.998e-05/0.1457, allocations: 97.03 kB / 475 MB, free: 1.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.358e-05/0.1457, allocations: 29.7 kB / 475 MB, free: 1.805 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.1457, allocations: 0 / 475 MB, free: 1.805 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.1457, allocations: 3.938 kB / 475 MB, free: 1.801 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-07/0.1457, allocations: 0 / 475 MB, free: 1.801 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.1457, allocations: 12.03 kB / 475 MB, free: 1.789 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.325e-05/0.1457, allocations: 0 / 475 MB, free: 1.789 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.1457, allocations: 0 / 475 MB, free: 1.789 MB / 446.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 9.075e-05/0.1458, allocations: 143.5 kB / 475.1 MB, free: 1.633 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.013e-06/0.1458, allocations: 0 / 475.1 MB, free: 1.633 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.134e-05/0.1458, allocations: 6.938 kB / 475.2 MB, free: 1.625 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.1458, allocations: 0 / 475.2 MB, free: 1.625 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.1458, allocations: 0 / 475.2 MB, free: 1.625 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.1458, allocations: 0 / 475.2 MB, free: 1.625 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.652e-05/0.1459, allocations: 101.3 kB / 475.3 MB, free: 1.496 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1459, allocations: 0 / 475.3 MB, free: 1.496 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.4e-07/0.1459, allocations: 4 kB / 475.3 MB, free: 1.492 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.1459, allocations: 3.984 kB / 475.3 MB, free: 1.488 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.1459, allocations: 0 / 475.3 MB, free: 1.488 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.1459, allocations: 3.938 kB / 475.3 MB, free: 1.484 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1459, allocations: 4 kB / 475.3 MB, free: 1.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/0.1461, allocations: 124.5 kB / 475.4 MB, free: 1.328 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.893e-06/0.1461, allocations: 3.953 kB / 475.4 MB, free: 1.324 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.035e-05/0.1461, allocations: 0 / 475.4 MB, free: 1.324 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.03e-05/0.1461, allocations: 3.938 kB / 475.4 MB, free: 1.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.64e-05/0.1461, allocations: 4 kB / 475.4 MB, free: 1.316 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-06/0.1461, allocations: 8.031 kB / 475.4 MB, free: 1.309 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.63e-05/0.1462, allocations: 75.28 kB / 475.5 MB, free: 1.234 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1462, allocations: 0 / 475.5 MB, free: 1.234 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000466/0.1466, allocations: 159.3 kB / 475.6 MB, free: 1.078 MB / 446.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.0008014/0.1474, allocations: 338.3 kB / 476 MB, free: 0.7383 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001564/0.1476, allocations: 122.8 kB / 476.1 MB, free: 0.5938 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1476, allocations: 0 / 476.1 MB, free: 0.5938 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.647e-05/0.1477, allocations: 81.11 kB / 476.2 MB, free: 0.4961 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001311/0.1478, allocations: 0 / 476.2 MB, free: 0.4961 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002444/0.148, allocations: 118.4 kB / 476.3 MB, free: 356 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.752e-05/0.1481, allocations: 55.36 kB / 476.3 MB, free: 280 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.953e-06/0.1481, allocations: 0 / 476.3 MB, free: 280 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.564e-05/0.1481, allocations: 8.5 kB / 476.3 MB, free: 272 kB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1481, allocations: 0 / 476.3 MB, free: 272 kB / 446.1 MB Notification: Performance of Templates: time 0.2237/0.3718, allocations: 3.522 MB / 479.9 MB, free: 50.01 MB / 446.1 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/Random/TestTruncatedDistributions/TestTruncatedDistributions.csv","/var/lib/jenkins1/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.334335781051777]