Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.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.001896/0.001896, allocations: 83.73 kB / 20.52 MB, free: 1.117 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.002182/0.002182, allocations: 164.7 kB / 23.76 MB, free: 4.199 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.469/1.469, allocations: 158.6 MB / 185.5 MB, free: 6.227 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.23/0.23, allocations: 32.38 MB / 270.1 MB, free: 2.711 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.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions") translateModel(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions") [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.003553/0.003553, allocations: 71.91 kB / 407.7 MB, free: 5.555 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1933/0.1968, allocations: 61.05 MB / 468.8 MB, free: 8.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.002999/0.1998, allocations: 0.5028 MB / 469.3 MB, free: 7.816 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004848/0.2047, allocations: 1.983 MB / 471.3 MB, free: 5.809 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.159e-05/0.2047, allocations: 4 kB / 471.3 MB, free: 5.805 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.677e-05/0.2047, allocations: 0 / 471.3 MB, free: 5.805 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.097e-06/0.2047, allocations: 0 / 471.3 MB, free: 5.805 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002446/0.2071, allocations: 0.518 MB / 471.8 MB, free: 5.285 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.983e-05/0.2072, allocations: 8 kB / 471.8 MB, free: 5.277 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.762e-05/0.2073, allocations: 7.984 kB / 471.8 MB, free: 5.27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.677e-05/0.2073, allocations: 0 / 471.8 MB, free: 5.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.363e-05/0.2073, allocations: 4 kB / 471.8 MB, free: 5.266 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.716e-06/0.2073, allocations: 0 / 471.8 MB, free: 5.266 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001861/0.2092, allocations: 0.6276 MB / 472.5 MB, free: 4.637 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.499e-05/0.2092, allocations: 0 / 472.5 MB, free: 4.637 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.61e-05/0.2092, allocations: 4 kB / 472.5 MB, free: 4.633 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009658/0.2102, allocations: 375.1 kB / 472.8 MB, free: 4.266 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.2102, allocations: 0 / 472.8 MB, free: 4.266 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2102, allocations: 0 / 472.8 MB, free: 4.266 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.2102, allocations: 0 / 472.8 MB, free: 4.266 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.0006339/0.2109, allocations: 331.4 kB / 473.1 MB, free: 3.906 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.64e-05/0.2109, allocations: 12.03 kB / 473.2 MB, free: 3.895 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.88e-05/0.211, allocations: 0.9375 kB / 473.2 MB, free: 3.895 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.2111, allocations: 110.5 kB / 473.3 MB, free: 3.762 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.2112, allocations: 4.312 kB / 473.3 MB, free: 3.758 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.2112, allocations: 8.375 kB / 473.3 MB, free: 3.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.2113, allocations: 55.72 kB / 473.3 MB, free: 3.684 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.2113, allocations: 4 kB / 473.3 MB, free: 3.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.2113, allocations: 0 / 473.3 MB, free: 3.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.2113, allocations: 7.938 kB / 473.3 MB, free: 3.672 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.715e-05/0.2114, allocations: 25.7 kB / 473.4 MB, free: 3.641 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001658/0.2115, allocations: 93.33 kB / 473.5 MB, free: 3.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.68e-05/0.2116, allocations: 56.23 kB / 473.5 MB, free: 3.449 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.355e-05/0.2117, allocations: 30.56 kB / 473.5 MB, free: 3.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.2117, allocations: 4.062 kB / 473.5 MB, free: 3.406 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.629e-05/0.2118, allocations: 60.27 kB / 473.6 MB, free: 3.332 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.252e-06/0.2118, allocations: 0 / 473.6 MB, free: 3.332 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002875/0.2121, allocations: 122.7 kB / 473.7 MB, free: 3.188 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.935e-05/0.2121, allocations: 77.11 kB / 473.8 MB, free: 3.094 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.632e-05/0.2122, allocations: 89.86 kB / 473.9 MB, free: 2.996 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.2122, allocations: 29.7 kB / 473.9 MB, free: 2.961 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.461e-05/0.2123, allocations: 84.12 kB / 474 MB, free: 2.875 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/0.2123, allocations: 0 / 474 MB, free: 2.875 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.261e-05/0.2124, allocations: 9.719 kB / 474 MB, free: 2.859 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002544/0.2126, allocations: 322.8 kB / 474.3 MB, free: 2.535 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.651e-05/0.2127, allocations: 33.81 kB / 474.4 MB, free: 2.496 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.715e-05/0.2127, allocations: 25.7 kB / 474.4 MB, free: 2.465 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.537e-05/0.2128, allocations: 64.2 kB / 474.4 MB, free: 2.387 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.2128, allocations: 0 / 474.4 MB, free: 2.387 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001427/0.2129, allocations: 89.11 kB / 474.5 MB, free: 2.281 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.671e-05/0.213, allocations: 37.69 kB / 474.6 MB, free: 2.238 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.213, allocations: 0 / 474.6 MB, free: 2.238 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.552e-05/0.213, allocations: 3.938 kB / 474.6 MB, free: 2.234 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.212e-06/0.213, allocations: 0 / 474.6 MB, free: 2.234 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.213, allocations: 4.094 kB / 474.6 MB, free: 2.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.377e-05/0.2131, allocations: 0 / 474.6 MB, free: 2.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.2131, allocations: 3.938 kB / 474.6 MB, free: 2.227 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 0.0001271/0.2132, allocations: 135.5 kB / 474.7 MB, free: 2.078 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.166e-05/0.2132, allocations: 0 / 474.7 MB, free: 2.078 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.824e-05/0.2132, allocations: 6.938 kB / 474.7 MB, free: 2.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.2132, allocations: 7.984 kB / 474.7 MB, free: 2.062 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.2132, allocations: 0 / 474.7 MB, free: 2.062 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.2132, allocations: 0 / 474.7 MB, free: 2.062 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.2133, allocations: 93.33 kB / 474.8 MB, free: 1.941 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2133, allocations: 4 kB / 474.8 MB, free: 1.938 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.72e-07/0.2133, allocations: 3.938 kB / 474.8 MB, free: 1.934 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.006e-06/0.2134, allocations: 4 kB / 474.8 MB, free: 1.93 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.2134, allocations: 0 / 474.8 MB, free: 1.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.2134, allocations: 3.938 kB / 474.8 MB, free: 1.926 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2134, allocations: 0 / 474.8 MB, free: 1.926 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001931/0.2136, allocations: 124.5 kB / 475 MB, free: 1.773 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.333e-05/0.2136, allocations: 3.984 kB / 475 MB, free: 1.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.362e-05/0.2136, allocations: 4 kB / 475 MB, free: 1.766 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.201e-05/0.2136, allocations: 7.938 kB / 475 MB, free: 1.758 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.157e-05/0.2137, allocations: 7.953 kB / 475 MB, free: 1.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-06/0.2137, allocations: 4 kB / 475 MB, free: 1.746 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.153e-05/0.2137, allocations: 75.28 kB / 475.1 MB, free: 1.672 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2137, allocations: 0 / 475.1 MB, free: 1.672 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006954/0.2144, allocations: 127.5 kB / 475.2 MB, free: 1.547 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.001173/0.2156, allocations: 310.4 kB / 475.5 MB, free: 1.234 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002093/0.2158, allocations: 114.8 kB / 475.6 MB, free: 1.098 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2158, allocations: 0 / 475.6 MB, free: 1.098 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.447e-05/0.2159, allocations: 85.09 kB / 475.7 MB, free: 0.9961 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.2161, allocations: 0 / 475.7 MB, free: 0.9961 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003159/0.2164, allocations: 114.5 kB / 475.8 MB, free: 0.8516 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.271e-05/0.2165, allocations: 55.36 kB / 475.8 MB, free: 0.7773 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.893e-06/0.2165, allocations: 0 / 475.8 MB, free: 0.7773 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.739e-05/0.2165, allocations: 8.5 kB / 475.9 MB, free: 0.7695 MB / 446.1 MB Notification: Performance of SimCode: time 3.7e-07/0.2165, allocations: 3.938 kB / 475.9 MB, free: 0.7656 MB / 446.1 MB Notification: Performance of Templates: time 0.2708/0.4873, allocations: 3.413 MB / 479.3 MB, free: 50.23 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/Random/TestDistributions/TestDistributions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.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.537027943995781]