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.008618/0.008618, allocations: 100 kB / 15.87 MB, free: 6.309 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.001341/0.001341, allocations: 193.3 kB / 16.79 MB, free: 6.238 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.706/1.706, allocations: 205.1 MB / 222.6 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4282/0.4282, allocations: 43.5 MB / 313.5 MB, free: 8.516 MB / 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.00168/0.00168, allocations: 59.91 kB / 382 MB, free: 8.734 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1683, allocations: 57.79 MB / 439.8 MB, free: 14.85 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.002065/0.1704, allocations: 0.5775 MB / 440.4 MB, free: 14.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003427/0.1738, allocations: 2.09 MB / 442.5 MB, free: 12.15 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.225e-05/0.1739, allocations: 3.938 kB / 442.5 MB, free: 12.15 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.396e-05/0.1739, allocations: 3.938 kB / 442.5 MB, free: 12.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.634e-06/0.1739, allocations: 0 / 442.5 MB, free: 12.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00153/0.1755, allocations: 407.1 kB / 442.9 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.81e-05/0.1755, allocations: 4 kB / 442.9 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.599e-05/0.1756, allocations: 3.938 kB / 442.9 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.157e-05/0.1756, allocations: 0 / 442.9 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.824e-05/0.1757, allocations: 0 / 442.9 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.1757, allocations: 4 kB / 442.9 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001199/0.1769, allocations: 0.667 MB / 443.6 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.232e-05/0.1769, allocations: 4 kB / 443.6 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.578e-05/0.177, allocations: 0 / 443.6 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007221/0.1777, allocations: 403 kB / 444 MB, free: 10.67 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1777, allocations: 0 / 444 MB, free: 10.67 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.1777, allocations: 0 / 444 MB, free: 10.67 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.1777, allocations: 0 / 444 MB, free: 10.67 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.000595/0.1783, allocations: 401.3 kB / 444.4 MB, free: 10.22 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.1784, allocations: 8.031 kB / 444.4 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.408e-05/0.1785, allocations: 0.9375 kB / 444.4 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.1786, allocations: 168.4 kB / 444.5 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.1786, allocations: 4.359 kB / 444.5 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.1786, allocations: 8.25 kB / 444.5 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.1787, allocations: 46 kB / 444.6 MB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.1788, allocations: 0 / 444.6 MB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.1788, allocations: 0 / 444.6 MB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.1788, allocations: 0 / 444.6 MB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.984e-05/0.1788, allocations: 0 / 444.6 MB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001576/0.179, allocations: 145.7 kB / 444.7 MB, free: 9.758 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.049e-05/0.179, allocations: 14.58 kB / 444.7 MB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.825e-05/0.1791, allocations: 12.8 kB / 444.8 MB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.177e-06/0.1791, allocations: 0 / 444.8 MB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.304e-05/0.1792, allocations: 72.25 kB / 444.8 MB, free: 9.633 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.1792, allocations: 0 / 444.8 MB, free: 9.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001916/0.1794, allocations: 63.31 kB / 444.9 MB, free: 9.559 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.1794, allocations: 77.11 kB / 445 MB, free: 9.465 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.793e-05/0.1795, allocations: 89.86 kB / 445.1 MB, free: 9.367 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.1795, allocations: 25.7 kB / 445.1 MB, free: 9.336 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.506e-05/0.1795, allocations: 84.27 kB / 445.2 MB, free: 9.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/0.1796, allocations: 4 kB / 445.2 MB, free: 9.246 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.908e-05/0.1796, allocations: 17.7 kB / 445.2 MB, free: 9.223 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.1797, allocations: 310.8 kB / 445.5 MB, free: 8.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.437e-05/0.1798, allocations: 3.938 kB / 445.5 MB, free: 8.906 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.678e-06/0.1798, allocations: 4 kB / 445.5 MB, free: 8.902 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.783e-05/0.1798, allocations: 60.27 kB / 445.5 MB, free: 8.828 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.1799, allocations: 4.062 kB / 445.6 MB, free: 8.824 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.44e-05/0.1799, allocations: 63.39 kB / 445.6 MB, free: 8.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.1e-05/0.18, allocations: 37.64 kB / 445.7 MB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.18, allocations: 3.938 kB / 445.7 MB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.18, allocations: 0 / 445.7 MB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.11e-07/0.18, allocations: 0 / 445.7 MB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.18, allocations: 3.984 kB / 445.7 MB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.824e-05/0.1801, allocations: 0 / 445.7 MB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.1801, allocations: 4 kB / 445.7 MB, free: 8.695 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 0.0001014/0.1802, allocations: 139.5 kB / 445.8 MB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.318e-05/0.1802, allocations: 7.922 kB / 445.8 MB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.484e-05/0.1802, allocations: 7.125 kB / 445.8 MB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.1802, allocations: 4 kB / 445.8 MB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1802, allocations: 3.938 kB / 445.8 MB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1803, allocations: 0 / 445.8 MB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001103/0.1804, allocations: 145.7 kB / 446 MB, free: 8.328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.1804, allocations: 0 / 446 MB, free: 8.328 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.1804, allocations: 0 / 446 MB, free: 8.328 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-06/0.1804, allocations: 7.938 kB / 446 MB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.1804, allocations: 7.984 kB / 446 MB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.1804, allocations: 0 / 446 MB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1804, allocations: 0 / 446 MB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001045/0.1805, allocations: 86.84 kB / 446.1 MB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.845e-05/0.1806, allocations: 81.09 kB / 446.1 MB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.1806, allocations: 3.938 kB / 446.1 MB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.726e-06/0.1806, allocations: 0 / 446.1 MB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.179e-05/0.1806, allocations: 4 kB / 446.2 MB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.1807, allocations: 8.016 kB / 446.2 MB, free: 8.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.8e-05/0.1807, allocations: 79.22 kB / 446.2 MB, free: 8.012 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1807, allocations: 0 / 446.2 MB, free: 8.012 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004114/0.1811, allocations: 124 kB / 446.4 MB, free: 7.891 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.0008436/0.182, allocations: 310.7 kB / 446.7 MB, free: 7.582 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001116/0.1821, allocations: 55.41 kB / 446.7 MB, free: 7.516 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1821, allocations: 0 / 446.7 MB, free: 7.516 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.64e-05/0.1821, allocations: 55.41 kB / 446.8 MB, free: 7.449 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/0.1823, allocations: 7.938 kB / 446.8 MB, free: 7.441 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002241/0.1825, allocations: 82.81 kB / 446.9 MB, free: 7.336 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.1828, allocations: 0.677 MB / 447.5 MB, free: 6.633 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.945e-06/0.1828, allocations: 0 / 447.5 MB, free: 6.633 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.11e-05/0.1829, allocations: 7.438 kB / 447.5 MB, free: 6.625 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1829, allocations: 0 / 447.5 MB, free: 6.625 MB / 382.1 MB Notification: Performance of Templates: time 0.00708/0.19, allocations: 3.374 MB / 450.9 MB, free: 3.25 MB / 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","../files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches