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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001744/0.001744, allocations: 105 kB / 18.9 MB, free: 3.164 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00198/0.00198, allocations: 197.9 kB / 22.06 MB, free: 16 kB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.481/1.481, allocations: 207.6 MB / 232.6 MB, free: 11.05 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2933/0.2933, allocations: 44.24 MB / 328.9 MB, free: 10.14 MB / 270.1 MB [Timeout remaining time 89] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions") translateModel(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002165/0.002165, allocations: 78.33 kB / 465.9 MB, free: 5.125 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1344, allocations: 61 MB / 0.5146 GB, free: 7.984 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.001788/0.1362, allocations: 0.5066 MB / 0.5151 GB, free: 7.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003149/0.1393, allocations: 2.094 MB / 0.5171 GB, free: 5.359 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.17e-05/0.1394, allocations: 0 / 0.5171 GB, free: 5.359 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.271e-05/0.1394, allocations: 0 / 0.5171 GB, free: 5.359 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.67e-06/0.1394, allocations: 0 / 0.5171 GB, free: 5.359 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001486/0.1409, allocations: 0.4986 MB / 0.5176 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.404e-05/0.1409, allocations: 0 / 0.5176 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.188e-05/0.141, allocations: 0 / 0.5176 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.599e-05/0.141, allocations: 0 / 0.5176 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.347e-05/0.141, allocations: 4 kB / 0.5176 GB, free: 4.855 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.905e-06/0.141, allocations: 0 / 0.5176 GB, free: 4.855 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001066/0.1421, allocations: 0.659 MB / 0.5183 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.975e-06/0.1421, allocations: 3.938 kB / 0.5183 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.117e-05/0.1421, allocations: 0 / 0.5183 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005882/0.1427, allocations: 391 kB / 0.5186 GB, free: 3.809 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.1427, allocations: 0 / 0.5186 GB, free: 3.809 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1427, allocations: 0 / 0.5186 GB, free: 3.809 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.1427, allocations: 0 / 0.5186 GB, free: 3.809 MB / 398.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.0005223/0.1432, allocations: 416.5 kB / 0.519 GB, free: 3.348 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.1433, allocations: 11.89 kB / 0.519 GB, free: 3.336 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.194e-05/0.1433, allocations: 4.938 kB / 0.519 GB, free: 3.332 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.1434, allocations: 160.4 kB / 0.5192 GB, free: 3.137 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.1435, allocations: 384 / 0.5192 GB, free: 3.137 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.1435, allocations: 8.375 kB / 0.5192 GB, free: 3.129 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.1436, allocations: 45.94 kB / 0.5192 GB, free: 3.078 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.1436, allocations: 0 / 0.5192 GB, free: 3.078 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.1436, allocations: 0 / 0.5192 GB, free: 3.078 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.1436, allocations: 3.984 kB / 0.5193 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.891e-05/0.1436, allocations: 0 / 0.5193 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001668/0.1438, allocations: 145.7 kB / 0.5194 GB, free: 2.883 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.14e-05/0.1438, allocations: 14.58 kB / 0.5194 GB, free: 2.859 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.871e-05/0.1438, allocations: 12.84 kB / 0.5194 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.188e-06/0.1439, allocations: 3.938 kB / 0.5194 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.145e-05/0.1439, allocations: 72.23 kB / 0.5195 GB, free: 2.754 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.1439, allocations: 0 / 0.5195 GB, free: 2.754 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001927/0.1441, allocations: 59.41 kB / 0.5195 GB, free: 2.684 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.212e-05/0.1442, allocations: 81.09 kB / 0.5196 GB, free: 2.586 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.325e-05/0.1442, allocations: 89.86 kB / 0.5197 GB, free: 2.488 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.1443, allocations: 29.83 kB / 0.5197 GB, free: 2.453 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.366e-05/0.1443, allocations: 80.14 kB / 0.5198 GB, free: 2.371 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.1443, allocations: 4 kB / 0.5198 GB, free: 2.367 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-05/0.1443, allocations: 13.72 kB / 0.5198 GB, free: 2.348 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.1445, allocations: 314.8 kB / 0.5201 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.1e-05/0.1445, allocations: 0 / 0.5201 GB, free: 2.031 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.765e-06/0.1445, allocations: 4 kB / 0.5201 GB, free: 2.027 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.468e-05/0.1446, allocations: 60.27 kB / 0.5202 GB, free: 1.953 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1446, allocations: 4 kB / 0.5202 GB, free: 1.949 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.327e-05/0.1446, allocations: 67.39 kB / 0.5203 GB, free: 1.871 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.4e-05/0.1447, allocations: 39.36 kB / 0.5203 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.1447, allocations: 0 / 0.5203 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.1447, allocations: 0 / 0.5203 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.072e-06/0.1447, allocations: 0 / 0.5203 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.1447, allocations: 0 / 0.5203 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.521e-05/0.1447, allocations: 0 / 0.5203 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.822e-06/0.1447, allocations: 0 / 0.5203 GB, free: 1.828 MB / 398.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 9.333e-05/0.1448, allocations: 143.6 kB / 0.5204 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.007e-05/0.1448, allocations: 3.938 kB / 0.5204 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.344e-05/0.1448, allocations: 3.125 kB / 0.5204 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.1448, allocations: 0 / 0.5204 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.1448, allocations: 4 kB / 0.5204 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.1448, allocations: 0 / 0.5204 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.145, allocations: 149.7 kB / 0.5206 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.145, allocations: 3.938 kB / 0.5206 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.145, allocations: 0 / 0.5206 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.145, allocations: 3.938 kB / 0.5206 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.145, allocations: 8 kB / 0.5206 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.145, allocations: 0 / 0.5206 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.145, allocations: 0 / 0.5206 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001045/0.1451, allocations: 90.83 kB / 0.5207 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.397e-05/0.1451, allocations: 77.11 kB / 0.5208 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.1451, allocations: 7.938 kB / 0.5208 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.065e-06/0.1452, allocations: 0 / 0.5208 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.237e-05/0.1452, allocations: 4.031 kB / 0.5208 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.1452, allocations: 4 kB / 0.5208 GB, free: 1.223 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.642e-05/0.1452, allocations: 79.22 kB / 0.5209 GB, free: 1.145 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1452, allocations: 0 / 0.5209 GB, free: 1.145 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004216/0.1456, allocations: 127.5 kB / 0.521 GB, free: 1.02 MB / 398.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.0007816/0.1464, allocations: 314.3 kB / 0.5213 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001244/0.1465, allocations: 63.33 kB / 0.5213 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1465, allocations: 0 / 0.5213 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.771e-05/0.1466, allocations: 55.41 kB / 0.5214 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001247/0.1467, allocations: 2.812 kB / 0.5214 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002134/0.1469, allocations: 106.6 kB / 0.5215 GB, free: 436 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.1472, allocations: 0.6768 MB / 0.5222 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.316e-05/0.1472, allocations: 7.438 kB / 0.5222 GB, free: 15.71 MB / 414.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1472, allocations: 4.125 kB / 0.5222 GB, free: 15.71 MB / 414.1 MB Notification: Performance of Templates: time 0.006177/0.1534, allocations: 3.23 MB / 0.5253 GB, free: 12.48 MB / 414.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 -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