Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial") translateModel(ModelicaTest.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 107.8 kB / 16.41 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 188.1 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.687/1.687, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.24/0.24, allocations: 43.52 MB / 314.1 MB, free: 464 kB / 254.1 MB 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.001724/0.001725, allocations: 59.91 kB / 441.8 MB, free: 5.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1404, allocations: 57.79 MB / 499.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.002097/0.1425, allocations: 0.495 MB / 0.4884 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003128/0.1457, allocations: 2.031 MB / 0.4903 GB, free: 9.262 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.64e-05/0.1457, allocations: 0 / 0.4903 GB, free: 9.262 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.322e-05/0.1457, allocations: 0 / 0.4903 GB, free: 9.262 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.242e-06/0.1458, allocations: 0 / 0.4903 GB, free: 9.262 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00156/0.1473, allocations: 0.4948 MB / 0.4908 GB, free: 8.766 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.34e-05/0.1474, allocations: 0 / 0.4908 GB, free: 8.766 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.616e-05/0.1475, allocations: 15.98 kB / 0.4908 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.567e-05/0.1475, allocations: 0 / 0.4908 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.717e-05/0.1475, allocations: 0 / 0.4908 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.303e-06/0.1475, allocations: 0 / 0.4908 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001048/0.1486, allocations: 0.6239 MB / 0.4915 GB, free: 8.125 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.777e-06/0.1486, allocations: 0 / 0.4915 GB, free: 8.125 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.363e-05/0.1486, allocations: 0 / 0.4915 GB, free: 8.125 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000679/0.1493, allocations: 383.3 kB / 0.4918 GB, free: 7.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1493, allocations: 0 / 0.4918 GB, free: 7.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1493, allocations: 0 / 0.4918 GB, free: 7.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.421e-06/0.1493, allocations: 0 / 0.4918 GB, free: 7.75 MB / 382.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.0005065/0.1499, allocations: 409.2 kB / 0.4922 GB, free: 7.297 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.1499, allocations: 15.89 kB / 0.4922 GB, free: 7.281 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.387e-05/0.1499, allocations: 0.9375 kB / 0.4922 GB, free: 7.281 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.135e-05/0.15, allocations: 164.4 kB / 0.4924 GB, free: 7.082 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.1501, allocations: 384 / 0.4924 GB, free: 7.082 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.155e-06/0.1501, allocations: 4.312 kB / 0.4924 GB, free: 7.078 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.826e-05/0.1502, allocations: 34.02 kB / 0.4924 GB, free: 7.039 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.1502, allocations: 0 / 0.4924 GB, free: 7.039 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.1502, allocations: 0 / 0.4924 GB, free: 7.039 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1502, allocations: 0 / 0.4924 GB, free: 7.039 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.421e-05/0.1502, allocations: 7.984 kB / 0.4924 GB, free: 7.031 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001717/0.1504, allocations: 153.5 kB / 0.4926 GB, free: 6.832 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.142e-05/0.1505, allocations: 18.58 kB / 0.4926 GB, free: 6.805 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.024e-05/0.1505, allocations: 12.89 kB / 0.4926 GB, free: 6.789 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.566e-06/0.1505, allocations: 0 / 0.4926 GB, free: 6.789 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.134e-05/0.1506, allocations: 60.2 kB / 0.4927 GB, free: 6.715 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 3.647e-06/0.1506, allocations: 0 / 0.4927 GB, free: 6.715 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002019/0.1508, allocations: 67.33 kB / 0.4927 GB, free: 6.637 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.763e-05/0.1509, allocations: 85.23 kB / 0.4928 GB, free: 6.535 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.718e-05/0.1509, allocations: 89.86 kB / 0.4929 GB, free: 6.438 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.1509, allocations: 29.7 kB / 0.4929 GB, free: 6.402 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.854e-05/0.151, allocations: 80.14 kB / 0.493 GB, free: 6.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.725e-05/0.151, allocations: 0 / 0.493 GB, free: 6.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.725e-05/0.1511, allocations: 9.719 kB / 0.493 GB, free: 6.305 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.1512, allocations: 318.8 kB / 0.4933 GB, free: 5.984 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.117e-05/0.1512, allocations: 3.938 kB / 0.4933 GB, free: 5.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.203e-06/0.1512, allocations: 4 kB / 0.4933 GB, free: 5.977 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.232e-05/0.1513, allocations: 64.27 kB / 0.4934 GB, free: 5.898 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1513, allocations: 0 / 0.4934 GB, free: 5.898 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.354e-05/0.1514, allocations: 59.41 kB / 0.4934 GB, free: 5.828 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.568e-05/0.1514, allocations: 37.62 kB / 0.4935 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.1514, allocations: 0 / 0.4935 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.1514, allocations: 0 / 0.4935 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-07/0.1514, allocations: 4 kB / 0.4935 GB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.433e-06/0.1514, allocations: 3.984 kB / 0.4935 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.85e-05/0.1515, allocations: 4.094 kB / 0.4935 GB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-06/0.1515, allocations: 0 / 0.4935 GB, free: 5.773 MB / 382.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 8.946e-05/0.1516, allocations: 143.4 kB / 0.4936 GB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.124e-05/0.1516, allocations: 7.938 kB / 0.4936 GB, free: 5.609 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.417e-05/0.1516, allocations: 7.109 kB / 0.4936 GB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1516, allocations: 0 / 0.4936 GB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.299e-06/0.1516, allocations: 3.984 kB / 0.4936 GB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.1516, allocations: 0 / 0.4936 GB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.735e-05/0.1517, allocations: 145.7 kB / 0.4938 GB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1517, allocations: 4 kB / 0.4938 GB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.265e-06/0.1517, allocations: 4 kB / 0.4938 GB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.1517, allocations: 3.938 kB / 0.4938 GB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.1518, allocations: 0 / 0.4938 GB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1518, allocations: 0 / 0.4938 GB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1518, allocations: 0 / 0.4938 GB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001644/0.1519, allocations: 90.83 kB / 0.4939 GB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.32e-05/0.152, allocations: 77.11 kB / 0.4939 GB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.152, allocations: 11.97 kB / 0.494 GB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.217e-05/0.152, allocations: 11.86 kB / 0.494 GB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.597e-05/0.1521, allocations: 0 / 0.494 GB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.379e-06/0.1521, allocations: 0 / 0.494 GB, free: 5.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.168e-05/0.1521, allocations: 83.25 kB / 0.4941 GB, free: 5.078 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1521, allocations: 0 / 0.4941 GB, free: 5.078 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004661/0.1526, allocations: 116 kB / 0.4942 GB, free: 4.965 MB / 382.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.0008406/0.1534, allocations: 311.9 kB / 0.4945 GB, free: 4.652 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.418e-05/0.1535, allocations: 55.41 kB / 0.4945 GB, free: 4.586 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1535, allocations: 0 / 0.4945 GB, free: 4.586 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.233e-05/0.1536, allocations: 55.41 kB / 0.4946 GB, free: 4.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001224/0.1537, allocations: 4.125 kB / 0.4946 GB, free: 4.516 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001974/0.1539, allocations: 92.91 kB / 0.4947 GB, free: 4.398 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/0.1541, allocations: 0.6729 MB / 0.4953 GB, free: 3.699 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.851e-06/0.1542, allocations: 0 / 0.4953 GB, free: 3.699 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.332e-05/0.1542, allocations: 7.438 kB / 0.4953 GB, free: 3.691 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1542, allocations: 0 / 0.4953 GB, free: 3.691 MB / 382.1 MB Notification: Performance of Templates: time 0.007453/0.1616, allocations: 3.377 MB / 0.4986 GB, free: 324 kB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/Random/TestSpecial/TestSpecial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches