Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001305/0.001306, allocations: 178.1 kB / 17.36 MB, free: 4.445 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.416/1.416, allocations: 205.6 MB / 223.7 MB, free: 8.941 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000756/0.000756, allocations: 94.34 kB / 272.1 MB, free: 8.121 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002603/0.0002605, allocations: 8 kB / 329 MB, free: 15.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2344, allocations: 47.58 MB / 376.6 MB, free: 45.58 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.001152/0.2356, allocations: 0.9579 MB / 377.6 MB, free: 44.81 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001014/0.2366, allocations: 1.061 MB / 378.6 MB, free: 43.73 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.513e-05/0.2367, allocations: 0 / 378.6 MB, free: 43.73 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.318e-05/0.2367, allocations: 0.9375 kB / 378.6 MB, free: 43.73 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000409/0.2371, allocations: 58.22 kB / 378.7 MB, free: 43.69 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001515/0.2373, allocations: 52.42 kB / 378.7 MB, free: 43.65 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.297e-05/0.2374, allocations: 38.33 kB / 378.8 MB, free: 43.63 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.43e-05/0.2374, allocations: 2.438 kB / 378.8 MB, free: 43.63 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.46e-05/0.2375, allocations: 20.23 kB / 378.8 MB, free: 43.62 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.646e-05/0.2375, allocations: 19.86 kB / 378.8 MB, free: 43.61 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.2375, allocations: 1.125 kB / 378.8 MB, free: 43.61 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002216/0.2377, allocations: 117.1 kB / 378.9 MB, free: 43.55 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.824e-05/0.2378, allocations: 30.48 kB / 378.9 MB, free: 43.54 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.406e-05/0.2379, allocations: 80.7 kB / 379 MB, free: 43.47 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002703/0.2382, allocations: 169.2 kB / 379.2 MB, free: 43.38 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.2382, allocations: 0 / 379.2 MB, free: 43.38 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.2382, allocations: 0 / 379.2 MB, free: 43.38 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.2382, allocations: 4.969 kB / 379.2 MB, free: 43.37 MB / 298.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.0004762/0.2387, allocations: 0.5493 MB / 379.7 MB, free: 42.85 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.2387, allocations: 9.406 kB / 379.8 MB, free: 42.85 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001569/0.2389, allocations: 24.31 kB / 379.8 MB, free: 42.84 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.239, allocations: 184.8 kB / 380 MB, free: 42.62 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.239, allocations: 2.812 kB / 380 MB, free: 42.62 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.239, allocations: 4.531 kB / 380 MB, free: 42.62 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000278/0.2393, allocations: 281.1 kB / 380.2 MB, free: 42.48 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.2394, allocations: 1.844 kB / 380.2 MB, free: 42.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.2394, allocations: 5.219 kB / 380.2 MB, free: 42.48 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.2394, allocations: 1.594 kB / 380.2 MB, free: 42.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001431/0.2395, allocations: 158.5 kB / 380.4 MB, free: 42.41 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001456/0.2397, allocations: 200.8 kB / 380.6 MB, free: 42.18 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003004/0.24, allocations: 490.2 kB / 381.1 MB, free: 41.82 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002632/0.2403, allocations: 476.5 kB / 381.5 MB, free: 41.49 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.574e-06/0.2403, allocations: 0 / 381.5 MB, free: 41.49 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004085/0.2407, allocations: 482.3 kB / 382 MB, free: 41.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=46): time 1.262e-06/0.2407, allocations: 0 / 382 MB, free: 41.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=46): time 0.0007221/0.2414, allocations: 0.7081 MB / 382.7 MB, free: 40.87 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/0.2415, allocations: 166.6 kB / 382.9 MB, free: 40.7 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.893e-05/0.2416, allocations: 99.39 kB / 383 MB, free: 40.6 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.2416, allocations: 26.77 kB / 383 MB, free: 40.57 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.057e-05/0.2416, allocations: 86.23 kB / 383.1 MB, free: 40.48 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.846e-05/0.2417, allocations: 86.83 kB / 383.2 MB, free: 40.41 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.688e-06/0.2417, allocations: 1.219 kB / 383.2 MB, free: 40.41 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.139e-05/0.2417, allocations: 327.5 kB / 383.5 MB, free: 40.09 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.253e-05/0.2418, allocations: 84.25 kB / 383.6 MB, free: 40.05 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.294e-05/0.2419, allocations: 108.9 kB / 383.7 MB, free: 39.99 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002802/0.2422, allocations: 412 kB / 384.1 MB, free: 39.73 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2422, allocations: 4.031 kB / 384.1 MB, free: 39.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002987/0.2425, allocations: 347.3 kB / 384.4 MB, free: 39.53 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.985e-05/0.2426, allocations: 111.2 kB / 384.5 MB, free: 39.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.2426, allocations: 0 / 384.5 MB, free: 39.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.2426, allocations: 0.9062 kB / 384.5 MB, free: 39.44 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.463e-06/0.2426, allocations: 1.25 kB / 384.5 MB, free: 39.44 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.2426, allocations: 0 / 384.5 MB, free: 39.44 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.942e-05/0.2427, allocations: 22.5 kB / 384.6 MB, free: 39.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.2427, allocations: 8.188 kB / 384.6 MB, free: 39.43 MB / 298.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 ($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: 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.0002157/0.2429, allocations: 301 kB / 384.9 MB, free: 39.19 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.895e-05/0.243, allocations: 29.16 kB / 384.9 MB, free: 39.18 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.114e-05/0.243, allocations: 7.125 kB / 384.9 MB, free: 39.17 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.243, allocations: 5.156 kB / 384.9 MB, free: 39.17 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.243, allocations: 0 / 384.9 MB, free: 39.17 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.243, allocations: 1.125 kB / 384.9 MB, free: 39.17 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001262/0.2432, allocations: 238.9 kB / 385.1 MB, free: 38.92 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2432, allocations: 1.438 kB / 385.1 MB, free: 38.92 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.663e-06/0.2432, allocations: 3.938 kB / 385.1 MB, free: 38.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.2432, allocations: 9.156 kB / 385.2 MB, free: 38.91 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.803e-05/0.2432, allocations: 14.83 kB / 385.2 MB, free: 38.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2432, allocations: 1.125 kB / 385.2 MB, free: 38.9 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.2432, allocations: 1 kB / 385.2 MB, free: 38.9 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.2443, allocations: 1.235 MB / 386.4 MB, free: 38.05 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.52e-05/0.2444, allocations: 97.12 kB / 386.5 MB, free: 37.94 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.194e-05/0.2445, allocations: 71.88 kB / 386.6 MB, free: 37.87 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.206e-05/0.2445, allocations: 8 kB / 386.6 MB, free: 37.86 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.716e-05/0.2446, allocations: 11.98 kB / 386.6 MB, free: 37.85 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.269e-05/0.2446, allocations: 19.98 kB / 386.6 MB, free: 37.83 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.282e-05/0.2446, allocations: 83.27 kB / 386.7 MB, free: 37.75 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2446, allocations: 4.031 kB / 386.7 MB, free: 37.74 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003047/0.2449, allocations: 91.98 kB / 386.8 MB, free: 37.65 MB / 298.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 ($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.0004896/0.2454, allocations: 326.5 kB / 387.1 MB, free: 37.37 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001088/0.2465, allocations: 2.119 MB / 389.2 MB, free: 35.22 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.2466, allocations: 0 / 389.2 MB, free: 35.22 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009459/0.2475, allocations: 2.186 MB / 391.4 MB, free: 33.01 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000194/0.2477, allocations: 28.16 kB / 391.4 MB, free: 32.98 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005078/0.2482, allocations: 423.7 kB / 391.8 MB, free: 32.54 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001557/0.2484, allocations: 0.7208 MB / 392.6 MB, free: 31.79 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.758e-06/0.2484, allocations: 4 kB / 392.6 MB, free: 31.79 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.768e-06/0.2484, allocations: 7.438 kB / 392.6 MB, free: 31.78 MB / 298.7 MB Notification: Performance of SimCode: time 6.31e-07/0.2484, allocations: 0 / 392.6 MB, free: 31.78 MB / 298.7 MB Notification: Performance of Templates: time 0.004863/0.2533, allocations: 2.81 MB / 395.4 MB, free: 28.97 MB / 298.7 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/jenkins/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