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.001826/0.001826, allocations: 111.1 kB / 20.44 MB, free: 1.344 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.002194/0.002194, allocations: 214.6 kB / 23.73 MB, free: 4.523 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.539/1.539, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.002424/0.002424, allocations: 47.92 kB / 377.7 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2783, allocations: 53.36 MB / 431.1 MB, free: 6.629 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002472/0.2808, allocations: 0.8932 MB / 432 MB, free: 5.742 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006429/0.2814, allocations: 239.2 kB / 432.2 MB, free: 5.508 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.684e-05/0.2815, allocations: 3.938 kB / 432.2 MB, free: 5.504 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.381e-05/0.2816, allocations: 3.938 kB / 432.2 MB, free: 5.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001487/0.2817, allocations: 15.92 kB / 432.2 MB, free: 5.484 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004293/0.2821, allocations: 103.7 kB / 432.3 MB, free: 5.383 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001314/0.2823, allocations: 39.86 kB / 432.4 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.2824, allocations: 15.98 kB / 432.4 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.586e-05/0.2824, allocations: 19.92 kB / 432.4 MB, free: 5.309 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.819e-05/0.2825, allocations: 15.91 kB / 432.4 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.2825, allocations: 4 kB / 432.4 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.2826, allocations: 39.97 kB / 432.5 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.863e-05/0.2827, allocations: 23.86 kB / 432.5 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.946e-05/0.2827, allocations: 27.8 kB / 432.5 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002146/0.2829, allocations: 101.3 kB / 432.6 MB, free: 5.102 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2829, allocations: 0 / 432.6 MB, free: 5.102 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2829, allocations: 4 kB / 432.6 MB, free: 5.098 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.283, allocations: 0 / 432.6 MB, free: 5.098 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.0005538/0.2835, allocations: 309.9 kB / 432.9 MB, free: 4.762 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.2836, allocations: 12.03 kB / 432.9 MB, free: 4.75 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.329e-05/0.2836, allocations: 34.75 kB / 433 MB, free: 4.707 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.211e-05/0.2836, allocations: 12.83 kB / 433 MB, free: 4.695 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002622/0.2839, allocations: 146.3 kB / 433.1 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.2839, allocations: 4.375 kB / 433.1 MB, free: 4.523 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.2839, allocations: 8.375 kB / 433.1 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003191/0.2842, allocations: 145.5 kB / 433.3 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.2843, allocations: 11.88 kB / 433.3 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.2843, allocations: 0 / 433.3 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.2843, allocations: 0 / 433.3 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.854e-05/0.2843, allocations: 19.98 kB / 433.3 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003034/0.2846, allocations: 236.8 kB / 433.5 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.89e-05/0.2847, allocations: 46.5 kB / 433.6 MB, free: 3.992 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.977e-05/0.2848, allocations: 20.86 kB / 433.6 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004023/0.2852, allocations: 59.97 kB / 433.7 MB, free: 3.91 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.2852, allocations: 30.56 kB / 433.7 MB, free: 3.871 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.2852, allocations: 4 kB / 433.7 MB, free: 3.867 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002074/0.2854, allocations: 85.7 kB / 433.8 MB, free: 3.777 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/0.2854, allocations: 63.34 kB / 433.9 MB, free: 3.703 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.2856, allocations: 151.8 kB / 434 MB, free: 3.547 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.2856, allocations: 29.7 kB / 434 MB, free: 3.512 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.313e-05/0.2857, allocations: 84.14 kB / 434.1 MB, free: 3.426 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.013e-05/0.2857, allocations: 15.94 kB / 434.1 MB, free: 3.41 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.164e-05/0.2858, allocations: 21.72 kB / 434.1 MB, free: 3.383 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.2859, allocations: 322.8 kB / 434.5 MB, free: 3.059 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.542e-05/0.286, allocations: 19.98 kB / 434.5 MB, free: 3.039 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.919e-05/0.286, allocations: 62 kB / 434.5 MB, free: 2.957 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001021/0.2861, allocations: 81.88 kB / 434.6 MB, free: 2.855 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.2861, allocations: 7.938 kB / 434.6 MB, free: 2.848 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001696/0.2863, allocations: 113.6 kB / 434.7 MB, free: 2.73 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.2863, allocations: 4 kB / 434.7 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.2863, allocations: 4 kB / 434.7 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.2863, allocations: 240 / 434.7 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.914e-05/0.2864, allocations: 23.92 kB / 434.8 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.2864, allocations: 3.938 kB / 434.8 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.1e-05/0.2865, allocations: 11.95 kB / 434.8 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.2865, allocations: 11.92 kB / 434.8 MB, free: 2.672 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.0001309/0.2866, allocations: 125.8 kB / 434.9 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.2867, allocations: 73.64 kB / 435 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001649/0.2869, allocations: 86.38 kB / 435.1 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.2869, allocations: 4 kB / 435.1 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.2869, allocations: 0 / 435.1 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.2869, allocations: 0 / 435.1 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.2871, allocations: 148.6 kB / 435.2 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/0.2871, allocations: 4 kB / 435.2 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.393e-05/0.2871, allocations: 4 kB / 435.2 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-06/0.2871, allocations: 0 / 435.2 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.2871, allocations: 0 / 435.2 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.2871, allocations: 7.938 kB / 435.2 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2871, allocations: 4 kB / 435.2 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001507/0.2873, allocations: 101 kB / 435.3 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.258e-05/0.2873, allocations: 31.86 kB / 435.4 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.2873, allocations: 0 / 435.4 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.17e-05/0.2874, allocations: 0 / 435.4 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.651e-06/0.2874, allocations: 4 kB / 435.4 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.2874, allocations: 0 / 435.4 MB, free: 2.004 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001014/0.2875, allocations: 120.7 kB / 435.5 MB, free: 1.887 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2875, allocations: 0 / 435.5 MB, free: 1.887 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002135/0.2877, allocations: 16 kB / 435.5 MB, free: 1.871 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.0006901/0.2884, allocations: 0.679 MB / 436.2 MB, free: 1.164 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001471/0.2885, allocations: 47.91 kB / 436.2 MB, free: 1.117 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2885, allocations: 4 kB / 436.2 MB, free: 1.113 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.2885, allocations: 0 / 436.2 MB, free: 1.113 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004161/0.2889, allocations: 89.5 kB / 436.3 MB, free: 1.02 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.2905, allocations: 1.466 MB / 437.8 MB, free: 15.44 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.332e-05/0.2906, allocations: 87.31 kB / 437.9 MB, free: 15.33 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.228e-05/0.2907, allocations: 8.656 kB / 437.9 MB, free: 15.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.451e-05/0.2907, allocations: 19.44 kB / 437.9 MB, free: 15.3 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.2907, allocations: 0 / 437.9 MB, free: 15.3 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03065/0.3214, allocations: 3.207 MB / 441.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.55, allocations: 3.938 kB / 441.1 MB, free: 12.23 MB / 350.1 MB " [Timeout remaining time 648] (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: 14.183630194980651]