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.001775/0.001775, allocations: 107.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.002216/0.002216, allocations: 208.3 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.408/1.408, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.001546/0.001546, allocations: 47.88 kB / 377.7 MB, free: 2.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2542, allocations: 53.37 MB / 431.1 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002279/0.2564, allocations: 0.8854 MB / 432 MB, free: 5.773 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006083/0.2571, allocations: 247.1 kB / 432.2 MB, free: 5.531 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.154e-05/0.2571, allocations: 0 / 432.2 MB, free: 5.531 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.894e-05/0.2572, allocations: 7.875 kB / 432.2 MB, free: 5.523 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001346/0.2573, allocations: 11.92 kB / 432.2 MB, free: 5.512 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004152/0.2577, allocations: 99.78 kB / 432.3 MB, free: 5.414 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.2578, allocations: 47.78 kB / 432.4 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.057e-05/0.2579, allocations: 12 kB / 432.4 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.882e-05/0.258, allocations: 23.91 kB / 432.4 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.019e-05/0.258, allocations: 15.92 kB / 432.4 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.258, allocations: 4 kB / 432.4 MB, free: 5.312 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.728e-05/0.2581, allocations: 43.91 kB / 432.5 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.589e-05/0.2582, allocations: 15.98 kB / 432.5 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.259e-05/0.2582, allocations: 27.8 kB / 432.5 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001814/0.2584, allocations: 97.3 kB / 432.6 MB, free: 5.133 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2584, allocations: 0 / 432.6 MB, free: 5.133 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2584, allocations: 7.938 kB / 432.6 MB, free: 5.125 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.2584, allocations: 4 kB / 432.6 MB, free: 5.121 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.0005058/0.2589, allocations: 309.9 kB / 432.9 MB, free: 4.785 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.259, allocations: 12.03 kB / 432.9 MB, free: 4.773 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.939e-05/0.259, allocations: 34.75 kB / 433 MB, free: 4.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.299e-05/0.2591, allocations: 8.891 kB / 433 MB, free: 4.723 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002718/0.2594, allocations: 144.9 kB / 433.1 MB, free: 4.559 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.2594, allocations: 384 / 433.1 MB, free: 4.559 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.2594, allocations: 8.375 kB / 433.1 MB, free: 4.551 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003186/0.2597, allocations: 161.4 kB / 433.3 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.2597, allocations: 3.938 kB / 433.3 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.2597, allocations: 4 kB / 433.3 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.2597, allocations: 0 / 433.3 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.206e-05/0.2598, allocations: 23.92 kB / 433.3 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003392/0.2601, allocations: 236.8 kB / 433.6 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.2602, allocations: 38.56 kB / 433.6 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.376e-05/0.2603, allocations: 28.89 kB / 433.6 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004257/0.2607, allocations: 59.88 kB / 433.7 MB, free: 3.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.2607, allocations: 30.56 kB / 433.7 MB, free: 3.891 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.2607, allocations: 0 / 433.7 MB, free: 3.891 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002354/0.261, allocations: 81.64 kB / 433.8 MB, free: 3.805 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.517e-05/0.261, allocations: 63.41 kB / 433.8 MB, free: 3.73 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.2612, allocations: 148.8 kB / 434 MB, free: 3.578 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.2612, allocations: 33.7 kB / 434 MB, free: 3.539 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.639e-05/0.2613, allocations: 88.12 kB / 434.1 MB, free: 3.449 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/0.2613, allocations: 7.953 kB / 434.1 MB, free: 3.441 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.392e-05/0.2613, allocations: 25.72 kB / 434.1 MB, free: 3.41 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.2615, allocations: 322.8 kB / 434.5 MB, free: 3.086 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.631e-05/0.2615, allocations: 23.92 kB / 434.5 MB, free: 3.062 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.679e-05/0.2616, allocations: 62 kB / 434.5 MB, free: 2.98 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001058/0.2617, allocations: 81.88 kB / 434.6 MB, free: 2.879 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.2617, allocations: 4 kB / 434.6 MB, free: 2.875 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000163/0.2619, allocations: 113.4 kB / 434.7 MB, free: 2.758 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.2619, allocations: 4.219 kB / 434.7 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.2619, allocations: 8 kB / 434.7 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.2619, allocations: 0 / 434.7 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.03e-05/0.262, allocations: 19.98 kB / 434.8 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.262, allocations: 4.172 kB / 434.8 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.784e-05/0.262, allocations: 7.953 kB / 434.8 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.262, allocations: 11.94 kB / 434.8 MB, free: 2.703 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.0001284/0.2622, allocations: 134 kB / 434.9 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.2623, allocations: 69.62 kB / 435 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001948/0.2625, allocations: 94.33 kB / 435.1 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.2625, allocations: 8 kB / 435.1 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.2625, allocations: 0 / 435.1 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.2625, allocations: 0 / 435.1 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001195/0.2626, allocations: 148.6 kB / 435.2 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.2626, allocations: 0 / 435.2 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.75e-05/0.2626, allocations: 8 kB / 435.2 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.2626, allocations: 0 / 435.2 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.2627, allocations: 0 / 435.2 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.2627, allocations: 0 / 435.2 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-05/0.2627, allocations: 4 kB / 435.2 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001382/0.2628, allocations: 108.9 kB / 435.4 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.434e-05/0.2629, allocations: 27.94 kB / 435.4 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.2629, allocations: 0 / 435.4 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.173e-05/0.2629, allocations: 0 / 435.4 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.825e-06/0.2629, allocations: 0 / 435.4 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.2629, allocations: 4 kB / 435.4 MB, free: 2.023 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.373e-05/0.263, allocations: 119.2 kB / 435.5 MB, free: 1.906 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.263, allocations: 0 / 435.5 MB, free: 1.906 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002247/0.2632, allocations: 16 kB / 435.5 MB, free: 1.891 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.0005453/0.2638, allocations: 0.6709 MB / 436.2 MB, free: 1.191 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001348/0.2639, allocations: 51.95 kB / 436.2 MB, free: 1.141 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2639, allocations: 4 kB / 436.2 MB, free: 1.137 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.31e-07/0.2639, allocations: 0 / 436.2 MB, free: 1.137 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003776/0.2643, allocations: 89.5 kB / 436.3 MB, free: 1.043 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.2658, allocations: 1.471 MB / 437.8 MB, free: 15.46 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.69e-05/0.2659, allocations: 83.77 kB / 437.9 MB, free: 15.36 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.894e-05/0.2659, allocations: 8.656 kB / 437.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.722e-05/0.266, allocations: 19.44 kB / 437.9 MB, free: 15.32 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.266, allocations: 0 / 437.9 MB, free: 15.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03127/0.2972, allocations: 3.241 MB / 441.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.07, allocations: 14.33 kB / 441.2 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.55972781102173]