Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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) Running command: translateModel(ModelicaTest.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial") translateModel(ModelicaTest.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001379/0.001379, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 226.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009884/0.0009885, allocations: 110.1 kB / 296.7 MB, free: 6.496 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3659/0.3659, allocations: 44.83 MB / 392.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001621/0.001621, allocations: 67.89 kB / 465.5 MB, free: 12.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.3725, allocations: 62.02 MB / 0.5152 GB, free: 37.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.001855/0.3744, allocations: 0.5668 MB / 0.5157 GB, free: 37.44 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002782/0.3772, allocations: 2.095 MB / 0.5178 GB, free: 35.99 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.433e-05/0.3773, allocations: 6.844 kB / 0.5178 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.987e-05/0.3773, allocations: 0 / 0.5178 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.781e-06/0.3773, allocations: 0 / 0.5178 GB, free: 35.98 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.001212/0.3785, allocations: 407.4 kB / 0.5181 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.459e-05/0.3786, allocations: 0 / 0.5181 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.052e-05/0.3786, allocations: 2.781 kB / 0.5181 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.379e-05/0.3787, allocations: 3.984 kB / 0.5182 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.063e-05/0.3787, allocations: 0 / 0.5182 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.484e-06/0.3787, allocations: 0 / 0.5182 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001073/0.3798, allocations: 0.6898 MB / 0.5188 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.348e-06/0.3798, allocations: 0 / 0.5188 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.807e-05/0.3798, allocations: 3.938 kB / 0.5188 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005789/0.3804, allocations: 404.6 kB / 0.5192 GB, free: 35.49 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3804, allocations: 3.938 kB / 0.5192 GB, free: 35.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3804, allocations: 0 / 0.5192 GB, free: 35.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.3805, allocations: 0 / 0.5192 GB, free: 35.48 MB / 378.7 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.0004095/0.3809, allocations: 411.4 kB / 0.5196 GB, free: 35.06 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.3809, allocations: 8.75 kB / 0.5196 GB, free: 35.06 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.622e-05/0.381, allocations: 0.9375 kB / 0.5196 GB, free: 35.06 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.266e-05/0.3811, allocations: 167.8 kB / 0.5198 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.3811, allocations: 384 / 0.5198 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.3811, allocations: 3.25 kB / 0.5198 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.3812, allocations: 32.86 kB / 0.5198 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.3812, allocations: 3.984 kB / 0.5198 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.3812, allocations: 0 / 0.5198 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.3812, allocations: 0 / 0.5198 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.208e-05/0.3813, allocations: 6.844 kB / 0.5198 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000106/0.3814, allocations: 152.9 kB / 0.52 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.646e-05/0.3814, allocations: 17.55 kB / 0.52 GB, free: 34.6 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.26e-05/0.3814, allocations: 4.859 kB / 0.52 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.913e-06/0.3815, allocations: 0 / 0.52 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.3815, allocations: 63.2 kB / 0.5201 GB, free: 34.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.3815, allocations: 0 / 0.5201 GB, free: 34.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001599/0.3817, allocations: 68.42 kB / 0.5201 GB, free: 34.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.3817, allocations: 83.98 kB / 0.5202 GB, free: 34.35 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.087e-05/0.3818, allocations: 89.86 kB / 0.5203 GB, free: 34.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.326e-06/0.3818, allocations: 25.7 kB / 0.5203 GB, free: 34.22 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.409e-05/0.3818, allocations: 80.14 kB / 0.5204 GB, free: 34.14 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.681e-05/0.3818, allocations: 0 / 0.5204 GB, free: 34.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.428e-05/0.3818, allocations: 15.58 kB / 0.5204 GB, free: 34.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.568e-05/0.3819, allocations: 318.4 kB / 0.5207 GB, free: 33.81 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.798e-06/0.3819, allocations: 0 / 0.5207 GB, free: 33.81 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.13e-06/0.3819, allocations: 4 kB / 0.5207 GB, free: 33.8 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.658e-05/0.382, allocations: 63.58 kB / 0.5208 GB, free: 33.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.382, allocations: 0 / 0.5208 GB, free: 33.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.994e-05/0.382, allocations: 67.19 kB / 0.5208 GB, free: 33.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.3821, allocations: 39.33 kB / 0.5209 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3821, allocations: 0 / 0.5209 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.3821, allocations: 0 / 0.5209 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-07/0.3821, allocations: 0 / 0.5209 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.81e-06/0.3821, allocations: 0 / 0.5209 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.57e-05/0.3821, allocations: 8.094 kB / 0.5209 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.3821, allocations: 2.938 kB / 0.5209 GB, free: 33.62 MB / 378.7 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 5.78e-05/0.3822, allocations: 141.6 kB / 0.521 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.273e-06/0.3822, allocations: 3.938 kB / 0.521 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.135e-06/0.3822, allocations: 10.66 kB / 0.521 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.92e-07/0.3822, allocations: 0 / 0.521 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3822, allocations: 0 / 0.521 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3822, allocations: 0 / 0.521 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.011e-05/0.3823, allocations: 148 kB / 0.5212 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.3823, allocations: 4 kB / 0.5212 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.3823, allocations: 0 / 0.5212 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3823, allocations: 3.938 kB / 0.5212 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.3823, allocations: 3 kB / 0.5212 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.3823, allocations: 0 / 0.5212 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.3823, allocations: 0 / 0.5212 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002261/0.3826, allocations: 0.6406 MB / 0.5218 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.755e-05/0.3826, allocations: 81.05 kB / 0.5219 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.3826, allocations: 0 / 0.5219 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.807e-06/0.3826, allocations: 2.812 kB / 0.5219 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.545e-05/0.3827, allocations: 0 / 0.5219 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-06/0.3827, allocations: 3.375 kB / 0.5219 GB, free: 32.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.667e-05/0.3827, allocations: 79.28 kB / 0.522 GB, free: 32.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3827, allocations: 0 / 0.522 GB, free: 32.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000479/0.3832, allocations: 136.3 kB / 0.5221 GB, free: 32.38 MB / 378.7 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.0007854/0.384, allocations: 306.8 kB / 0.5224 GB, free: 32.22 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.318e-05/0.384, allocations: 61.28 kB / 0.5224 GB, free: 32.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3841, allocations: 4.062 kB / 0.5225 GB, free: 32.15 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.074e-05/0.3841, allocations: 58.28 kB / 0.5225 GB, free: 32.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001168/0.3842, allocations: 9 kB / 0.5225 GB, free: 32.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001991/0.3844, allocations: 181.2 kB / 0.5227 GB, free: 31.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001133/0.3845, allocations: 0.6731 MB / 0.5233 GB, free: 31.18 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.192e-06/0.3845, allocations: 0 / 0.5233 GB, free: 31.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.913e-06/0.3846, allocations: 10.38 kB / 0.5234 GB, free: 31.17 MB / 378.7 MB Notification: Performance of SimCode: time 3.01e-07/0.3846, allocations: 0 / 0.5234 GB, free: 31.17 MB / 378.7 MB Notification: Performance of Templates: time 0.006067/0.3906, allocations: 3.511 MB / 0.5268 GB, free: 30.9 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial.sim & ./ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/Random/TestSpecial/TestSpecial.csv","../files/ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches