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.001433/0.001433, allocations: 81.08 kB / 20.65 MB, free: 3.836 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.001282/0.001282, allocations: 173 kB / 24.06 MB, free: 448 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.9872/0.9872, allocations: 158.6 MB / 185.9 MB, free: 2.797 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.1391/0.1391, allocations: 32.37 MB / 270.7 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.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: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 348.1 MB, free: 9.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.706e-05/1.922e-05, allocations: 4.281 kB / 348.1 MB, free: 9.184 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.0009233/0.0009425, allocations: 0.5392 MB / 348.7 MB, free: 8.648 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00194/0.002883, allocations: 2.001 MB / 350.7 MB, free: 6.621 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.677e-05/0.002909, allocations: 0 / 350.7 MB, free: 6.621 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.42e-05/0.002934, allocations: 0 / 350.7 MB, free: 6.621 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.163e-06/0.002941, allocations: 0 / 350.7 MB, free: 6.621 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009437/0.003884, allocations: 0.5295 MB / 351.2 MB, free: 6.09 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.918e-05/0.003934, allocations: 3.984 kB / 351.2 MB, free: 6.086 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.205e-05/0.003966, allocations: 0 / 351.2 MB, free: 6.086 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.804e-05/0.003994, allocations: 7.984 kB / 351.2 MB, free: 6.078 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.611e-05/0.00401, allocations: 0 / 351.2 MB, free: 6.078 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.005e-06/0.004018, allocations: 0 / 351.2 MB, free: 6.078 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005604/0.004578, allocations: 0.6275 MB / 351.8 MB, free: 5.449 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.358e-06/0.004588, allocations: 0 / 351.8 MB, free: 5.449 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.513e-05/0.004603, allocations: 0 / 351.8 MB, free: 5.449 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003603/0.004963, allocations: 454.8 kB / 352.3 MB, free: 5.004 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.004965, allocations: 0 / 352.3 MB, free: 5.004 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.004966, allocations: 0 / 352.3 MB, free: 5.004 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.00497, allocations: 4 kB / 352.3 MB, free: 5 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.000265/0.005235, allocations: 445.3 kB / 352.7 MB, free: 4.523 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.005276, allocations: 8.031 kB / 352.7 MB, free: 4.516 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.457e-05/0.005301, allocations: 0.9375 kB / 352.7 MB, free: 4.516 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.305e-05/0.005344, allocations: 108.6 kB / 352.8 MB, free: 4.383 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.005355, allocations: 4.312 kB / 352.8 MB, free: 4.379 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.771e-06/0.005361, allocations: 384 / 352.8 MB, free: 4.379 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.974e-05/0.00542, allocations: 59.95 kB / 352.9 MB, free: 4.309 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.005428, allocations: 4.125 kB / 352.9 MB, free: 4.305 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.772e-06/0.005435, allocations: 384 / 352.9 MB, free: 4.305 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.005443, allocations: 7.938 kB / 352.9 MB, free: 4.297 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.291e-05/0.005456, allocations: 33.7 kB / 352.9 MB, free: 4.258 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.119e-05/0.005517, allocations: 89.27 kB / 353 MB, free: 4.145 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.575e-05/0.005552, allocations: 60.72 kB / 353.1 MB, free: 4.066 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.2e-05/0.005564, allocations: 37.38 kB / 353.1 MB, free: 4.02 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.238e-06/0.005569, allocations: 3.984 kB / 353.1 MB, free: 4.016 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.005595, allocations: 63.16 kB / 353.2 MB, free: 3.938 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.005596, allocations: 0 / 353.2 MB, free: 3.938 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001185/0.005714, allocations: 118.8 kB / 353.3 MB, free: 3.797 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.907e-05/0.005733, allocations: 77.23 kB / 353.4 MB, free: 3.703 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.321e-05/0.005756, allocations: 146.2 kB / 353.5 MB, free: 3.547 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.999e-06/0.005761, allocations: 25.7 kB / 353.5 MB, free: 3.516 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.297e-05/0.005774, allocations: 126.9 kB / 353.7 MB, free: 3.387 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.503e-05/0.005789, allocations: 8.297 kB / 353.7 MB, free: 3.379 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.865e-05/0.005808, allocations: 15.38 kB / 353.7 MB, free: 3.355 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.07e-05/0.005879, allocations: 500 kB / 354.2 MB, free: 2.855 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.07e-05/0.005889, allocations: 29.7 kB / 354.2 MB, free: 2.82 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.004e-05/0.005899, allocations: 29.69 kB / 354.2 MB, free: 2.785 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.957e-05/0.005929, allocations: 63.09 kB / 354.3 MB, free: 2.707 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.00593, allocations: 4.062 kB / 354.3 MB, free: 2.703 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.794e-05/0.005968, allocations: 93.11 kB / 354.4 MB, free: 2.594 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.005986, allocations: 29.7 kB / 354.4 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.005991, allocations: 3.984 kB / 354.4 MB, free: 2.555 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.006001, allocations: 0 / 354.4 MB, free: 2.555 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.493e-06/0.006003, allocations: 4 kB / 354.4 MB, free: 2.551 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.294e-06/0.006005, allocations: 0 / 354.4 MB, free: 2.551 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.997e-06/0.006014, allocations: 7.875 kB / 354.4 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.006019, allocations: 0 / 354.4 MB, free: 2.543 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.362e-05/0.006063, allocations: 182.3 kB / 354.6 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.527e-06/0.006066, allocations: 4.031 kB / 354.6 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.322e-05/0.00608, allocations: 3 kB / 354.6 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.12e-07/0.00608, allocations: 0 / 354.6 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.006082, allocations: 0 / 354.6 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.006085, allocations: 4 kB / 354.6 MB, free: 2.336 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.662e-05/0.006121, allocations: 105.1 kB / 354.7 MB, free: 2.207 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.71e-07/0.006122, allocations: 0 / 354.7 MB, free: 2.207 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.6e-07/0.006122, allocations: 0 / 354.7 MB, free: 2.207 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.02e-07/0.006123, allocations: 0 / 354.7 MB, free: 2.207 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.198e-06/0.006127, allocations: 4 kB / 354.7 MB, free: 2.203 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.61e-07/0.006127, allocations: 0 / 354.7 MB, free: 2.203 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.71e-07/0.006128, allocations: 4 kB / 354.7 MB, free: 2.199 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.786e-05/0.006186, allocations: 131.8 kB / 354.9 MB, free: 2.035 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.048e-06/0.00619, allocations: 0 / 354.9 MB, free: 2.035 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.031e-05/0.0062, allocations: 3.938 kB / 354.9 MB, free: 2.031 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.278e-06/0.006204, allocations: 4 kB / 354.9 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.097e-05/0.006215, allocations: 0 / 354.9 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.62e-07/0.006216, allocations: 0 / 354.9 MB, free: 2.027 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.662e-05/0.006233, allocations: 119.2 kB / 355 MB, free: 1.91 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006233, allocations: 0 / 355 MB, free: 1.91 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002127/0.006445, allocations: 131.5 kB / 355.1 MB, free: 1.781 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.0004249/0.00687, allocations: 322.8 kB / 355.4 MB, free: 1.465 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.974e-05/0.00695, allocations: 114.5 kB / 355.5 MB, free: 1.324 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.006951, allocations: 4 kB / 355.5 MB, free: 1.32 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.949e-05/0.006971, allocations: 96.72 kB / 355.6 MB, free: 1.203 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.608e-05/0.007057, allocations: 12.06 kB / 355.7 MB, free: 1.191 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001468/0.007204, allocations: 110.5 kB / 355.8 MB, free: 1.051 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.98e-05/0.007224, allocations: 59.28 kB / 355.8 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.853e-06/0.00723, allocations: 0 / 355.8 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.709e-05/0.007258, allocations: 70.2 kB / 355.9 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of SimCode: time 7.22e-07/0.007258, allocations: 4 kB / 355.9 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of Templates: time 0.005037/0.01229, allocations: 4.071 MB / 360 MB, free: 12.82 MB / 298.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/Random/TestDistributions/TestDistributions.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.292202054988593]