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.001847/0.001847, allocations: 100.4 kB / 20.45 MB, free: 1.262 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.001968/0.001968, allocations: 210.1 kB / 23.74 MB, free: 4.445 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: 207.7 MB / 234.6 MB, free: 9.824 MB / 190.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.2345/0.2345, allocations: 44.26 MB / 331.1 MB, free: 9.324 MB / 270.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.002336/0.002336, allocations: 71.91 kB / 468.7 MB, free: 3.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1311, allocations: 61.04 MB / 0.5174 GB, free: 6.688 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.001745/0.1328, allocations: 0.5027 MB / 0.5179 GB, free: 6.184 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003164/0.136, allocations: 1.995 MB / 0.5198 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.228e-05/0.136, allocations: 0 / 0.5198 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.916e-05/0.136, allocations: 3.938 kB / 0.5198 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.781e-06/0.136, allocations: 0 / 0.5198 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001536/0.1376, allocations: 0.5065 MB / 0.5203 GB, free: 3.652 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.183e-05/0.1376, allocations: 11.98 kB / 0.5203 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.934e-05/0.1377, allocations: 3.984 kB / 0.5203 GB, free: 3.637 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.668e-05/0.1377, allocations: 0 / 0.5203 GB, free: 3.637 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.914e-05/0.1377, allocations: 0 / 0.5203 GB, free: 3.637 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.752e-06/0.1377, allocations: 0 / 0.5203 GB, free: 3.637 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001043/0.1388, allocations: 0.6238 MB / 0.5209 GB, free: 3.012 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.626e-06/0.1388, allocations: 0 / 0.5209 GB, free: 3.012 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.976e-05/0.1388, allocations: 8 kB / 0.5209 GB, free: 3.004 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005665/0.1394, allocations: 382.9 kB / 0.5213 GB, free: 2.629 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.1394, allocations: 0 / 0.5213 GB, free: 2.629 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1394, allocations: 0 / 0.5213 GB, free: 2.629 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.1394, allocations: 0 / 0.5213 GB, free: 2.629 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.0004383/0.1398, allocations: 335.3 kB / 0.5216 GB, free: 2.266 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.1399, allocations: 15.97 kB / 0.5216 GB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.527e-05/0.1399, allocations: 8.922 kB / 0.5216 GB, free: 2.242 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.232e-05/0.14, allocations: 106.5 kB / 0.5218 GB, free: 2.113 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.14, allocations: 384 / 0.5218 GB, free: 2.113 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/0.14, allocations: 4.375 kB / 0.5218 GB, free: 2.109 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.1401, allocations: 55.72 kB / 0.5218 GB, free: 2.043 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.1401, allocations: 0 / 0.5218 GB, free: 2.043 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.1402, allocations: 4 kB / 0.5218 GB, free: 2.039 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.1402, allocations: 0 / 0.5218 GB, free: 2.039 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.285e-05/0.1402, allocations: 29.64 kB / 0.5218 GB, free: 2.004 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001406/0.1403, allocations: 101.3 kB / 0.5219 GB, free: 1.875 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.466e-05/0.1404, allocations: 48.28 kB / 0.522 GB, free: 1.812 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.404e-05/0.1404, allocations: 34.66 kB / 0.522 GB, free: 1.77 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.358e-06/0.1404, allocations: 0 / 0.522 GB, free: 1.77 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.594e-05/0.1405, allocations: 56.27 kB / 0.5221 GB, free: 1.699 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.1405, allocations: 0 / 0.5221 GB, free: 1.699 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002207/0.1407, allocations: 126.7 kB / 0.5222 GB, free: 1.551 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.401e-05/0.1408, allocations: 77.11 kB / 0.5223 GB, free: 1.457 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.488e-05/0.1408, allocations: 93.86 kB / 0.5224 GB, free: 1.355 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.1409, allocations: 25.7 kB / 0.5224 GB, free: 1.324 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.929e-05/0.1409, allocations: 80.14 kB / 0.5225 GB, free: 1.242 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.028e-05/0.1409, allocations: 4.125 kB / 0.5225 GB, free: 1.238 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.22e-05/0.1409, allocations: 13.72 kB / 0.5225 GB, free: 1.219 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.1411, allocations: 318.8 kB / 0.5228 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.471e-05/0.1411, allocations: 25.7 kB / 0.5228 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.091e-05/0.1411, allocations: 29.7 kB / 0.5228 GB, free: 0.832 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.169e-05/0.1412, allocations: 56.27 kB / 0.5229 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.1412, allocations: 4 kB / 0.5229 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.238e-05/0.1413, allocations: 93.03 kB / 0.523 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.728e-05/0.1413, allocations: 33.7 kB / 0.523 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1413, allocations: 4.094 kB / 0.523 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.1414, allocations: 3.938 kB / 0.523 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.553e-06/0.1414, allocations: 0 / 0.523 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.1414, allocations: 3.938 kB / 0.523 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.279e-05/0.1414, allocations: 4 kB / 0.523 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.1414, allocations: 7.984 kB / 0.523 GB, free: 0.5859 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 0.0001076/0.1415, allocations: 131.5 kB / 0.5232 GB, free: 452 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.029e-05/0.1415, allocations: 3.984 kB / 0.5232 GB, free: 448 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.057e-05/0.1415, allocations: 10.94 kB / 0.5232 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.1415, allocations: 0 / 0.5232 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.1415, allocations: 4 kB / 0.5232 GB, free: 436 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.1415, allocations: 3.984 kB / 0.5232 GB, free: 432 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.08e-05/0.1416, allocations: 97.27 kB / 0.5233 GB, free: 304 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1416, allocations: 0 / 0.5233 GB, free: 304 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.1416, allocations: 4 kB / 0.5233 GB, free: 300 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1416, allocations: 0 / 0.5233 GB, free: 300 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.1416, allocations: 0 / 0.5233 GB, free: 300 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.1416, allocations: 3.938 kB / 0.5233 GB, free: 296 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1416, allocations: 0 / 0.5233 GB, free: 296 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/0.1418, allocations: 124.5 kB / 0.5234 GB, free: 140 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.008e-06/0.1418, allocations: 4.031 kB / 0.5234 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.1418, allocations: 7.984 kB / 0.5234 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.04e-05/0.1418, allocations: 3.938 kB / 0.5234 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.652e-05/0.1418, allocations: 0 / 0.5234 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-06/0.1418, allocations: 0 / 0.5234 GB, free: 124 kB / 398.1 MB Notification: Performance of sorting global known variables: time 4.096e-05/0.1418, allocations: 75.28 kB / 0.5235 GB, free: 48 kB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1418, allocations: 0 / 0.5235 GB, free: 48 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004642/0.1423, allocations: 127.5 kB / 0.5236 GB, free: 15.92 MB / 414.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.0007332/0.143, allocations: 311.3 kB / 0.5239 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001748/0.1432, allocations: 110.8 kB / 0.524 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1432, allocations: 0 / 0.524 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.276e-05/0.1433, allocations: 89.03 kB / 0.5241 GB, free: 15.37 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000127/0.1434, allocations: 0 / 0.5241 GB, free: 15.37 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002421/0.1437, allocations: 136.3 kB / 0.5242 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.062e-05/0.1437, allocations: 59.34 kB / 0.5243 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.68e-05/0.1437, allocations: 11.56 kB / 0.5243 GB, free: 15.11 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1437, allocations: 0 / 0.5243 GB, free: 15.11 MB / 414.1 MB Notification: Performance of Templates: time 0.006523/0.1503, allocations: 3.23 MB / 0.5274 GB, free: 11.88 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 [Calling sys.exit(0), Time elapsed: 9.578272786922753]