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: "" <> buildModelFMU(Modelica.Math.Random.Examples.GenerateRandomNumbers,fileNamePrefix="Modelica_3_2_3_Modelica_Math_Random_Examples_GenerateRandomNumbers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.Random.Examples.GenerateRandomNumbers,fileNamePrefix="Modelica_3_2_3_Modelica_Math_Random_Examples_GenerateRandomNumbers",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 114 kB / 17.28 MB, free: 6.219 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.001082/0.001082, allocations: 189.3 kB / 18.2 MB, free: 5.297 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.359/1.359, allocations: 205.1 MB / 224.1 MB, free: 12.44 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.001396/0.001397, allocations: 52.16 kB / 280.2 MB, free: 3.402 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1047, allocations: 46.63 MB / 326.9 MB, free: 4.699 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.003017/0.1078, allocations: 1.285 MB / 328.2 MB, free: 3.395 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009994/0.1088, allocations: 464.7 kB / 328.6 MB, free: 2.941 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.872e-05/0.1089, allocations: 0 / 328.6 MB, free: 2.941 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 4.046e-05/0.1089, allocations: 0 / 328.6 MB, free: 2.941 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006141/0.1096, allocations: 63.81 kB / 328.7 MB, free: 2.879 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002806/0.1099, allocations: 63.88 kB / 328.7 MB, free: 2.816 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001543/0.11, allocations: 39.91 kB / 328.8 MB, free: 2.777 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.88e-05/0.1101, allocations: 7.984 kB / 328.8 MB, free: 2.77 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.472e-05/0.1102, allocations: 15.92 kB / 328.8 MB, free: 2.754 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.96e-05/0.1102, allocations: 19.92 kB / 328.8 MB, free: 2.734 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.1102, allocations: 8 kB / 328.8 MB, free: 2.727 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003228/0.1106, allocations: 115.8 kB / 328.9 MB, free: 2.613 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.867e-05/0.1107, allocations: 39.83 kB / 329 MB, free: 2.574 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.533e-05/0.1107, allocations: 47.69 kB / 329 MB, free: 2.527 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004135/0.1112, allocations: 171.5 kB / 329.2 MB, free: 2.359 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.1112, allocations: 0 / 329.2 MB, free: 2.359 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1112, allocations: 0 / 329.2 MB, free: 2.359 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.208e-05/0.1112, allocations: 0 / 329.2 MB, free: 2.359 MB / 270.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.0009234/0.1121, allocations: 0.5687 MB / 329.8 MB, free: 1.727 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.697e-05/0.1122, allocations: 12.03 kB / 329.8 MB, free: 1.715 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001003/0.1123, allocations: 62.64 kB / 329.8 MB, free: 1.645 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001572/0.1125, allocations: 28.67 kB / 329.9 MB, free: 1.617 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.1127, allocations: 176.2 kB / 330 MB, free: 1.406 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.1127, allocations: 384 / 330 MB, free: 1.406 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.1127, allocations: 12.38 kB / 330.1 MB, free: 1.395 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000349/0.1131, allocations: 274.9 kB / 330.3 MB, free: 1.109 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.1131, allocations: 3.938 kB / 330.3 MB, free: 1.105 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.1131, allocations: 4 kB / 330.3 MB, free: 1.102 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1131, allocations: 4 kB / 330.3 MB, free: 1.098 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001791/0.1133, allocations: 148.2 kB / 330.5 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004125/0.1137, allocations: 385.5 kB / 330.9 MB, free: 0.5195 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004327/0.1142, allocations: 0.4975 MB / 331.3 MB, free: 4 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004223/0.1146, allocations: 486.1 kB / 331.8 MB, free: 15.52 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.1146, allocations: 0 / 331.8 MB, free: 15.52 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005348/0.1152, allocations: 498.7 kB / 332.3 MB, free: 15 MB / 286.1 MB Notification: Performance of pre-optimization done (n=49): time 1.142e-06/0.1152, allocations: 0 / 332.3 MB, free: 15 MB / 286.1 MB Notification: Performance of matching and sorting (n=49): time 0.0008182/0.116, allocations: 0.7331 MB / 333 MB, free: 14.25 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.1161, allocations: 164.5 kB / 333.2 MB, free: 14.05 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.413e-05/0.1162, allocations: 101.8 kB / 333.3 MB, free: 13.95 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.1162, allocations: 29.7 kB / 333.3 MB, free: 13.91 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.575e-05/0.1163, allocations: 85.14 kB / 333.4 MB, free: 13.82 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.118e-05/0.1163, allocations: 94.56 kB / 333.5 MB, free: 13.73 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.423e-05/0.1164, allocations: 49.69 kB / 333.6 MB, free: 13.68 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.1165, allocations: 322.8 kB / 333.9 MB, free: 13.35 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.26e-05/0.1166, allocations: 88.41 kB / 334 MB, free: 13.27 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.897e-05/0.1167, allocations: 116.3 kB / 334.1 MB, free: 13.15 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003528/0.1171, allocations: 436.8 kB / 334.5 MB, free: 12.69 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.1171, allocations: 3.938 kB / 334.5 MB, free: 12.69 MB / 286.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0003475/0.1175, allocations: 364.9 kB / 334.9 MB, free: 12.31 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.462e-05/0.1176, allocations: 111.3 kB / 335 MB, free: 12.19 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.1176, allocations: 0 / 335 MB, free: 12.19 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.1176, allocations: 0 / 335 MB, free: 12.19 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.966e-05/0.1177, allocations: 4 kB / 335 MB, free: 12.19 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.341e-06/0.1177, allocations: 3.969 kB / 335 MB, free: 12.18 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.04e-05/0.1177, allocations: 27.75 kB / 335 MB, free: 12.16 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.1178, allocations: 8 kB / 335 MB, free: 12.15 MB / 286.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],$outputAlias_r1024,$outputAlias_r128,$outputAlias_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 (5): * Single equations (assignments): 3 * 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.0002538/0.118, allocations: 307.7 kB / 335.3 MB, free: 11.82 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.121e-05/0.1181, allocations: 31.73 kB / 335.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.359e-05/0.1181, allocations: 5.562 kB / 335.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.1181, allocations: 4 kB / 335.4 MB, free: 11.79 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1181, allocations: 0 / 335.4 MB, free: 11.79 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1181, allocations: 3.984 kB / 335.4 MB, free: 11.78 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001274/0.1194, allocations: 1.448 MB / 336.8 MB, free: 10.27 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1194, allocations: 0 / 336.8 MB, free: 10.27 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.953e-05/0.1194, allocations: 8 kB / 336.8 MB, free: 10.26 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1195, allocations: 0 / 336.8 MB, free: 10.26 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.159e-05/0.1195, allocations: 19.98 kB / 336.8 MB, free: 10.24 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.1195, allocations: 0 / 336.8 MB, free: 10.24 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.1195, allocations: 4 kB / 336.8 MB, free: 10.24 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/0.1207, allocations: 1.311 MB / 338.1 MB, free: 8.891 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.822e-05/0.1208, allocations: 96.86 kB / 338.2 MB, free: 8.777 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.515e-05/0.1209, allocations: 71.94 kB / 338.3 MB, free: 8.707 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.546e-05/0.121, allocations: 8 kB / 338.3 MB, free: 8.699 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.729e-05/0.121, allocations: 15.92 kB / 338.3 MB, free: 8.684 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.724e-05/0.121, allocations: 19.98 kB / 338.4 MB, free: 8.664 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.141e-05/0.1211, allocations: 87.22 kB / 338.4 MB, free: 8.578 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1211, allocations: 0 / 338.4 MB, free: 8.578 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003895/0.1215, allocations: 88 kB / 338.5 MB, free: 8.492 MB / 286.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 ($whenCondition1,rImpure,iImpure,$whenCondition2,$outputAlias_r64,$outputAlias_r128,$outputAlias_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]) * Number of discrete states: 46 ($outputAlias_r1024,$outputAlias_r128,$outputAlias_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,iImpure,rImpure,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.002265/0.1238, allocations: 2.315 MB / 340.8 MB, free: 6.148 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001759/0.1255, allocations: 2.152 MB / 343 MB, free: 3.969 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1255, allocations: 0 / 343 MB, free: 3.969 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00169/0.1272, allocations: 2.197 MB / 345.2 MB, free: 1.746 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.1275, allocations: 16.12 kB / 345.2 MB, free: 1.73 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003485/0.131, allocations: 3.343 MB / 348.5 MB, free: 14.27 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/0.1314, allocations: 0.7241 MB / 349.3 MB, free: 13.52 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.512e-05/0.1314, allocations: 0 / 349.3 MB, free: 13.52 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.741e-05/0.1314, allocations: 35.42 kB / 349.3 MB, free: 13.49 MB / 302.1 MB Notification: Performance of SimCode: time 8.11e-07/0.1315, allocations: 0 / 349.3 MB, free: 13.49 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01585/0.1473, allocations: 4.654 MB / 354 MB, free: 8.812 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002622/0.1476, allocations: 237.2 kB / 354.2 MB, free: 8.562 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.879/2.027, allocations: 3.938 kB / 354.2 MB, free: 8.559 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Math_Random_Examples_GenerateRandomNumbers_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Math_Random_Examples_GenerateRandomNumbers.fmu > 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","../files/Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches