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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007992/0.0007992, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003136/0.003136, allocations: 166.4 kB / 24.7 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8976/0.8976, allocations: 158.6 MB / 186.5 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 298.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.448e-05/2.638e-05, allocations: 2.281 kB / 298.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.00215/0.002177, allocations: 1.233 MB / 299.7 MB, free: 2.262 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008951/0.003072, allocations: 447 kB / 300.1 MB, free: 1.824 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.134e-05/0.003113, allocations: 0 / 300.1 MB, free: 1.824 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.805e-05/0.003161, allocations: 3.938 kB / 300.1 MB, free: 1.82 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006372/0.003798, allocations: 79.7 kB / 300.2 MB, free: 1.742 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001718/0.00397, allocations: 63.69 kB / 300.3 MB, free: 1.68 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.004082, allocations: 47.84 kB / 300.3 MB, free: 1.633 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.643e-05/0.004139, allocations: 3.984 kB / 300.3 MB, free: 1.629 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.573e-05/0.004194, allocations: 23.97 kB / 300.3 MB, free: 1.605 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.499e-05/0.004229, allocations: 15.92 kB / 300.3 MB, free: 1.59 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.004243, allocations: 4 kB / 300.3 MB, free: 1.586 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002332/0.004476, allocations: 159.6 kB / 300.5 MB, free: 1.43 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.779e-05/0.004524, allocations: 35.91 kB / 300.5 MB, free: 1.395 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.702e-05/0.004571, allocations: 31.88 kB / 300.6 MB, free: 1.363 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000243/0.004814, allocations: 183.5 kB / 300.8 MB, free: 1.184 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.004819, allocations: 3.984 kB / 300.8 MB, free: 1.18 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.004822, allocations: 0 / 300.8 MB, free: 1.18 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.004827, allocations: 0 / 300.8 MB, free: 1.18 MB / 282.7 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.0005122/0.005339, allocations: 488.7 kB / 301.2 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.005387, allocations: 11.98 kB / 301.2 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.166e-05/0.005458, allocations: 70.53 kB / 301.3 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.005572, allocations: 20.84 kB / 301.3 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.698e-05/0.005669, allocations: 125.6 kB / 301.5 MB, free: 408 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.005681, allocations: 384 / 301.5 MB, free: 408 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.005694, allocations: 8.375 kB / 301.5 MB, free: 400 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1463/0.152, allocations: 399.3 kB / 301.9 MB, free: 14.07 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.471e-05/0.152, allocations: 192 / 301.9 MB, free: 14.07 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.415e-05/0.152, allocations: 2.375 kB / 301.9 MB, free: 14.07 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.152, allocations: 3.5 kB / 301.9 MB, free: 14.07 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002906/0.1523, allocations: 266.5 kB / 302.1 MB, free: 14.01 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003715/0.1527, allocations: 348.6 kB / 302.5 MB, free: 13.7 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002522/0.1529, allocations: 313 kB / 302.8 MB, free: 13.59 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002057/0.1531, allocations: 280.7 kB / 303 MB, free: 13.51 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.1532, allocations: 2.609 kB / 303 MB, free: 13.51 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005299/0.1537, allocations: 0.584 MB / 303.6 MB, free: 13.25 MB / 282.7 MB Notification: Performance of pre-optimization done (n=49): time 2.355e-06/0.1537, allocations: 0 / 303.6 MB, free: 13.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=49): time 0.0009233/0.1546, allocations: 0.9909 MB / 304.6 MB, free: 13.02 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/0.1547, allocations: 160.2 kB / 304.8 MB, free: 12.87 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.404e-05/0.1547, allocations: 103.1 kB / 304.9 MB, free: 12.77 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.205e-06/0.1548, allocations: 29 kB / 304.9 MB, free: 12.74 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.911e-05/0.1548, allocations: 82.73 kB / 305 MB, free: 12.66 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.038e-05/0.1548, allocations: 98.81 kB / 305.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.225e-05/0.1549, allocations: 40.98 kB / 305.1 MB, free: 12.59 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.531e-05/0.1549, allocations: 336 kB / 305.4 MB, free: 12.27 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/0.1551, allocations: 204.6 kB / 305.6 MB, free: 12.21 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.1552, allocations: 236 kB / 305.9 MB, free: 12.08 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003118/0.1555, allocations: 485.8 kB / 306.4 MB, free: 11.82 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1555, allocations: 0 / 306.4 MB, free: 11.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0003703/0.1559, allocations: 0.5078 MB / 306.9 MB, free: 11.54 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.696e-05/0.156, allocations: 113.8 kB / 307 MB, free: 11.47 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.156, allocations: 0 / 307 MB, free: 11.47 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.156, allocations: 1.438 kB / 307 MB, free: 11.47 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.982e-05/0.1561, allocations: 5.047 kB / 307 MB, free: 11.47 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.1561, allocations: 1.625 kB / 307 MB, free: 11.47 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.743e-05/0.1561, allocations: 29.23 kB / 307 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.1561, allocations: 8.938 kB / 307 MB, free: 11.46 MB / 282.7 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 (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.0001928/0.1563, allocations: 284.8 kB / 307.3 MB, free: 11.27 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.468e-05/0.1564, allocations: 29.91 kB / 307.3 MB, free: 11.26 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.245e-05/0.1564, allocations: 10.31 kB / 307.3 MB, free: 11.25 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.1564, allocations: 2.391 kB / 307.3 MB, free: 11.25 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1564, allocations: 1.625 kB / 307.3 MB, free: 11.25 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1564, allocations: 3.516 kB / 307.3 MB, free: 11.25 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007523/0.1571, allocations: 1.027 MB / 308.4 MB, free: 10.71 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1571, allocations: 2.094 kB / 308.4 MB, free: 10.71 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.406e-05/0.1572, allocations: 3.641 kB / 308.4 MB, free: 10.71 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.1572, allocations: 1.125 kB / 308.4 MB, free: 10.71 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.598e-05/0.1572, allocations: 19.48 kB / 308.4 MB, free: 10.71 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.1572, allocations: 8.531 kB / 308.4 MB, free: 10.71 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1572, allocations: 5.25 kB / 308.4 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007041/0.1579, allocations: 0.9663 MB / 309.4 MB, free: 10.23 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.988e-05/0.1579, allocations: 21.52 kB / 309.4 MB, free: 10.21 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.872e-05/0.158, allocations: 67.2 kB / 309.5 MB, free: 10.21 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.599e-05/0.1581, allocations: 9.016 kB / 309.5 MB, free: 10.21 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.743e-05/0.1581, allocations: 17.02 kB / 309.5 MB, free: 10.2 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.18e-05/0.1581, allocations: 22.03 kB / 309.5 MB, free: 10.2 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.267e-05/0.1582, allocations: 83.77 kB / 309.6 MB, free: 10.12 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1582, allocations: 0 / 309.6 MB, free: 10.12 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003096/0.1585, allocations: 90.64 kB / 309.7 MB, free: 10.12 MB / 282.7 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,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]) * Number of discrete states: 43 (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.001626/0.1601, allocations: 2.135 MB / 311.8 MB, free: 8.898 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006536/0.1607, allocations: 0.8724 MB / 312.7 MB, free: 8.484 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1607, allocations: 1.25 kB / 312.7 MB, free: 8.484 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003415/0.1611, allocations: 0.5347 MB / 313.2 MB, free: 8.207 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.1613, allocations: 26.97 kB / 313.2 MB, free: 8.203 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002623/0.1639, allocations: 3.555 MB / 316.8 MB, free: 6.035 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.184e-05/0.164, allocations: 114.1 kB / 316.9 MB, free: 5.957 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.633e-05/0.164, allocations: 2.203 kB / 316.9 MB, free: 5.957 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.084e-05/0.1641, allocations: 37.27 kB / 317 MB, free: 5.926 MB / 282.7 MB Notification: Performance of SimCode: time 1.453e-06/0.1641, allocations: 0 / 317 MB, free: 5.926 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02308/0.1872, allocations: 5.583 MB / 322.5 MB, free: 3.926 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.092/7.28, allocations: 9.078 kB / 322.5 MB, free: 3.918 MB / 282.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000396747 Modelica_3_2_3_Modelica_Math_Random_Examples_GenerateRandomNumbers.fmu > Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Math/Random/Examples/GenerateRandomNumbers/GenerateRandomNumbers.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,r1024,r128,r64 Variables in the result:time,r1024,r128,r64 [Calling sys.exit(0), Time elapsed: 9.051350600086153]