Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.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) 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(Modelica.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1024|r128|r64",fileNamePrefix="Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers") translateModel(Modelica.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1024|r128|r64",fileNamePrefix="Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 108.3 kB / 18.4 MB, free: 4.695 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.001278/0.001279, allocations: 180.2 kB / 19.33 MB, free: 3.777 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.459/1.459, allocations: 205.1 MB / 225.2 MB, free: 12.24 MB / 190.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.001275/0.001275, allocations: 55.92 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1145, allocations: 46.62 MB / 375.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.003396/0.1179, allocations: 1.233 MB / 377.1 MB, free: 3.332 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.1193, allocations: 459.9 kB / 377.5 MB, free: 2.883 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.255e-05/0.1194, allocations: 0 / 377.5 MB, free: 2.883 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.096e-05/0.1195, allocations: 0 / 377.5 MB, free: 2.883 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005879/0.1201, allocations: 71.73 kB / 377.6 MB, free: 2.812 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002722/0.1204, allocations: 71.73 kB / 377.6 MB, free: 2.742 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.1205, allocations: 43.92 kB / 377.7 MB, free: 2.699 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.264e-05/0.1206, allocations: 3.984 kB / 377.7 MB, free: 2.695 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.773e-05/0.1207, allocations: 23.92 kB / 377.7 MB, free: 2.672 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.368e-05/0.1207, allocations: 19.91 kB / 377.7 MB, free: 2.652 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.1207, allocations: 7.938 kB / 377.7 MB, free: 2.645 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003457/0.1211, allocations: 119.8 kB / 377.9 MB, free: 2.527 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.107e-05/0.1212, allocations: 31.91 kB / 377.9 MB, free: 2.496 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.8e-05/0.1212, allocations: 47.62 kB / 377.9 MB, free: 2.449 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003424/0.1216, allocations: 175.5 kB / 378.1 MB, free: 2.277 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1216, allocations: 0 / 378.1 MB, free: 2.277 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1216, allocations: 0 / 378.1 MB, free: 2.277 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.1216, allocations: 4 kB / 378.1 MB, free: 2.273 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007657/0.1224, allocations: 0.5723 MB / 378.7 MB, free: 1.637 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.1225, allocations: 8.031 kB / 378.7 MB, free: 1.629 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002006/0.1227, allocations: 20.75 kB / 378.7 MB, free: 1.609 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.1229, allocations: 180.2 kB / 378.9 MB, free: 1.395 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.1229, allocations: 384 / 378.9 MB, free: 1.395 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.973e-05/0.123, allocations: 8.375 kB / 378.9 MB, free: 1.387 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004521/0.1234, allocations: 279.8 kB / 379.2 MB, free: 1.102 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.1234, allocations: 192 / 379.2 MB, free: 1.102 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.1235, allocations: 7.938 kB / 379.2 MB, free: 1.094 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1235, allocations: 0 / 379.2 MB, free: 1.094 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002176/0.1237, allocations: 143.9 kB / 379.3 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003151/0.124, allocations: 198.3 kB / 379.5 MB, free: 0.707 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000653/0.1247, allocations: 0.4894 MB / 380 MB, free: 204 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.255/0.3797, allocations: 461.5 kB / 380.5 MB, free: 13.17 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.3798, allocations: 3.125 kB / 380.5 MB, free: 13.17 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008787/0.3806, allocations: 482.5 kB / 380.9 MB, free: 12.97 MB / 318.1 MB Notification: Performance of pre-optimization done (n=46): time 2.164e-06/0.3807, allocations: 0 / 380.9 MB, free: 12.97 MB / 318.1 MB Notification: Performance of matching and sorting (n=46): time 0.001264/0.3819, allocations: 0.7136 MB / 381.6 MB, free: 12.88 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.3821, allocations: 166.5 kB / 381.8 MB, free: 12.72 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.112e-05/0.3822, allocations: 103.5 kB / 381.9 MB, free: 12.62 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.3822, allocations: 29.17 kB / 381.9 MB, free: 12.59 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.352e-05/0.3822, allocations: 81.14 kB / 382 MB, free: 12.51 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.909e-05/0.3823, allocations: 85.97 kB / 382.1 MB, free: 12.47 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.346e-05/0.3824, allocations: 42.78 kB / 382.1 MB, free: 12.45 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.941e-05/0.3825, allocations: 328.5 kB / 382.5 MB, free: 12.14 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/0.3827, allocations: 82.48 kB / 382.5 MB, free: 12.14 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001868/0.3829, allocations: 106.7 kB / 382.6 MB, free: 12.12 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006189/0.3835, allocations: 417.3 kB / 383 MB, free: 11.93 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.3835, allocations: 0 / 383 MB, free: 11.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005852/0.3841, allocations: 352.5 kB / 383.4 MB, free: 11.75 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000142/0.3843, allocations: 113.9 kB / 383.5 MB, free: 11.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.3843, allocations: 1.438 kB / 383.5 MB, free: 11.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.3843, allocations: 0 / 383.5 MB, free: 11.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.955e-06/0.3843, allocations: 2.047 kB / 383.5 MB, free: 11.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.3844, allocations: 1.5 kB / 383.5 MB, free: 11.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.577e-05/0.3844, allocations: 27.8 kB / 383.5 MB, free: 11.67 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.3845, allocations: 9.344 kB / 383.5 MB, free: 11.67 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 46 (state1024[33],state1024[32],state1024[31],state1024[30],state1024[29],state1024[28],state1024[27],state1024[26],state1024[25],state1024[24],state1024[23],state1024[22],state1024[21],state1024[20],state1024[19],state1024[18],state1024[17],state1024[16],state1024[15],state1024[14],state1024[13],state1024[12],state1024[11],state1024[10],state1024[9],state1024[8],state1024[7],state1024[6],state1024[5],state1024[4],state1024[3],state1024[2],state1024[1],state128[4],state128[3],state128[2],state128[1],state64[2],state64[1],r1024,r128,r64,$whenCondition2,iImpure,rImpure,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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.000296/0.3848, allocations: 303.3 kB / 383.8 MB, free: 11.47 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.94e-05/0.3848, allocations: 31.77 kB / 383.9 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.783e-05/0.3848, allocations: 7.594 kB / 383.9 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.3849, allocations: 1.156 kB / 383.9 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3849, allocations: 0 / 383.9 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.3849, allocations: 1.797 kB / 383.9 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000198/0.3851, allocations: 231.3 kB / 384.1 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3851, allocations: 0 / 384.1 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.455e-06/0.3851, allocations: 4.469 kB / 384.1 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.3851, allocations: 1.094 kB / 384.1 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.36e-05/0.3851, allocations: 18.5 kB / 384.1 MB, free: 11.24 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.3852, allocations: 4.812 kB / 384.1 MB, free: 11.24 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.3852, allocations: 0 / 384.1 MB, free: 11.24 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001539/0.3867, allocations: 1.235 MB / 385.4 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.704e-05/0.3868, allocations: 92.34 kB / 385.5 MB, free: 10.76 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/0.3869, allocations: 68.44 kB / 385.5 MB, free: 10.76 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.372e-05/0.3869, allocations: 10.72 kB / 385.5 MB, free: 10.76 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.392e-05/0.387, allocations: 16.27 kB / 385.6 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.185e-05/0.3871, allocations: 21.36 kB / 385.6 MB, free: 10.75 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.3e-05/0.3871, allocations: 80.44 kB / 385.7 MB, free: 10.68 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3871, allocations: 0 / 385.7 MB, free: 10.68 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004089/0.3875, allocations: 86.27 kB / 385.7 MB, free: 10.68 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 46 ($whenCondition2,r64,r128,r1024,state64[1],state64[2],state128[1],state128[2],state128[3],state128[4],state1024[1],state1024[2],state1024[3],state1024[4],state1024[5],state1024[6],state1024[7],state1024[8],state1024[9],state1024[10],state1024[11],state1024[12],state1024[13],state1024[14],state1024[15],state1024[16],state1024[17],state1024[18],state1024[19],state1024[20],state1024[21],state1024[22],state1024[23],state1024[24],state1024[25],state1024[26],state1024[27],state1024[28],state1024[29],state1024[30],state1024[31],state1024[32],state1024[33],$whenCondition1,rImpure,iImpure) * Number of discrete states: 46 (iImpure,rImpure,$whenCondition1,r1024,r128,r64,state1024[33],state1024[32],state1024[31],state1024[30],state1024[29],state1024[28],state1024[27],state1024[26],state1024[25],state1024[24],state1024[23],state1024[22],state1024[21],state1024[20],state1024[19],state1024[18],state1024[17],state1024[16],state1024[15],state1024[14],state1024[13],state1024[12],state1024[11],state1024[10],state1024[9],state1024[8],state1024[7],state1024[6],state1024[5],state1024[4],state1024[3],state1024[2],state1024[1],state128[4],state128[3],state128[2],state128[1],state64[2],state64[1],$whenCondition2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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.0005642/0.3881, allocations: 304.6 kB / 386 MB, free: 10.53 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001761/0.3899, allocations: 2.133 MB / 388.2 MB, free: 9.34 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3899, allocations: 1.156 kB / 388.2 MB, free: 9.34 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001486/0.3914, allocations: 2.186 MB / 390.4 MB, free: 8.012 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.3916, allocations: 22.56 kB / 390.4 MB, free: 8.008 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007207/0.3923, allocations: 428.2 kB / 390.8 MB, free: 7.797 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002222/0.3926, allocations: 0.7275 MB / 391.5 MB, free: 7.094 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.599e-05/0.3926, allocations: 7.438 kB / 391.5 MB, free: 7.086 MB / 318.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3926, allocations: 1.344 kB / 391.5 MB, free: 7.086 MB / 318.1 MB Notification: Performance of Templates: time 0.006737/0.3994, allocations: 2.858 MB / 394.4 MB, free: 6.773 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.makefile (rm -f Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; mkfifo Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe >> ../files/Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.sim & ./Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Math/Random/Examples/GenerateRandomNumbers/GenerateRandomNumbers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches