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.001386/0.001386, allocations: 80.2 kB / 20.65 MB, free: 3.84 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.001429/0.001429, allocations: 173 kB / 24.06 MB, free: 452 kB / 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.9905/0.9905, allocations: 158.6 MB / 186 MB, free: 2.781 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.1525/0.1525, allocations: 32.37 MB / 270.7 MB, free: 14.54 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.062e-06/1.062e-06, allocations: 0 / 348.1 MB, free: 9.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.933e-05/2.039e-05, allocations: 4.281 kB / 348.1 MB, free: 9.18 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestTruncatedDistributions): time 0.0008856/0.0009059, allocations: 0.5228 MB / 348.7 MB, free: 8.664 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002052/0.002958, allocations: 2.257 MB / 350.9 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.744e-05/0.002975, allocations: 0 / 350.9 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.178e-05/0.002987, allocations: 0 / 350.9 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.859e-06/0.002992, allocations: 0 / 350.9 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.004018, allocations: 0.5839 MB / 351.5 MB, free: 5.793 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 3.06e-05/0.004048, allocations: 4 kB / 351.5 MB, free: 5.789 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.107e-05/0.004069, allocations: 0 / 351.5 MB, free: 5.789 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.989e-05/0.004089, allocations: 0 / 351.5 MB, free: 5.789 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.198e-05/0.004101, allocations: 0 / 351.5 MB, free: 5.789 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.002e-06/0.004107, allocations: 0 / 351.5 MB, free: 5.789 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006168/0.004724, allocations: 0.6626 MB / 352.2 MB, free: 5.125 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.611e-06/0.00473, allocations: 4 kB / 352.2 MB, free: 5.121 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.121e-05/0.004741, allocations: 0 / 352.2 MB, free: 5.121 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004929/0.005234, allocations: 0.5181 MB / 352.7 MB, free: 4.602 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.492e-06/0.005235, allocations: 0 / 352.7 MB, free: 4.602 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.31e-07/0.005236, allocations: 0 / 352.7 MB, free: 4.602 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.315e-06/0.005238, allocations: 0 / 352.7 MB, free: 4.602 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.0002797/0.005518, allocations: 481 kB / 353.1 MB, free: 4.09 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.005551, allocations: 8.031 kB / 353.2 MB, free: 4.082 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.257e-05/0.005573, allocations: 0.9375 kB / 353.2 MB, free: 4.082 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.716e-05/0.00561, allocations: 108.6 kB / 353.3 MB, free: 3.949 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.877e-06/0.005619, allocations: 384 / 353.3 MB, free: 3.949 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5e-06/0.005624, allocations: 384 / 353.3 MB, free: 3.949 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.664e-05/0.005681, allocations: 55.97 kB / 353.3 MB, free: 3.883 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.005688, allocations: 4.172 kB / 353.3 MB, free: 3.879 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.478e-06/0.005692, allocations: 4.312 kB / 353.3 MB, free: 3.875 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.005698, allocations: 3.938 kB / 353.3 MB, free: 3.871 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.202e-05/0.00571, allocations: 37.69 kB / 353.4 MB, free: 3.828 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.151e-05/0.005762, allocations: 89.27 kB / 353.5 MB, free: 3.715 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.032e-05/0.005792, allocations: 56.8 kB / 353.5 MB, free: 3.641 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.022e-05/0.005802, allocations: 33.39 kB / 353.5 MB, free: 3.598 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.936e-06/0.005805, allocations: 0 / 353.5 MB, free: 3.598 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.005828, allocations: 63.16 kB / 353.6 MB, free: 3.52 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 6.81e-07/0.005828, allocations: 0 / 353.6 MB, free: 3.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001073/0.005936, allocations: 118.7 kB / 353.7 MB, free: 3.379 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.088e-05/0.005956, allocations: 77.11 kB / 353.8 MB, free: 3.285 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.299e-05/0.005979, allocations: 146.4 kB / 353.9 MB, free: 3.129 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.26e-06/0.005985, allocations: 29.7 kB / 354 MB, free: 3.094 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.24e-05/0.005997, allocations: 130.9 kB / 354.1 MB, free: 2.961 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.121e-05/0.006008, allocations: 352 / 354.1 MB, free: 2.961 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.713e-05/0.006025, allocations: 19.36 kB / 354.1 MB, free: 2.934 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.375e-05/0.006069, allocations: 0.4922 MB / 354.6 MB, free: 2.43 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.384e-06/0.006077, allocations: 25.7 kB / 354.6 MB, free: 2.398 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.063e-06/0.006084, allocations: 25.7 kB / 354.7 MB, free: 2.367 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.693e-05/0.006111, allocations: 67.03 kB / 354.7 MB, free: 2.285 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.006112, allocations: 0 / 354.7 MB, free: 2.285 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.536e-05/0.006147, allocations: 97.11 kB / 354.8 MB, free: 2.172 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.006164, allocations: 33.7 kB / 354.9 MB, free: 2.133 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.006168, allocations: 4 kB / 354.9 MB, free: 2.129 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.006179, allocations: 3.938 kB / 354.9 MB, free: 2.125 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.332e-06/0.00618, allocations: 0 / 354.9 MB, free: 2.125 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.006183, allocations: 0 / 354.9 MB, free: 2.125 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.018e-05/0.006194, allocations: 7.938 kB / 354.9 MB, free: 2.117 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.359e-06/0.006198, allocations: 0 / 354.9 MB, free: 2.117 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.88e-05/0.006247, allocations: 186.3 kB / 355 MB, free: 1.918 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.617e-06/0.00625, allocations: 0 / 355 MB, free: 1.918 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.288e-05/0.006263, allocations: 11.03 kB / 355.1 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-07/0.006264, allocations: 0 / 355.1 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.006265, allocations: 0 / 355.1 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.006268, allocations: 0 / 355.1 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.237e-05/0.006301, allocations: 93.2 kB / 355.2 MB, free: 1.789 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.51e-07/0.006301, allocations: 0 / 355.2 MB, free: 1.789 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.91e-07/0.006302, allocations: 7.938 kB / 355.2 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.71e-07/0.006302, allocations: 0 / 355.2 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.647e-06/0.006306, allocations: 0 / 355.2 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.006307, allocations: 3.984 kB / 355.2 MB, free: 1.777 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.006307, allocations: 0 / 355.2 MB, free: 1.777 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.835e-05/0.006356, allocations: 131.8 kB / 355.3 MB, free: 1.613 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.998e-06/0.00636, allocations: 7.984 kB / 355.3 MB, free: 1.605 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.675e-06/0.006367, allocations: 0 / 355.3 MB, free: 1.605 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.947e-06/0.006371, allocations: 0 / 355.3 MB, free: 1.605 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.987e-06/0.00638, allocations: 0 / 355.3 MB, free: 1.605 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.006383, allocations: 4 kB / 355.3 MB, free: 1.602 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.479e-05/0.006397, allocations: 123.2 kB / 355.4 MB, free: 1.48 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006397, allocations: 0 / 355.4 MB, free: 1.48 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002701/0.006668, allocations: 155.4 kB / 355.6 MB, free: 1.328 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.0004543/0.007122, allocations: 372.2 kB / 355.9 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.762e-05/0.007189, allocations: 122.4 kB / 356.1 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.007191, allocations: 4 kB / 356.1 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.441e-05/0.007205, allocations: 84.8 kB / 356.1 MB, free: 0.707 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.665e-05/0.007282, allocations: 15.86 kB / 356.2 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000116/0.007398, allocations: 114.6 kB / 356.3 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.556e-05/0.007413, allocations: 51.36 kB / 356.3 MB, free: 488 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.488e-06/0.007418, allocations: 0 / 356.3 MB, free: 488 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.535e-05/0.007443, allocations: 74.2 kB / 356.4 MB, free: 412 kB / 282.7 MB Notification: Performance of SimCode: time 5.11e-07/0.007444, allocations: 0 / 356.4 MB, free: 412 kB / 282.7 MB Notification: Performance of Templates: time 0.00562/0.01306, allocations: 4.206 MB / 360.6 MB, free: 12.2 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.270635623950511]