Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.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.001329/0.001329, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 14.72 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.001437/0.001437, allocations: 215.3 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.418/1.418, allocations: 230.6 MB / 257.5 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Clocked.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 47.92 kB / 377.8 MB, free: 3.129 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.2658, allocations: 53.38 MB / 431.2 MB, free: 6.84 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002858/0.2686, allocations: 0.8932 MB / 432 MB, free: 5.953 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006572/0.2693, allocations: 255.1 kB / 432.3 MB, free: 5.703 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.674e-05/0.2694, allocations: 3.938 kB / 432.3 MB, free: 5.699 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.24e-05/0.2695, allocations: 3.938 kB / 432.3 MB, free: 5.695 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001662/0.2696, allocations: 15.91 kB / 432.3 MB, free: 5.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004677/0.2701, allocations: 99.66 kB / 432.4 MB, free: 5.582 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.2702, allocations: 47.84 kB / 432.5 MB, free: 5.535 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.995e-05/0.2703, allocations: 19.98 kB / 432.5 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.452e-05/0.2704, allocations: 15.92 kB / 432.5 MB, free: 5.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.215e-05/0.2704, allocations: 27.86 kB / 432.5 MB, free: 5.473 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.2705, allocations: 0 / 432.5 MB, free: 5.473 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.713e-05/0.2706, allocations: 39.91 kB / 432.6 MB, free: 5.434 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.614e-05/0.2706, allocations: 23.92 kB / 432.6 MB, free: 5.41 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.482e-05/0.2707, allocations: 31.78 kB / 432.6 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002651/0.2709, allocations: 95.98 kB / 432.7 MB, free: 5.289 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2709, allocations: 0 / 432.7 MB, free: 5.289 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2709, allocations: 4 kB / 432.7 MB, free: 5.285 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.2709, allocations: 4 kB / 432.7 MB, free: 5.281 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005214/0.2715, allocations: 305.9 kB / 433 MB, free: 4.949 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.2715, allocations: 12.03 kB / 433 MB, free: 4.938 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.566e-05/0.2716, allocations: 34.75 kB / 433.1 MB, free: 4.895 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.54e-05/0.2716, allocations: 8.891 kB / 433.1 MB, free: 4.887 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002743/0.2719, allocations: 146.2 kB / 433.2 MB, free: 4.719 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.2719, allocations: 4.375 kB / 433.2 MB, free: 4.715 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.2719, allocations: 12.38 kB / 433.2 MB, free: 4.703 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003795/0.2723, allocations: 149.5 kB / 433.4 MB, free: 4.539 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.2723, allocations: 3.938 kB / 433.4 MB, free: 4.535 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.2723, allocations: 0 / 433.4 MB, free: 4.535 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.2723, allocations: 4 kB / 433.4 MB, free: 4.531 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.868e-05/0.2724, allocations: 19.98 kB / 433.4 MB, free: 4.512 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003439/0.2727, allocations: 244.8 kB / 433.6 MB, free: 4.227 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.625e-05/0.2728, allocations: 42.5 kB / 433.7 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.308e-05/0.2728, allocations: 24.89 kB / 433.7 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004199/0.2733, allocations: 55.94 kB / 433.8 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.2733, allocations: 34.56 kB / 433.8 MB, free: 4.051 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.2733, allocations: 0 / 433.8 MB, free: 4.051 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002184/0.2735, allocations: 85.58 kB / 433.9 MB, free: 3.961 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.643e-05/0.2736, allocations: 59.39 kB / 433.9 MB, free: 3.891 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.2737, allocations: 151.7 kB / 434.1 MB, free: 3.734 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.2737, allocations: 25.7 kB / 434.1 MB, free: 3.703 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.533e-05/0.2738, allocations: 92.12 kB / 434.2 MB, free: 3.609 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.2738, allocations: 19.83 kB / 434.2 MB, free: 3.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.311e-05/0.2738, allocations: 25.66 kB / 434.2 MB, free: 3.559 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.274, allocations: 322.8 kB / 434.6 MB, free: 3.234 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.842e-05/0.274, allocations: 23.98 kB / 434.6 MB, free: 3.211 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.89e-05/0.2741, allocations: 58 kB / 434.6 MB, free: 3.133 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.798e-05/0.2742, allocations: 85.86 kB / 434.7 MB, free: 3.027 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2742, allocations: 4 kB / 434.7 MB, free: 3.023 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001673/0.2744, allocations: 105.5 kB / 434.8 MB, free: 2.914 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.2744, allocations: 4 kB / 434.8 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.2744, allocations: 4 kB / 434.8 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.2744, allocations: 4.219 kB / 434.8 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.2745, allocations: 31.92 kB / 434.9 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.2745, allocations: 0 / 434.9 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.805e-05/0.2745, allocations: 4 kB / 434.9 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.2746, allocations: 7.938 kB / 434.9 MB, free: 2.859 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 ($CLKPRE.uniformNoise.seedState[3],uniformNoise.seedState[3],$CLKPRE.uniformNoise.seedState[2],uniformNoise.seedState[2],$CLKPRE.uniformNoise.seedState[1],uniformNoise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 3 (uniformNoise.seedState[3],uniformNoise.seedState[2],uniformNoise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.0001246/0.2747, allocations: 135.4 kB / 435 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.2748, allocations: 69.66 kB / 435.1 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000159/0.2749, allocations: 86.69 kB / 435.2 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.2749, allocations: 12.03 kB / 435.2 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.275, allocations: 0 / 435.2 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.275, allocations: 0 / 435.2 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.2751, allocations: 156.5 kB / 435.3 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.2751, allocations: 0 / 435.3 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.406e-05/0.2751, allocations: 4 kB / 435.3 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.2751, allocations: 3.938 kB / 435.3 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.2751, allocations: 4 kB / 435.3 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2751, allocations: 0 / 435.3 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2751, allocations: 0 / 435.3 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001411/0.2753, allocations: 105 kB / 435.5 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.424e-05/0.2753, allocations: 19.94 kB / 435.5 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.2753, allocations: 8 kB / 435.5 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.3e-05/0.2754, allocations: 0 / 435.5 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.455e-06/0.2754, allocations: 0 / 435.5 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.2754, allocations: 4 kB / 435.5 MB, free: 2.18 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.764e-05/0.2755, allocations: 117.1 kB / 435.6 MB, free: 2.066 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2755, allocations: 0 / 435.6 MB, free: 2.066 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002192/0.2757, allocations: 19.94 kB / 435.6 MB, free: 2.047 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (uniformNoise.seedState[1],uniformNoise.seedState[2],uniformNoise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 3 (uniformNoise.seedState[1],uniformNoise.seedState[2],uniformNoise.seedState[3]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0005704/0.2763, allocations: 0.6709 MB / 436.3 MB, free: 1.348 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001479/0.2764, allocations: 59.94 kB / 436.3 MB, free: 1.289 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2764, allocations: 448 / 436.3 MB, free: 1.289 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.2764, allocations: 0 / 436.3 MB, free: 1.289 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.2768, allocations: 89.56 kB / 436.4 MB, free: 1.195 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001441/0.2782, allocations: 1.462 MB / 437.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.2786, allocations: 0.6963 MB / 438.6 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.91e-05/0.2786, allocations: 8.656 kB / 438.6 MB, free: 14.88 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.994e-05/0.2786, allocations: 27.38 kB / 438.6 MB, free: 14.86 MB / 350.1 MB Notification: Performance of SimCode: time 3.9e-07/0.2786, allocations: 4 kB / 438.6 MB, free: 14.85 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02909/0.3077, allocations: 2.768 MB / 441.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.29, allocations: 14.52 kB / 441.4 MB, free: 12.21 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000215433 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,sample1.y,uniformNoise.y Variables in the result:time,sample1.y,uniformNoise.u,uniformNoise.y,const.k,const.y [Calling sys.exit(0), Time elapsed: 13.783172252999066]