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.0008242/0.0008242, allocations: 80.45 kB / 20.69 MB, free: 3.852 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.0008/0.0008, allocations: 173.2 kB / 23.96 MB, free: 0.5742 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 0.8115/0.8115, allocations: 158.6 MB / 185.7 MB, free: 3.035 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.1221/0.1221, allocations: 32.37 MB / 270.3 MB, free: 14.96 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 1.903e-06/1.903e-06, allocations: 0 / 408.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.15e-05/3.34e-05, allocations: 5.938 kB / 408.1 MB, free: 13.03 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.001174/0.001207, allocations: 0.5184 MB / 408.6 MB, free: 12.52 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002239/0.003446, allocations: 1.987 MB / 410.6 MB, free: 10.5 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.574e-05/0.003462, allocations: 4 kB / 410.6 MB, free: 10.5 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.531e-05/0.003477, allocations: 0 / 410.6 MB, free: 10.5 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.672e-06/0.003484, allocations: 0 / 410.6 MB, free: 10.5 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001079/0.004563, allocations: 0.5178 MB / 411.1 MB, free: 9.98 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.076e-05/0.004614, allocations: 0 / 411.1 MB, free: 9.98 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.133e-05/0.004655, allocations: 0 / 411.1 MB, free: 9.98 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.261e-05/0.004688, allocations: 4 kB / 411.1 MB, free: 9.977 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.109e-05/0.004709, allocations: 0 / 411.1 MB, free: 9.977 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.097e-06/0.004718, allocations: 4 kB / 411.1 MB, free: 9.973 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007369/0.005455, allocations: 0.6313 MB / 411.8 MB, free: 9.34 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.156e-05/0.005466, allocations: 3.984 kB / 411.8 MB, free: 9.336 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.173e-05/0.005488, allocations: 0 / 411.8 MB, free: 9.336 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004896/0.005978, allocations: 462.9 kB / 412.2 MB, free: 8.883 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.00598, allocations: 3.938 kB / 412.2 MB, free: 8.879 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.005981, allocations: 0 / 412.2 MB, free: 8.879 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.005985, allocations: 0 / 412.2 MB, free: 8.879 MB / 346.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.0003584/0.006343, allocations: 335.4 kB / 412.5 MB, free: 8.516 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.006378, allocations: 12.03 kB / 412.6 MB, free: 8.504 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.36e-05/0.006411, allocations: 0.9375 kB / 412.6 MB, free: 8.504 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.111e-05/0.006473, allocations: 105.7 kB / 412.7 MB, free: 8.375 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.006484, allocations: 384 / 412.7 MB, free: 8.375 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.216e-06/0.006492, allocations: 4.375 kB / 412.7 MB, free: 8.371 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.053e-05/0.006583, allocations: 59.97 kB / 412.7 MB, free: 8.301 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.006592, allocations: 4.172 kB / 412.7 MB, free: 8.297 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.006602, allocations: 4.375 kB / 412.7 MB, free: 8.293 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.00661, allocations: 3.938 kB / 412.7 MB, free: 8.289 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.802e-05/0.006638, allocations: 25.7 kB / 412.8 MB, free: 8.258 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001039/0.006741, allocations: 97.33 kB / 412.9 MB, free: 8.133 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.683e-05/0.006788, allocations: 48.16 kB / 412.9 MB, free: 8.07 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.973e-05/0.006808, allocations: 34.66 kB / 412.9 MB, free: 8.027 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.328e-06/0.006817, allocations: 4 kB / 412.9 MB, free: 8.023 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/0.006854, allocations: 60.25 kB / 413 MB, free: 7.949 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 1.613e-06/0.006856, allocations: 7.984 kB / 413 MB, free: 7.941 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.000168/0.007024, allocations: 110.8 kB / 413.1 MB, free: 7.809 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.007071, allocations: 85.05 kB / 413.2 MB, free: 7.707 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.498e-05/0.007106, allocations: 97.81 kB / 413.3 MB, free: 7.602 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.007118, allocations: 29.69 kB / 413.3 MB, free: 7.566 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.9e-05/0.007137, allocations: 84.08 kB / 413.4 MB, free: 7.48 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.504e-05/0.007152, allocations: 3.938 kB / 413.4 MB, free: 7.477 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.976e-05/0.007172, allocations: 13.72 kB / 413.4 MB, free: 7.457 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.122e-05/0.007253, allocations: 310.8 kB / 413.7 MB, free: 7.145 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.779e-05/0.007271, allocations: 25.83 kB / 413.8 MB, free: 7.113 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.186e-05/0.007282, allocations: 33.7 kB / 413.8 MB, free: 7.074 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.849e-05/0.007321, allocations: 68.27 kB / 413.9 MB, free: 6.992 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.007323, allocations: 0 / 413.9 MB, free: 6.992 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.396e-05/0.007377, allocations: 85.09 kB / 413.9 MB, free: 6.891 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.007404, allocations: 33.7 kB / 414 MB, free: 6.852 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.007409, allocations: 0 / 414 MB, free: 6.852 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.00742, allocations: 0 / 414 MB, free: 6.852 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/0.007421, allocations: 0 / 414 MB, free: 6.852 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.007426, allocations: 7.875 kB / 414 MB, free: 6.844 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.839e-06/0.007436, allocations: 4.094 kB / 414 MB, free: 6.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.523e-06/0.007442, allocations: 4 kB / 414 MB, free: 6.836 MB / 346.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 6.452e-05/0.007507, allocations: 139.5 kB / 414.1 MB, free: 6.684 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.631e-06/0.007513, allocations: 4 kB / 414.1 MB, free: 6.68 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.247e-06/0.007522, allocations: 6.938 kB / 414.1 MB, free: 6.672 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.007523, allocations: 0 / 414.1 MB, free: 6.672 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.007528, allocations: 0 / 414.1 MB, free: 6.672 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.007531, allocations: 3.938 kB / 414.1 MB, free: 6.668 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.633e-05/0.007587, allocations: 93.33 kB / 414.2 MB, free: 6.547 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.00759, allocations: 7.984 kB / 414.2 MB, free: 6.539 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-07/0.00759, allocations: 4 kB / 414.2 MB, free: 6.535 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-07/0.007591, allocations: 0 / 414.2 MB, free: 6.535 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.007597, allocations: 0 / 414.2 MB, free: 6.535 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.41e-07/0.007598, allocations: 3.938 kB / 414.2 MB, free: 6.531 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.41e-07/0.007598, allocations: 0 / 414.2 MB, free: 6.531 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.27e-05/0.007671, allocations: 120.5 kB / 414.4 MB, free: 6.383 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.316e-06/0.007674, allocations: 0 / 414.4 MB, free: 6.383 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.347e-06/0.007683, allocations: 4 kB / 414.4 MB, free: 6.379 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.309e-06/0.007688, allocations: 3.938 kB / 414.4 MB, free: 6.375 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.288e-05/0.007701, allocations: 0 / 414.4 MB, free: 6.375 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-06/0.007702, allocations: 4.031 kB / 414.4 MB, free: 6.371 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.219e-05/0.007724, allocations: 79.22 kB / 414.5 MB, free: 6.293 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007724, allocations: 4 kB / 414.5 MB, free: 6.289 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002702/0.007994, allocations: 127.6 kB / 414.6 MB, free: 6.164 MB / 346.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.0005001/0.008494, allocations: 320.3 kB / 414.9 MB, free: 5.848 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.202e-05/0.008586, allocations: 118.8 kB / 415 MB, free: 5.707 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.008588, allocations: 0 / 415 MB, free: 5.707 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.944e-05/0.008617, allocations: 85.09 kB / 415.1 MB, free: 5.605 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.537e-05/0.008703, allocations: 0 / 415.1 MB, free: 5.605 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001683/0.008871, allocations: 132.4 kB / 415.2 MB, free: 5.438 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.566e-05/0.008907, allocations: 59.3 kB / 415.3 MB, free: 5.359 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.213e-05/0.008919, allocations: 8.5 kB / 415.3 MB, free: 5.352 MB / 346.7 MB Notification: Performance of SimCode: time 4.91e-07/0.008919, allocations: 7.938 kB / 415.3 MB, free: 5.344 MB / 346.7 MB Notification: Performance of Templates: time 0.003868/0.01279, allocations: 3.273 MB / 418.6 MB, free: 2.066 MB / 346.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=480 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/Random/TestDistributions/TestDistributions.csv","/var/lib/jenkins/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.691330265253782]