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.001304/0.001304, 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.001447/0.001447, allocations: 209 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.376/1.376, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.001583/0.001583, allocations: 43.92 kB / 377.7 MB, free: 2.941 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2604, allocations: 53.35 MB / 431.1 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002379/0.2628, allocations: 0.8928 MB / 432 MB, free: 5.758 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006344/0.2634, allocations: 243.1 kB / 432.2 MB, free: 5.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.716e-05/0.2635, allocations: 11.94 kB / 432.2 MB, free: 5.508 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.846e-05/0.2635, allocations: 7.922 kB / 432.2 MB, free: 5.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001414/0.2637, allocations: 7.938 kB / 432.2 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004241/0.2641, allocations: 99.7 kB / 432.3 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.2642, allocations: 39.92 kB / 432.4 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.277e-05/0.2643, allocations: 15.98 kB / 432.4 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.736e-05/0.2644, allocations: 19.88 kB / 432.4 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.671e-05/0.2644, allocations: 23.89 kB / 432.4 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.2645, allocations: 8 kB / 432.4 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.818e-05/0.2646, allocations: 39.97 kB / 432.5 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.366e-05/0.2646, allocations: 19.92 kB / 432.5 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.888e-05/0.2647, allocations: 23.8 kB / 432.5 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.2648, allocations: 101.2 kB / 432.6 MB, free: 5.109 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2648, allocations: 0 / 432.6 MB, free: 5.109 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2648, allocations: 0 / 432.6 MB, free: 5.109 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.2649, allocations: 0 / 432.6 MB, free: 5.109 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.0005067/0.2654, allocations: 313.9 kB / 432.9 MB, free: 4.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.2654, allocations: 8.031 kB / 432.9 MB, free: 4.762 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.723e-05/0.2654, allocations: 46.73 kB / 433 MB, free: 4.707 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.24e-05/0.2655, allocations: 8.891 kB / 433 MB, free: 4.699 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.2657, allocations: 142.3 kB / 433.1 MB, free: 4.535 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.2657, allocations: 8.312 kB / 433.1 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.2657, allocations: 384 / 433.1 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003083/0.2661, allocations: 153.6 kB / 433.3 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.2661, allocations: 7.938 kB / 433.3 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.2661, allocations: 7.922 kB / 433.3 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.2661, allocations: 0 / 433.3 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.663e-05/0.2661, allocations: 19.94 kB / 433.3 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003013/0.2664, allocations: 240.8 kB / 433.6 MB, free: 4.043 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.702e-05/0.2665, allocations: 46.5 kB / 433.6 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.809e-05/0.2666, allocations: 16.86 kB / 433.6 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004061/0.267, allocations: 64.06 kB / 433.7 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.839e-05/0.267, allocations: 34.55 kB / 433.7 MB, free: 3.863 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.267, allocations: 0 / 433.7 MB, free: 3.863 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002001/0.2672, allocations: 85.62 kB / 433.8 MB, free: 3.773 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.2673, allocations: 55.41 kB / 433.9 MB, free: 3.707 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.2674, allocations: 149.8 kB / 434 MB, free: 3.551 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.2674, allocations: 25.7 kB / 434 MB, free: 3.52 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.501e-05/0.2675, allocations: 92.14 kB / 434.1 MB, free: 3.426 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.861e-05/0.2675, allocations: 11.88 kB / 434.1 MB, free: 3.414 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.904e-05/0.2675, allocations: 29.72 kB / 434.2 MB, free: 3.379 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.2677, allocations: 326.8 kB / 434.5 MB, free: 3.051 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.162e-05/0.2677, allocations: 15.98 kB / 434.5 MB, free: 3.035 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.591e-05/0.2678, allocations: 62 kB / 434.6 MB, free: 2.953 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.945e-05/0.2679, allocations: 81.88 kB / 434.6 MB, free: 2.852 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2679, allocations: 4 kB / 434.6 MB, free: 2.848 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001522/0.268, allocations: 109.5 kB / 434.7 MB, free: 2.734 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.268, allocations: 8 kB / 434.8 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.268, allocations: 0 / 434.8 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.268, allocations: 7.938 kB / 434.8 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.97e-05/0.2681, allocations: 16.19 kB / 434.8 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.2681, allocations: 7.938 kB / 434.8 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.347e-05/0.2682, allocations: 12.11 kB / 434.8 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.2682, allocations: 11.94 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.0001036/0.2683, allocations: 129.8 kB / 434.9 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.2684, allocations: 69.64 kB / 435 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001642/0.2686, allocations: 86.33 kB / 435.1 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.2686, allocations: 3.984 kB / 435.1 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2686, allocations: 0 / 435.1 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.2686, allocations: 0 / 435.1 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.2687, allocations: 140.6 kB / 435.2 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-06/0.2687, allocations: 0 / 435.2 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.719e-05/0.2687, allocations: 15.98 kB / 435.2 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.2687, allocations: 4 kB / 435.2 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.2687, allocations: 0 / 435.2 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2687, allocations: 0 / 435.2 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.2687, allocations: 0 / 435.2 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.2689, allocations: 104.9 kB / 435.3 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.172e-05/0.2689, allocations: 19.94 kB / 435.4 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.2689, allocations: 15.92 kB / 435.4 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.325e-05/0.269, allocations: 0 / 435.4 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.305e-06/0.269, allocations: 0 / 435.4 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.269, allocations: 0 / 435.4 MB, free: 2.008 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.512e-05/0.2691, allocations: 130 kB / 435.5 MB, free: 1.883 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2691, allocations: 0 / 435.5 MB, free: 1.883 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002066/0.2693, allocations: 12 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.0005238/0.2698, allocations: 0.6673 MB / 436.2 MB, free: 1.176 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000123/0.2699, allocations: 51.92 kB / 436.2 MB, free: 1.125 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.2699, allocations: 0 / 436.2 MB, free: 1.125 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.8e-07/0.2699, allocations: 0 / 436.2 MB, free: 1.125 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003779/0.2703, allocations: 98.47 kB / 436.3 MB, free: 1.023 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.2717, allocations: 1.453 MB / 437.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.563e-05/0.2718, allocations: 87.31 kB / 437.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.513e-05/0.2718, allocations: 4.672 kB / 437.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.528e-05/0.2718, allocations: 23.42 kB / 437.9 MB, free: 15.31 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2719, allocations: 0 / 437.9 MB, free: 15.31 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03194/0.3038, allocations: 3.253 MB / 441.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.33/10.64, allocations: 8 kB / 441.2 MB, free: 12.2 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000215433 --timeout=50 --tolerance=1e-06 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.mat","/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] Reference file matches [Calling sys.exit(0), Time elapsed: 12.911694445996545]