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.001112/0.001112, allocations: 86.62 kB / 21.44 MB, free: 3.062 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.001056/0.001056, allocations: 164.9 kB / 24.84 MB, free: 9.195 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.035/1.035, allocations: 158.6 MB / 186.7 MB, free: 2.812 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.1824/0.1824, allocations: 32.37 MB / 271.5 MB, free: 14.53 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 3.297e-06/3.297e-06, allocations: 0 / 348.9 MB, free: 9.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.746e-05/4.076e-05, allocations: 6.25 kB / 348.9 MB, free: 9.176 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestTruncatedDistributions): time 0.001548/0.001589, allocations: 0.5305 MB / 349.4 MB, free: 8.652 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002765/0.004354, allocations: 2.257 MB / 351.7 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.898e-05/0.004393, allocations: 0 / 351.7 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.848e-05/0.004422, allocations: 0 / 351.7 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.249e-05/0.004434, allocations: 0 / 351.7 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002029/0.006463, allocations: 0.58 MB / 352.3 MB, free: 5.785 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.224e-05/0.006555, allocations: 7.984 kB / 352.3 MB, free: 5.777 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.616e-05/0.006622, allocations: 0 / 352.3 MB, free: 5.777 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.827e-05/0.00667, allocations: 0 / 352.3 MB, free: 5.777 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.494e-05/0.006705, allocations: 8 kB / 352.3 MB, free: 5.77 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.006717, allocations: 0 / 352.3 MB, free: 5.77 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00109/0.007807, allocations: 0.6626 MB / 353 MB, free: 5.105 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.356e-05/0.007821, allocations: 0 / 353 MB, free: 5.105 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.201e-05/0.007843, allocations: 0 / 353 MB, free: 5.105 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000794/0.008637, allocations: 0.5181 MB / 353.5 MB, free: 4.586 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.008641, allocations: 0 / 353.5 MB, free: 4.586 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.008643, allocations: 4 kB / 353.5 MB, free: 4.582 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.523e-06/0.008649, allocations: 0 / 353.5 MB, free: 4.582 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.0004564/0.009106, allocations: 469 kB / 353.9 MB, free: 4.082 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.265e-05/0.009168, allocations: 8.031 kB / 353.9 MB, free: 4.074 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.931e-05/0.009218, allocations: 8.938 kB / 353.9 MB, free: 4.066 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.519e-05/0.009293, allocations: 104.6 kB / 354 MB, free: 3.938 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.009309, allocations: 384 / 354 MB, free: 3.938 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-06/0.009318, allocations: 384 / 354 MB, free: 3.938 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.12e-05/0.009409, allocations: 63.95 kB / 354.1 MB, free: 3.863 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.00942, allocations: 192 / 354.1 MB, free: 3.863 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.00943, allocations: 384 / 354.1 MB, free: 3.863 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.009437, allocations: 7.875 kB / 354.1 MB, free: 3.855 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.75e-05/0.009455, allocations: 29.7 kB / 354.1 MB, free: 3.82 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001079/0.009563, allocations: 89.27 kB / 354.2 MB, free: 3.707 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.811e-05/0.009621, allocations: 60.78 kB / 354.3 MB, free: 3.629 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.833e-05/0.009639, allocations: 37.38 kB / 354.3 MB, free: 3.582 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.723e-06/0.009646, allocations: 4.062 kB / 354.3 MB, free: 3.578 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/0.009682, allocations: 63.09 kB / 354.4 MB, free: 3.5 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.009682, allocations: 0 / 354.4 MB, free: 3.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.00023/0.009912, allocations: 114.8 kB / 354.5 MB, free: 3.363 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.009962, allocations: 81.09 kB / 354.6 MB, free: 3.266 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.762e-05/0.01003, allocations: 146.2 kB / 354.7 MB, free: 3.109 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.01005, allocations: 25.7 kB / 354.8 MB, free: 3.078 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.59e-05/0.0101, allocations: 126.9 kB / 354.9 MB, free: 2.949 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/0.01012, allocations: 352 / 354.9 MB, free: 2.949 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.861e-05/0.01016, allocations: 23.38 kB / 354.9 MB, free: 2.918 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.989e-05/0.01026, allocations: 496.1 kB / 355.4 MB, free: 2.422 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.423e-05/0.01028, allocations: 25.83 kB / 355.4 MB, free: 2.391 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.578e-05/0.01029, allocations: 33.7 kB / 355.4 MB, free: 2.352 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.376e-05/0.01035, allocations: 67.02 kB / 355.5 MB, free: 2.27 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.01035, allocations: 0 / 355.5 MB, free: 2.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.2e-05/0.01043, allocations: 89.06 kB / 355.6 MB, free: 2.164 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.986e-05/0.01047, allocations: 33.7 kB / 355.6 MB, free: 2.125 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/0.01048, allocations: 0 / 355.6 MB, free: 2.125 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.01049, allocations: 3.984 kB / 355.6 MB, free: 2.121 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.925e-06/0.0105, allocations: 0 / 355.6 MB, free: 2.121 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.0105, allocations: 7.922 kB / 355.6 MB, free: 2.113 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.063e-05/0.01052, allocations: 8.031 kB / 355.7 MB, free: 2.105 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.01053, allocations: 4 kB / 355.7 MB, free: 2.102 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 7.32e-05/0.01061, allocations: 182.3 kB / 355.8 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.917e-06/0.01061, allocations: 4 kB / 355.8 MB, free: 1.902 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.403e-05/0.01063, allocations: 3 kB / 355.8 MB, free: 1.898 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.01063, allocations: 0 / 355.8 MB, free: 1.898 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.01064, allocations: 0 / 355.8 MB, free: 1.898 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.01064, allocations: 0 / 355.8 MB, free: 1.898 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.641e-05/0.01072, allocations: 105.2 kB / 355.9 MB, free: 1.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.01072, allocations: 0 / 355.9 MB, free: 1.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.01072, allocations: 4 kB / 355.9 MB, free: 1.766 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.92e-07/0.01072, allocations: 3.938 kB / 356 MB, free: 1.762 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.089e-06/0.01073, allocations: 0 / 356 MB, free: 1.762 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.01073, allocations: 0 / 356 MB, free: 1.762 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.01073, allocations: 4 kB / 356 MB, free: 1.758 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.01084, allocations: 131.8 kB / 356.1 MB, free: 1.594 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.015e-06/0.01085, allocations: 4 kB / 356.1 MB, free: 1.59 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.01087, allocations: 0 / 356.1 MB, free: 1.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.881e-06/0.01087, allocations: 0 / 356.1 MB, free: 1.59 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.947e-05/0.01089, allocations: 4 kB / 356.1 MB, free: 1.586 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.0109, allocations: 4.031 kB / 356.1 MB, free: 1.582 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.09e-05/0.01094, allocations: 119.2 kB / 356.2 MB, free: 1.465 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.01094, allocations: 0 / 356.2 MB, free: 1.465 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004355/0.01137, allocations: 155.4 kB / 356.4 MB, free: 1.312 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.0007313/0.0121, allocations: 373.9 kB / 356.7 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001564/0.01226, allocations: 130.4 kB / 356.9 MB, free: 0.793 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.01226, allocations: 0 / 356.9 MB, free: 0.793 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.235e-05/0.0123, allocations: 92.78 kB / 356.9 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001166/0.01241, allocations: 3.938 kB / 357 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002508/0.01266, allocations: 114.5 kB / 357.1 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.729e-05/0.0127, allocations: 51.36 kB / 357.1 MB, free: 472 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.096e-05/0.01271, allocations: 3.984 kB / 357.1 MB, free: 468 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.02e-05/0.01276, allocations: 74.2 kB / 357.2 MB, free: 392 kB / 282.7 MB Notification: Performance of SimCode: time 1.183e-06/0.01276, allocations: 0 / 357.2 MB, free: 392 kB / 282.7 MB Notification: Performance of Templates: time 0.007248/0.02001, allocations: 4.195 MB / 361.4 MB, free: 12.19 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.5459223962388933]