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.001311/0.001311, allocations: 114.5 kB / 17.73 MB, free: 5.312 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.001182/0.001182, allocations: 187 kB / 18.67 MB, free: 4.387 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.425/1.425, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001655/0.001655, allocations: 55.92 kB / 328 MB, free: 3.793 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08921/0.09088, allocations: 46.62 MB / 374.7 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002407/0.09333, allocations: 1.237 MB / 375.9 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009456/0.0943, allocations: 458.2 kB / 376.3 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.957e-05/0.09435, allocations: 4 kB / 376.3 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.691e-05/0.09441, allocations: 4 kB / 376.3 MB, free: 3.359 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004079/0.09483, allocations: 67.73 kB / 376.4 MB, free: 3.293 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001536/0.09499, allocations: 75.73 kB / 376.5 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000105/0.09511, allocations: 43.91 kB / 376.5 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.272e-05/0.09515, allocations: 0 / 376.5 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.414e-05/0.0952, allocations: 27.91 kB / 376.6 MB, free: 3.148 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.296e-05/0.09524, allocations: 15.92 kB / 376.6 MB, free: 3.133 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.09525, allocations: 4 kB / 376.6 MB, free: 3.129 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002217/0.09548, allocations: 119.8 kB / 376.7 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.9e-05/0.09554, allocations: 39.86 kB / 376.7 MB, free: 2.973 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.616e-05/0.09561, allocations: 43.67 kB / 376.8 MB, free: 2.93 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002485/0.09587, allocations: 175.3 kB / 376.9 MB, free: 2.758 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.09588, allocations: 0 / 376.9 MB, free: 2.758 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.09589, allocations: 0 / 376.9 MB, free: 2.758 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.0959, allocations: 4 kB / 376.9 MB, free: 2.754 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.0006472/0.09655, allocations: 0.5721 MB / 377.5 MB, free: 2.117 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.0966, allocations: 8.031 kB / 377.5 MB, free: 2.109 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.829e-05/0.09667, allocations: 54.62 kB / 377.6 MB, free: 2.047 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001234/0.0968, allocations: 28.83 kB / 377.6 MB, free: 2.02 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.09698, allocations: 180.2 kB / 377.8 MB, free: 1.805 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.097, allocations: 4.375 kB / 377.8 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.09702, allocations: 4.375 kB / 377.8 MB, free: 1.797 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003407/0.09736, allocations: 282.9 kB / 378.1 MB, free: 1.508 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.09738, allocations: 3.938 kB / 378.1 MB, free: 1.504 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.0974, allocations: 4 kB / 378.1 MB, free: 1.5 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.09741, allocations: 0 / 378.1 MB, free: 1.5 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001695/0.09759, allocations: 152.2 kB / 378.2 MB, free: 1.348 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003805/0.09798, allocations: 381.6 kB / 378.6 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004659/0.09845, allocations: 0.5092 MB / 379.1 MB, free: 404 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1578/0.2562, allocations: 477.1 kB / 379.6 MB, free: 12.94 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.2563, allocations: 1.203 kB / 379.6 MB, free: 12.94 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000494/0.2568, allocations: 490.8 kB / 380.1 MB, free: 12.75 MB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 1.563e-06/0.2568, allocations: 0 / 380.1 MB, free: 12.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=49): time 0.0007939/0.2576, allocations: 0.7312 MB / 380.8 MB, free: 12.65 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.758e-05/0.2577, allocations: 163.9 kB / 380.9 MB, free: 12.49 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.862e-05/0.2577, allocations: 101.1 kB / 381 MB, free: 12.39 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.2578, allocations: 27.95 kB / 381.1 MB, free: 12.36 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.12e-05/0.2578, allocations: 86.25 kB / 381.2 MB, free: 12.28 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.819e-05/0.2578, allocations: 96.78 kB / 381.3 MB, free: 12.24 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.83e-05/0.2579, allocations: 43.98 kB / 381.3 MB, free: 12.22 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.849e-05/0.258, allocations: 332.8 kB / 381.6 MB, free: 11.91 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.997e-05/0.2581, allocations: 85.02 kB / 381.7 MB, free: 11.91 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.2582, allocations: 118.1 kB / 381.8 MB, free: 11.89 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004412/0.2587, allocations: 439.8 kB / 382.2 MB, free: 11.74 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.2587, allocations: 5.281 kB / 382.3 MB, free: 11.74 MB / 318.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000337/0.259, allocations: 370.2 kB / 382.6 MB, free: 11.62 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.259e-05/0.2591, allocations: 107.5 kB / 382.7 MB, free: 11.56 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.2591, allocations: 1.188 kB / 382.7 MB, free: 11.56 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.2592, allocations: 1.125 kB / 382.7 MB, free: 11.56 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.723e-05/0.2592, allocations: 10.44 kB / 382.7 MB, free: 11.56 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.2592, allocations: 1.188 kB / 382.7 MB, free: 11.56 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.785e-05/0.2593, allocations: 28.28 kB / 382.8 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.966e-05/0.2593, allocations: 16.19 kB / 382.8 MB, free: 11.55 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],$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.0002176/0.2596, allocations: 306.4 kB / 383.1 MB, free: 11.35 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.569e-05/0.2596, allocations: 25.69 kB / 383.1 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.83e-05/0.2596, allocations: 7.984 kB / 383.1 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.2596, allocations: 1.625 kB / 383.1 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.2597, allocations: 0.7031 kB / 383.1 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2597, allocations: 4.25 kB / 383.1 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001234/0.2609, allocations: 1.438 MB / 384.6 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.2609, allocations: 1.062 kB / 384.6 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.243e-05/0.2609, allocations: 4.594 kB / 384.6 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.261, allocations: 5.75 kB / 384.6 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.15e-05/0.261, allocations: 21.97 kB / 384.6 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.261, allocations: 1.094 kB / 384.6 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.261, allocations: 0 / 384.6 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/0.2622, allocations: 1.31 MB / 385.9 MB, free: 10.29 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.087e-05/0.2623, allocations: 99.28 kB / 386 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.2624, allocations: 69 kB / 386.1 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.171e-05/0.2625, allocations: 9.531 kB / 386.1 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.204e-05/0.2626, allocations: 12.16 kB / 386.1 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.141e-05/0.2626, allocations: 23.23 kB / 386.1 MB, free: 10.17 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.099e-05/0.2626, allocations: 84.34 kB / 386.2 MB, free: 10.09 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2626, allocations: 3.031 kB / 386.2 MB, free: 10.09 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003942/0.263, allocations: 90.38 kB / 386.3 MB, free: 10.09 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 ($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.002301/0.2654, allocations: 2.321 MB / 388.6 MB, free: 8.984 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001562/0.2669, allocations: 2.142 MB / 390.7 MB, free: 7.793 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.267, allocations: 0 / 390.7 MB, free: 7.793 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001267/0.2682, allocations: 2.186 MB / 392.9 MB, free: 6.469 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/0.2685, allocations: 27.44 kB / 393 MB, free: 6.461 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00309/0.2716, allocations: 3.331 MB / 396.3 MB, free: 4.656 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001504/0.2718, allocations: 0.7273 MB / 397 MB, free: 3.961 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.506e-05/0.2718, allocations: 0.9062 kB / 397 MB, free: 3.961 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.956e-05/0.2718, allocations: 35.75 kB / 397 MB, free: 3.93 MB / 318.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2719, allocations: 1.281 kB / 397 MB, free: 3.93 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02612/0.298, allocations: 4.764 MB / 401.8 MB, free: 2.711 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.869/8.167, allocations: 24.78 kB / 401.8 MB, free: 2.688 MB / 318.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","/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