Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.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.001344/0.001344, allocations: 116.5 kB / 18.41 MB, free: 4.664 MB / 14.72 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.001392/0.001392, allocations: 186.7 kB / 21.34 MB, free: 1.734 MB / 14.72 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 1.423/1.423, allocations: 222.9 MB / 247 MB, free: 4.195 MB / 190.1 MB " [Timeout remaining time 178] 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: translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00155/0.00155, allocations: 47.92 kB / 358.7 MB, free: 8.289 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1128, allocations: 49.44 MB / 408.1 MB, free: 6.801 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003418/0.1163, allocations: 1.836 MB / 410 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001992/0.1183, allocations: 0.9858 MB / 410.9 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.447e-05/0.1184, allocations: 0 / 410.9 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001473/0.1186, allocations: 23.67 kB / 411 MB, free: 3.949 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001943/0.1188, allocations: 23.73 kB / 411 MB, free: 3.926 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.0006833/0.1195, allocations: 191.5 kB / 411.2 MB, free: 3.738 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003076/0.1198, allocations: 219.5 kB / 411.4 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001892/0.12, allocations: 68.2 kB / 411.5 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.1202, allocations: 95.62 kB / 411.5 MB, free: 3.359 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006081/0.1208, allocations: 125.9 kB / 411.7 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.991e-05/0.1208, allocations: 24 kB / 411.7 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002521/0.1211, allocations: 123.8 kB / 411.8 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.55e-05/0.1212, allocations: 55.83 kB / 411.9 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.1213, allocations: 95.45 kB / 412 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004731/0.1218, allocations: 298.8 kB / 412.3 MB, free: 2.652 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.1218, allocations: 0 / 412.3 MB, free: 2.652 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1218, allocations: 0 / 412.3 MB, free: 2.652 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.1218, allocations: 0 / 412.3 MB, free: 2.652 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001207/0.123, allocations: 0.5618 MB / 412.8 MB, free: 2.039 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.1231, allocations: 8.031 kB / 412.8 MB, free: 2.031 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002324/0.1233, allocations: 36.78 kB / 412.9 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003134/0.1236, allocations: 244.6 kB / 413.1 MB, free: 1.719 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.675e-05/0.1237, allocations: 16.28 kB / 413.1 MB, free: 1.703 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.011e-05/0.1237, allocations: 27.88 kB / 413.1 MB, free: 1.676 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005176/0.1243, allocations: 199.5 kB / 413.3 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.1243, allocations: 4 kB / 413.3 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.158e-05/0.1243, allocations: 4 kB / 413.3 MB, free: 1.469 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.1243, allocations: 4 kB / 413.4 MB, free: 1.465 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004909/0.1248, allocations: 156.2 kB / 413.5 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.126, allocations: 0.5747 MB / 414.1 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/0.1271, allocations: 302.6 kB / 414.4 MB, free: 392 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003207/0.1274, allocations: 116.8 kB / 414.5 MB, free: 272 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.1275, allocations: 4.062 kB / 414.5 MB, free: 268 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004506/0.1279, allocations: 175.1 kB / 414.7 MB, free: 80 kB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 2.014e-06/0.128, allocations: 0 / 414.7 MB, free: 80 kB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.001143/0.1291, allocations: 355.5 kB / 415 MB, free: 15.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.779e-05/0.1292, allocations: 63.41 kB / 415.1 MB, free: 15.65 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002644/0.1295, allocations: 211.8 kB / 415.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.232e-05/0.1295, allocations: 41.69 kB / 415.3 MB, free: 15.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.1296, allocations: 124.6 kB / 415.4 MB, free: 15.26 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.386e-05/0.1297, allocations: 79.42 kB / 415.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.1298, allocations: 69.62 kB / 415.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.13, allocations: 338.8 kB / 415.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003655/0.1304, allocations: 131.8 kB / 416 MB, free: 14.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000393/0.1308, allocations: 169.1 kB / 416.2 MB, free: 14.47 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006892/0.1315, allocations: 268.6 kB / 416.5 MB, free: 14.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.1315, allocations: 0 / 416.5 MB, free: 14.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008897/0.1324, allocations: 371 kB / 416.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.1324, allocations: 4 kB / 416.8 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.1325, allocations: 8.016 kB / 416.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.1325, allocations: 4 kB / 416.9 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003132/0.1328, allocations: 67.83 kB / 416.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.1328, allocations: 4 kB / 416.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/0.133, allocations: 39.75 kB / 417 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.761e-05/0.1331, allocations: 12 kB / 417 MB, free: 13.7 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition1,globalSeed.seed,noise.actualGlobalSeed,noise.localSeed,globalSeed.id_impure,noise.r_raw,$PRE.noise.r_raw,noise.r,$PRE.noise.r,noise.state[4],$PRE.noise.state[4],noise.state[3],$PRE.noise.state[3],noise.state[2],$PRE.noise.state[2],noise.state[1],$PRE.noise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * Array equations: 1 * 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.0001735/0.1332, allocations: 149.6 kB / 417.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.166e-05/0.1333, allocations: 19.86 kB / 417.1 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.112e-05/0.1334, allocations: 21.88 kB / 417.2 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.1334, allocations: 3.984 kB / 417.2 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1334, allocations: 0 / 417.2 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.68e-05/0.1334, allocations: 7.922 kB / 417.2 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001266/0.1347, allocations: 0.634 MB / 417.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.1347, allocations: 0 / 417.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002603/0.135, allocations: 47.95 kB / 417.9 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.135, allocations: 4 kB / 417.9 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.238e-05/0.135, allocations: 4 kB / 417.9 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.135, allocations: 3.984 kB / 417.9 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.135, allocations: 3.938 kB / 417.9 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.1361, allocations: 492.2 kB / 418.3 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.439e-05/0.1362, allocations: 97.03 kB / 418.4 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.773e-05/0.1363, allocations: 16.05 kB / 418.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001938/0.1365, allocations: 19.98 kB / 418.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.959e-05/0.1366, allocations: 15.97 kB / 418.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.1366, allocations: 4 kB / 418.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001587/0.1367, allocations: 155.2 kB / 418.6 MB, free: 11.92 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1368, allocations: 0 / 418.6 MB, free: 11.92 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003858/0.1371, allocations: 63.92 kB / 418.7 MB, free: 11.86 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (mean.mu,variance.mu,variance.var,standardDeviation.variance.mu,standardDeviation.variance.var) * Number of discrete variables: 7 ($whenCondition1,noise.state[1],noise.state[2],noise.state[3],noise.state[4],noise.r,noise.r_raw) * Number of discrete states: 4 (noise.state[1],noise.state[2],noise.state[3],noise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005419/0.1377, allocations: 209.3 kB / 418.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008571/0.1386, allocations: 287.6 kB / 419.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.1386, allocations: 0 / 419.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003353/0.1389, allocations: 111.9 kB / 419.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.1393, allocations: 28.03 kB / 419.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000957/0.1402, allocations: 479.6 kB / 419.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004022/0.1407, allocations: 0.7398 MB / 420.5 MB, free: 9.992 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.199e-05/0.1408, allocations: 27.42 kB / 420.6 MB, free: 9.965 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1408, allocations: 0 / 420.6 MB, free: 9.965 MB / 350.1 MB Notification: Performance of Templates: time 0.00641/0.1472, allocations: 3.367 MB / 423.9 MB, free: 6.594 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 11.064959586015902]