Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestSpecial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001726/0.001726, allocations: 109.1 kB / 21.85 MB, free: 64 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002292/0.002292, allocations: 216.3 kB / 25.13 MB, free: 3.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 230.4 MB / 258.7 MB, free: 8.066 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2432/0.2432, allocations: 46.93 MB / 362 MB, free: 4.238 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestSpecial") translateModel(ModelicaTest.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestSpecial") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002321/0.002321, allocations: 79.86 kB / 0.4978 GB, free: 7.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.366, allocations: 66.09 MB / 0.5623 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.001638/0.3676, allocations: 0.4893 MB / 0.5628 GB, free: 3.781 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003089/0.3707, allocations: 2.058 MB / 0.5648 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.542e-05/0.3707, allocations: 0 / 0.5648 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.879e-05/0.3708, allocations: 0 / 0.5648 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.422e-06/0.3708, allocations: 0 / 0.5648 GB, free: 1.703 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/Math.mo:928:5-1011:16:writable] Warning: Pure function 'ModelicaTest.Math.Random.special' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001488/0.3722, allocations: 0.506 MB / 0.5653 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.407e-05/0.3723, allocations: 4 kB / 0.5653 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.867e-05/0.3723, allocations: 0 / 0.5653 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.717e-05/0.3723, allocations: 7.984 kB / 0.5653 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.789e-05/0.3724, allocations: 3.938 kB / 0.5653 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.091e-06/0.3724, allocations: 0 / 0.5653 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00114/0.3735, allocations: 0.7136 MB / 0.566 GB, free: 480 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.104e-06/0.3735, allocations: 0 / 0.566 GB, free: 480 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.354e-05/0.3735, allocations: 0 / 0.566 GB, free: 480 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005767/0.3741, allocations: 393.5 kB / 0.5664 GB, free: 92 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3741, allocations: 0 / 0.5664 GB, free: 92 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.3741, allocations: 0 / 0.5664 GB, free: 92 kB / 398.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.3741, allocations: 0 / 0.5664 GB, free: 92 kB / 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.0004388/0.3746, allocations: 339.4 kB / 0.5667 GB, free: 15.72 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.3746, allocations: 8.031 kB / 0.5667 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.331e-05/0.3746, allocations: 4.938 kB / 0.5667 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.218e-05/0.3747, allocations: 102.5 kB / 0.5668 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.3747, allocations: 4.375 kB / 0.5668 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.3747, allocations: 8.297 kB / 0.5668 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.577e-05/0.3748, allocations: 63.66 kB / 0.5669 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.3749, allocations: 0 / 0.5669 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.552e-06/0.3749, allocations: 0 / 0.5669 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.216e-06/0.3749, allocations: 0 / 0.5669 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.887e-05/0.3749, allocations: 25.7 kB / 0.5669 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001342/0.375, allocations: 128.8 kB / 0.567 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.387e-05/0.3751, allocations: 40.28 kB / 0.5671 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.924e-05/0.3751, allocations: 38.59 kB / 0.5671 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.244e-06/0.3751, allocations: 0 / 0.5671 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.258e-05/0.3752, allocations: 64.2 kB / 0.5672 GB, free: 15.12 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 9.11e-07/0.3752, allocations: 0 / 0.5672 GB, free: 15.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001889/0.3754, allocations: 118.8 kB / 0.5673 GB, free: 14.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.638e-05/0.3754, allocations: 77.11 kB / 0.5674 GB, free: 14.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.083e-05/0.3755, allocations: 97.81 kB / 0.5675 GB, free: 14.78 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.3755, allocations: 25.7 kB / 0.5675 GB, free: 14.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.265e-05/0.3756, allocations: 84.14 kB / 0.5676 GB, free: 14.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.743e-05/0.3756, allocations: 3.938 kB / 0.5676 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-05/0.3756, allocations: 9.719 kB / 0.5676 GB, free: 14.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.3757, allocations: 314.8 kB / 0.5679 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.983e-05/0.3758, allocations: 37.75 kB / 0.5679 GB, free: 14.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.069e-05/0.3758, allocations: 25.7 kB / 0.5679 GB, free: 14.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.297e-05/0.3758, allocations: 64.27 kB / 0.568 GB, free: 14.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.3758, allocations: 0 / 0.568 GB, free: 14.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.033e-05/0.3759, allocations: 89.09 kB / 0.5681 GB, free: 14.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.427e-05/0.376, allocations: 37.64 kB / 0.5681 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.376, allocations: 0 / 0.5681 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.376, allocations: 0 / 0.5681 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.51e-07/0.376, allocations: 0 / 0.5681 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.376, allocations: 4.094 kB / 0.5681 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.328e-05/0.376, allocations: 0 / 0.5681 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.376, allocations: 0 / 0.5681 GB, free: 14.02 MB / 414.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.000105/0.3761, allocations: 144.4 kB / 0.5683 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.728e-06/0.3761, allocations: 3.938 kB / 0.5683 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.331e-05/0.3761, allocations: 6.984 kB / 0.5683 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.3761, allocations: 0 / 0.5683 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.3761, allocations: 4 kB / 0.5683 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.3761, allocations: 0 / 0.5683 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.922e-05/0.3762, allocations: 116.8 kB / 0.5684 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.3762, allocations: 0 / 0.5684 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.857e-06/0.3763, allocations: 4 kB / 0.5684 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.3763, allocations: 3.938 kB / 0.5684 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.3763, allocations: 4 kB / 0.5684 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.3763, allocations: 3.938 kB / 0.5684 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.3763, allocations: 3.984 kB / 0.5684 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001115/0.3764, allocations: 112.5 kB / 0.5685 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.476e-06/0.3764, allocations: 4.031 kB / 0.5685 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.3764, allocations: 7.922 kB / 0.5685 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.225e-06/0.3764, allocations: 0 / 0.5685 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.095e-05/0.3764, allocations: 7.984 kB / 0.5685 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.3764, allocations: 0 / 0.5685 GB, free: 13.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.965e-05/0.3765, allocations: 79.22 kB / 0.5686 GB, free: 13.44 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3765, allocations: 0 / 0.5686 GB, free: 13.44 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003907/0.3768, allocations: 139.5 kB / 0.5687 GB, free: 13.3 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.00071/0.3776, allocations: 307.6 kB / 0.569 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001339/0.3777, allocations: 114.8 kB / 0.5691 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.3777, allocations: 4.062 kB / 0.5692 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.749e-05/0.3778, allocations: 81.11 kB / 0.5692 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001218/0.3779, allocations: 4 kB / 0.5692 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001965/0.3781, allocations: 118.7 kB / 0.5693 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.3784, allocations: 0.669 MB / 0.57 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.889e-06/0.3784, allocations: 0 / 0.57 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.143e-05/0.3784, allocations: 7.438 kB / 0.57 GB, free: 11.9 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3784, allocations: 0 / 0.57 GB, free: 11.9 MB / 414.1 MB Notification: Performance of Templates: time 0.007428/0.3858, allocations: 3.524 MB / 0.5734 GB, free: 8.379 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestSpecial.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestSpecial.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestSpecial.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestSpecial.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestSpecial.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestSpecial -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestSpecial.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestSpecial_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/Random/TestSpecial/TestSpecial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestSpecial.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.232367135118693]