Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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.001298/0.001298, allocations: 108.2 kB / 21.18 MB, free: 0.6992 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.00152/0.00152, allocations: 216.7 kB / 24.5 MB, free: 4.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.631/1.631, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Blocks.Examples.NoiseExamples.UniformNoise,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002184/0.002184, allocations: 59.92 kB / 347.2 MB, free: 10.14 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3651, allocations: 49.16 MB / 396.3 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.003056/0.3681, allocations: 1.493 MB / 397.8 MB, free: 7.953 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001312/0.3694, allocations: 0.5807 MB / 398.4 MB, free: 7.574 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.954e-05/0.3695, allocations: 1.031 kB / 398.4 MB, free: 7.574 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001243/0.3696, allocations: 9.422 kB / 398.4 MB, free: 7.566 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.988e-05/0.3697, allocations: 15.77 kB / 398.4 MB, free: 7.555 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006543/0.3703, allocations: 154.5 kB / 398.6 MB, free: 7.48 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000177/0.3705, allocations: 117.8 kB / 398.7 MB, free: 7.426 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.616e-05/0.3706, allocations: 14.84 kB / 398.7 MB, free: 7.422 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.95e-05/0.3706, allocations: 52.11 kB / 398.8 MB, free: 7.395 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.368e-05/0.3707, allocations: 60.36 kB / 398.8 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.3708, allocations: 9.781 kB / 398.8 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003575/0.3711, allocations: 171.3 kB / 399 MB, free: 7.309 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.458e-05/0.3712, allocations: 28.55 kB / 399 MB, free: 7.293 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.632e-05/0.3713, allocations: 58.72 kB / 399.1 MB, free: 7.25 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003809/0.3716, allocations: 206.1 kB / 399.3 MB, free: 7.18 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3716, allocations: 0 / 399.3 MB, free: 7.18 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3716, allocations: 3.938 kB / 399.3 MB, free: 7.176 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.216e-06/0.3716, allocations: 0 / 399.3 MB, free: 7.176 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006825/0.3723, allocations: 389.9 kB / 399.7 MB, free: 6.832 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.3724, allocations: 16.95 kB / 399.7 MB, free: 6.824 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.615e-05/0.3725, allocations: 39.19 kB / 399.7 MB, free: 6.781 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003388/0.3728, allocations: 39.56 kB / 399.8 MB, free: 6.773 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.3729, allocations: 141.3 kB / 399.9 MB, free: 6.625 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/0.3729, allocations: 10.09 kB / 399.9 MB, free: 6.621 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.973e-05/0.373, allocations: 4.719 kB / 399.9 MB, free: 6.621 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002451/0.3732, allocations: 118.5 kB / 400 MB, free: 6.551 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.3732, allocations: 5.125 kB / 400.1 MB, free: 6.547 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.3732, allocations: 1.125 kB / 400.1 MB, free: 6.547 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.3732, allocations: 1.188 kB / 400.1 MB, free: 6.547 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001727/0.3734, allocations: 56.77 kB / 400.1 MB, free: 6.535 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006842/0.3741, allocations: 433.7 kB / 400.5 MB, free: 6.168 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002967/0.3744, allocations: 117.1 kB / 400.6 MB, free: 6.102 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.3745, allocations: 47.62 kB / 400.7 MB, free: 6.078 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.3745, allocations: 10.14 kB / 400.7 MB, free: 6.07 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002573/0.3748, allocations: 135 kB / 400.8 MB, free: 5.988 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.302e-06/0.3748, allocations: 0 / 400.8 MB, free: 5.988 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005438/0.3753, allocations: 240.9 kB / 401.1 MB, free: 5.895 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.656e-05/0.3754, allocations: 91.98 kB / 401.2 MB, free: 5.797 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.3756, allocations: 178.2 kB / 401.3 MB, free: 5.668 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.941e-05/0.3756, allocations: 46.86 kB / 401.4 MB, free: 5.629 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.754e-05/0.3756, allocations: 114 kB / 401.5 MB, free: 5.523 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.101e-05/0.3757, allocations: 43.08 kB / 401.5 MB, free: 5.492 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.91e-05/0.3758, allocations: 54.69 kB / 401.6 MB, free: 5.457 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.671e-05/0.3758, allocations: 333.6 kB / 401.9 MB, free: 5.133 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001984/0.376, allocations: 102.3 kB / 402 MB, free: 5.102 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002111/0.3762, allocations: 136.8 kB / 402.1 MB, free: 5.039 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000339/0.3766, allocations: 211.1 kB / 402.4 MB, free: 4.949 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3766, allocations: 5.062 kB / 402.4 MB, free: 4.945 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005238/0.3771, allocations: 296.3 kB / 402.6 MB, free: 4.828 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.3771, allocations: 5.078 kB / 402.7 MB, free: 4.828 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.3771, allocations: 0.875 kB / 402.7 MB, free: 4.828 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.3772, allocations: 2.188 kB / 402.7 MB, free: 4.828 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.3773, allocations: 33.94 kB / 402.7 MB, free: 4.82 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.3773, allocations: 2.062 kB / 402.7 MB, free: 4.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.386e-05/0.3774, allocations: 23.47 kB / 402.7 MB, free: 4.805 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.625e-05/0.3775, allocations: 11.44 kB / 402.7 MB, free: 4.801 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,globalSeed.seed,uniformNoise2.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise1.localSeed,globalSeed.id_impure,uniformNoise2.r_raw,$PRE.uniformNoise2.r_raw,uniformNoise2.r,$PRE.uniformNoise2.r,uniformNoise2.state[4],$PRE.uniformNoise2.state[4],uniformNoise2.state[3],$PRE.uniformNoise2.state[3],uniformNoise2.state[2],$PRE.uniformNoise2.state[2],uniformNoise2.state[1],$PRE.uniformNoise2.state[1],uniformNoise1.r_raw,$PRE.uniformNoise1.r_raw,uniformNoise1.r,$PRE.uniformNoise1.r,uniformNoise1.state[4],$PRE.uniformNoise1.state[4],uniformNoise1.state[3],$PRE.uniformNoise1.state[3],uniformNoise1.state[2],$PRE.uniformNoise1.state[2],uniformNoise1.state[1],$PRE.uniformNoise1.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 2 * 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.0001382/0.3776, allocations: 155.2 kB / 402.9 MB, free: 4.66 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.767e-05/0.3776, allocations: 13.86 kB / 402.9 MB, free: 4.652 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.372e-05/0.3777, allocations: 14.56 kB / 402.9 MB, free: 4.637 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.3777, allocations: 1.062 kB / 402.9 MB, free: 4.637 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.3777, allocations: 1.375 kB / 402.9 MB, free: 4.637 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.3777, allocations: 4.797 kB / 402.9 MB, free: 4.633 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002028/0.3779, allocations: 184 kB / 403.1 MB, free: 4.453 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3779, allocations: 1 kB / 403.1 MB, free: 4.453 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.125e-05/0.3779, allocations: 9.234 kB / 403.1 MB, free: 4.453 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.3779, allocations: 0 / 403.1 MB, free: 4.453 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.3779, allocations: 3.906 kB / 403.1 MB, free: 4.453 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3779, allocations: 0 / 403.1 MB, free: 4.453 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3779, allocations: 1.688 kB / 403.1 MB, free: 4.453 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003988/0.3783, allocations: 232.4 kB / 403.3 MB, free: 4.32 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.627e-05/0.3784, allocations: 19.98 kB / 403.4 MB, free: 4.309 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.261e-05/0.3784, allocations: 7.219 kB / 403.4 MB, free: 4.309 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.545e-05/0.3785, allocations: 4.047 kB / 403.4 MB, free: 4.309 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.738e-05/0.3785, allocations: 17.08 kB / 403.4 MB, free: 4.305 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.3785, allocations: 6.312 kB / 403.4 MB, free: 4.301 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.762e-05/0.3786, allocations: 126 kB / 403.5 MB, free: 4.211 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3786, allocations: 4 kB / 403.5 MB, free: 4.207 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003359/0.379, allocations: 56.2 kB / 403.6 MB, free: 4.191 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw,$whenCondition1,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw) * Number of discrete states: 8 (uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001064/0.38, allocations: 0.9449 MB / 404.5 MB, free: 3.43 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003936/0.3804, allocations: 186.5 kB / 404.7 MB, free: 3.375 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3804, allocations: 0.7188 kB / 404.7 MB, free: 3.375 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.3805, allocations: 50.45 kB / 404.7 MB, free: 3.363 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001733/0.3807, allocations: 8.266 kB / 404.8 MB, free: 3.359 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002212/0.3829, allocations: 2.103 MB / 406.9 MB, free: 1.863 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001652/0.3831, allocations: 0.7101 MB / 407.6 MB, free: 1.168 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.897e-05/0.3832, allocations: 20.48 kB / 407.6 MB, free: 1.16 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.828e-05/0.3832, allocations: 37.91 kB / 407.6 MB, free: 1.137 MB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3832, allocations: 1.375 kB / 407.6 MB, free: 1.137 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03812/0.4213, allocations: 4.014 MB / 411.6 MB, free: 15.67 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.64, allocations: 10.22 kB / 411.6 MB, free: 15.66 MB / 334.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoise_fmu --startTime=0 --stopTime=2 --stepSize=0.00039208 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoise.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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: 14.330922258784994]