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.0009769/0.0009769, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.001106/0.001106, allocations: 170.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8947/0.8947, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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 2.194e-06/2.194e-06, allocations: 0 / 324.6 MB, free: 15.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.026e-05/2.245e-05, allocations: 2.281 kB / 324.6 MB, free: 15.78 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.001991/0.002013, allocations: 0.895 MB / 325.5 MB, free: 14.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005019/0.002515, allocations: 247 kB / 325.7 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.038e-05/0.002605, allocations: 0 / 325.7 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.594e-05/0.002651, allocations: 3.938 kB / 325.7 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001618/0.002813, allocations: 19.86 kB / 325.7 MB, free: 14.62 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004004/0.003213, allocations: 107.6 kB / 325.8 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.003326, allocations: 39.86 kB / 325.9 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.86e-05/0.003415, allocations: 15.98 kB / 325.9 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.945e-05/0.003464, allocations: 19.92 kB / 325.9 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.121e-05/0.003535, allocations: 19.91 kB / 325.9 MB, free: 14.42 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.7e-05/0.003562, allocations: 4 kB / 325.9 MB, free: 14.42 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.461e-05/0.003647, allocations: 39.95 kB / 326 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.237e-05/0.003709, allocations: 23.92 kB / 326 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.038e-05/0.00374, allocations: 19.92 kB / 326 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.003905, allocations: 99.67 kB / 326.1 MB, free: 14.24 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.003907, allocations: 0 / 326.1 MB, free: 14.24 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.003908, allocations: 0 / 326.1 MB, free: 14.24 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.003913, allocations: 0 / 326.1 MB, free: 14.24 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004241/0.004337, allocations: 316.8 kB / 326.4 MB, free: 13.9 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.004375, allocations: 12.03 kB / 326.4 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.199e-05/0.004407, allocations: 34.69 kB / 326.5 MB, free: 13.84 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.605e-05/0.004433, allocations: 8.891 kB / 326.5 MB, free: 13.84 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/0.004614, allocations: 141.7 kB / 326.6 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.004624, allocations: 8.375 kB / 326.6 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.004635, allocations: 8.359 kB / 326.6 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002345/0.004869, allocations: 149.5 kB / 326.8 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.004877, allocations: 4.188 kB / 326.8 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.004886, allocations: 384 / 326.8 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.004893, allocations: 4.125 kB / 326.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.702e-05/0.00493, allocations: 27.92 kB / 326.8 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002379/0.005168, allocations: 244.7 kB / 327.1 MB, free: 13.17 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.356e-05/0.005241, allocations: 38.56 kB / 327.1 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.807e-05/0.005269, allocations: 20.86 kB / 327.1 MB, free: 13.1 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002651/0.005535, allocations: 63.91 kB / 327.2 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.005555, allocations: 34.56 kB / 327.2 MB, free: 13 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.005556, allocations: 8 kB / 327.2 MB, free: 12.99 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001715/0.005728, allocations: 81.58 kB / 327.3 MB, free: 12.9 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.005768, allocations: 59.41 kB / 327.4 MB, free: 12.83 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.683e-05/0.005865, allocations: 153.8 kB / 327.5 MB, free: 12.67 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.005875, allocations: 25.7 kB / 327.5 MB, free: 12.64 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.357e-05/0.005909, allocations: 88.12 kB / 327.6 MB, free: 12.55 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.454e-05/0.005923, allocations: 7.953 kB / 327.6 MB, free: 12.54 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.804e-05/0.005951, allocations: 17.72 kB / 327.6 MB, free: 12.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.058e-05/0.006032, allocations: 326.8 kB / 328 MB, free: 12.19 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.886e-05/0.006051, allocations: 15.98 kB / 328 MB, free: 12.18 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.91e-05/0.00608, allocations: 38.56 kB / 328 MB, free: 12.13 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.527e-05/0.006125, allocations: 50.5 kB / 328.1 MB, free: 12.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.006127, allocations: 0 / 328.1 MB, free: 12.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.606e-05/0.006204, allocations: 77.58 kB / 328.1 MB, free: 11.99 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.006216, allocations: 8 kB / 328.1 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.006222, allocations: 3.984 kB / 328.2 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.006233, allocations: 0 / 328.2 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.151e-05/0.006285, allocations: 12.09 kB / 328.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.006289, allocations: 3.938 kB / 328.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.618e-05/0.006305, allocations: 7.953 kB / 328.2 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.00631, allocations: 3.938 kB / 328.2 MB, free: 11.95 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (6): * Single equations (assignments): 6 * 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 7.365e-05/0.006384, allocations: 132.2 kB / 328.3 MB, free: 11.81 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.198e-05/0.006446, allocations: 77.7 kB / 328.4 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001064/0.006552, allocations: 82.39 kB / 328.5 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.006555, allocations: 0 / 328.5 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.006559, allocations: 128 / 328.5 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.006564, allocations: 4 kB / 328.5 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.901e-05/0.006633, allocations: 148.7 kB / 328.6 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.006635, allocations: 0 / 328.6 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.392e-05/0.006659, allocations: 4 kB / 328.6 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.00666, allocations: 0 / 328.6 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.006668, allocations: 7.984 kB / 328.6 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.006669, allocations: 0 / 328.6 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.00667, allocations: 0 / 328.6 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.477e-05/0.006744, allocations: 97.02 kB / 328.7 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.111e-05/0.006775, allocations: 27.83 kB / 328.7 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.006791, allocations: 4.188 kB / 328.8 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.201e-05/0.006803, allocations: 0 / 328.8 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.076e-06/0.006806, allocations: 11.92 kB / 328.8 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.006815, allocations: 3.984 kB / 328.8 MB, free: 11.28 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.128e-05/0.006866, allocations: 114.3 kB / 328.9 MB, free: 11.17 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006866, allocations: 7.938 kB / 328.9 MB, free: 11.16 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001378/0.007004, allocations: 15.98 kB / 328.9 MB, free: 11.15 MB / 298.7 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.0003614/0.007365, allocations: 0.6671 MB / 329.6 MB, free: 10.45 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9e-05/0.007455, allocations: 43.92 kB / 329.6 MB, free: 10.41 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.007457, allocations: 4 kB / 329.6 MB, free: 10.4 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.007458, allocations: 192 / 329.6 MB, free: 10.4 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.007716, allocations: 77.69 kB / 329.7 MB, free: 10.32 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000873/0.008589, allocations: 1.383 MB / 331.1 MB, free: 8.832 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.964e-05/0.008649, allocations: 91.31 kB / 331.2 MB, free: 8.723 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.062e-05/0.00867, allocations: 12.05 kB / 331.2 MB, free: 8.711 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.614e-05/0.008706, allocations: 16.5 kB / 331.2 MB, free: 8.695 MB / 298.7 MB Notification: Performance of SimCode: time 2.6e-07/0.008706, allocations: 4 kB / 331.2 MB, free: 8.691 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01583/0.02453, allocations: 3.323 MB / 334.5 MB, free: 5.504 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.196/7.221, allocations: 10.02 kB / 334.5 MB, free: 5.5 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UniformNoise/UniformNoise.csv","/var/lib/jenkins/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: 8.91608006786555]