Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008879/0.0008879, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008667/0.0008667, allocations: 153 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8972/0.8972, allocations: 173.4 MB / 200.4 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 318.4 MB, free: 6.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.169e-05/2.375e-05, allocations: 2.281 kB / 318.4 MB, free: 6.332 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.001692/0.001715, allocations: 0.8754 MB / 319.3 MB, free: 5.453 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005071/0.002223, allocations: 247 kB / 319.6 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.848e-05/0.002301, allocations: 3.938 kB / 319.6 MB, free: 5.207 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.731e-05/0.002348, allocations: 3.938 kB / 319.6 MB, free: 5.203 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001567/0.002505, allocations: 19.86 kB / 319.6 MB, free: 5.184 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004616/0.002967, allocations: 107.6 kB / 319.7 MB, free: 5.078 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.003109, allocations: 39.86 kB / 319.7 MB, free: 5.039 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.003214, allocations: 15.97 kB / 319.7 MB, free: 5.023 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.635e-05/0.00327, allocations: 27.92 kB / 319.8 MB, free: 4.996 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.891e-05/0.003349, allocations: 15.97 kB / 319.8 MB, free: 4.98 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.003371, allocations: 4 kB / 319.8 MB, free: 4.977 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.003475, allocations: 47.89 kB / 319.8 MB, free: 4.93 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.722e-05/0.003553, allocations: 19.92 kB / 319.9 MB, free: 4.91 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.369e-05/0.003586, allocations: 19.92 kB / 319.9 MB, free: 4.891 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001911/0.003777, allocations: 95.61 kB / 320 MB, free: 4.797 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.003781, allocations: 4 kB / 320 MB, free: 4.793 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.003782, allocations: 0 / 320 MB, free: 4.793 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.003787, allocations: 0 / 320 MB, free: 4.793 MB / 282.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.0004979/0.004285, allocations: 313.2 kB / 320.3 MB, free: 4.457 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.004336, allocations: 12.92 kB / 320.3 MB, free: 4.445 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.586e-05/0.004371, allocations: 30.75 kB / 320.3 MB, free: 4.406 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.217e-05/0.004404, allocations: 12.84 kB / 320.3 MB, free: 4.395 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002067/0.00461, allocations: 145.5 kB / 320.5 MB, free: 4.227 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.004621, allocations: 8.375 kB / 320.5 MB, free: 4.219 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.00463, allocations: 4.375 kB / 320.5 MB, free: 4.215 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002429/0.004873, allocations: 145.6 kB / 320.6 MB, free: 4.055 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.004882, allocations: 4.125 kB / 320.6 MB, free: 4.051 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.00489, allocations: 384 / 320.6 MB, free: 4.051 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.004897, allocations: 8.125 kB / 320.6 MB, free: 4.043 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.224e-05/0.00494, allocations: 23.98 kB / 320.7 MB, free: 4.02 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002517/0.005191, allocations: 236.8 kB / 320.9 MB, free: 3.742 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.473e-05/0.005266, allocations: 38.5 kB / 320.9 MB, free: 3.695 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.875e-05/0.005295, allocations: 20.86 kB / 321 MB, free: 3.672 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002797/0.005574, allocations: 67.91 kB / 321 MB, free: 3.605 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.005596, allocations: 34.56 kB / 321.1 MB, free: 3.562 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.623e-06/0.005598, allocations: 0 / 321.1 MB, free: 3.562 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001748/0.005773, allocations: 85.64 kB / 321.1 MB, free: 3.473 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/0.005817, allocations: 59.34 kB / 321.2 MB, free: 3.402 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.005925, allocations: 152.9 kB / 321.4 MB, free: 3.246 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.005936, allocations: 29.64 kB / 321.4 MB, free: 3.211 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.584e-05/0.005971, allocations: 96.2 kB / 321.5 MB, free: 3.113 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.005989, allocations: 7.953 kB / 321.5 MB, free: 3.105 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.831e-05/0.006018, allocations: 17.72 kB / 321.5 MB, free: 3.082 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.29e-05/0.006101, allocations: 322.8 kB / 321.8 MB, free: 2.758 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.234e-05/0.006123, allocations: 19.98 kB / 321.8 MB, free: 2.738 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.89e-05/0.006152, allocations: 34.61 kB / 321.9 MB, free: 2.695 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.78e-05/0.0062, allocations: 46.5 kB / 321.9 MB, free: 2.641 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.006202, allocations: 0 / 321.9 MB, free: 2.641 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003887/0.00659, allocations: 89.56 kB / 322 MB, free: 2.547 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.006605, allocations: 4 kB / 322 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.006614, allocations: 7.984 kB / 322 MB, free: 2.535 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.006628, allocations: 0 / 322 MB, free: 2.535 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.059e-05/0.006688, allocations: 8 kB / 322 MB, free: 2.527 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.006695, allocations: 0 / 322 MB, free: 2.527 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.208e-05/0.006717, allocations: 4 kB / 322 MB, free: 2.523 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.006723, allocations: 240 / 322 MB, free: 2.523 MB / 282.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 8.377e-05/0.006807, allocations: 133.9 kB / 322.2 MB, free: 2.383 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.99e-05/0.006887, allocations: 85.5 kB / 322.2 MB, free: 2.293 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001221/0.007009, allocations: 82.45 kB / 322.3 MB, free: 2.203 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.007013, allocations: 0 / 322.3 MB, free: 2.203 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.007018, allocations: 3.938 kB / 322.3 MB, free: 2.199 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.007022, allocations: 0 / 322.3 MB, free: 2.199 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.353e-05/0.007106, allocations: 148.8 kB / 322.5 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.007111, allocations: 0 / 322.5 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.492e-05/0.007146, allocations: 4 kB / 322.5 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.007148, allocations: 0 / 322.5 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.007157, allocations: 3.984 kB / 322.5 MB, free: 2.004 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.007159, allocations: 11.94 kB / 322.5 MB, free: 1.992 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.00716, allocations: 0 / 322.5 MB, free: 1.992 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.839e-05/0.007248, allocations: 97.02 kB / 322.6 MB, free: 1.879 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.808e-05/0.007286, allocations: 19.94 kB / 322.6 MB, free: 1.859 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.007302, allocations: 0 / 322.6 MB, free: 1.859 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.242e-05/0.007315, allocations: 0 / 322.6 MB, free: 1.859 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.605e-06/0.007317, allocations: 4 kB / 322.6 MB, free: 1.855 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.00733, allocations: 3.984 kB / 322.6 MB, free: 1.852 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.895e-05/0.007388, allocations: 114.3 kB / 322.7 MB, free: 1.742 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007389, allocations: 0 / 322.7 MB, free: 1.742 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001586/0.007547, allocations: 19.98 kB / 322.7 MB, free: 1.723 MB / 282.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.0003967/0.007944, allocations: 0.6825 MB / 323.4 MB, free: 1.012 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001046/0.008048, allocations: 43.92 kB / 323.5 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.008051, allocations: 0 / 323.5 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.1e-07/0.008051, allocations: 0 / 323.5 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.008347, allocations: 69.7 kB / 323.5 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009191/0.009266, allocations: 1.395 MB / 324.9 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.449e-05/0.009331, allocations: 99.45 kB / 325 MB, free: 15.28 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.177e-05/0.009353, allocations: 8.359 kB / 325 MB, free: 15.27 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.845e-05/0.009391, allocations: 20.5 kB / 325.1 MB, free: 15.25 MB / 298.7 MB Notification: Performance of SimCode: time 7.02e-07/0.009392, allocations: 0 / 325.1 MB, free: 15.25 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01693/0.02632, allocations: 3.317 MB / 328.4 MB, free: 12.07 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.999/7.025, allocations: 8.547 kB / 328.4 MB, free: 12.06 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000215433 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UniformNoise/UniformNoise.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.710437384434044]