Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.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.001768/0.001768, allocations: 76.05 kB / 21.24 MB, free: 400 kB / 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.001997/0.001997, allocations: 155.5 kB / 24.48 MB, free: 3.461 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.429/1.429, allocations: 173.4 MB / 201.1 MB, free: 12.66 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.NormalNoiseProperties,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.NormalNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,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.NormalNoiseProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001764/0.001764, allocations: 47.28 kB / 319.4 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1265, allocations: 52.15 MB / 371.6 MB, free: 7.328 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.005277/0.1318, allocations: 1.803 MB / 373.4 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003548/0.1353, allocations: 1.177 MB / 374.6 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001916/0.1355, allocations: 4 kB / 374.6 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000174/0.1357, allocations: 23.73 kB / 374.6 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001649/0.1359, allocations: 27.73 kB / 374.6 MB, free: 4.277 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.001512/0.1374, allocations: 319.1 kB / 374.9 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000472/0.1379, allocations: 223.5 kB / 375.1 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002205/0.1381, allocations: 48.5 kB / 375.2 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002367/0.1383, allocations: 99.55 kB / 375.3 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009129/0.1392, allocations: 114.8 kB / 375.4 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001029/0.1393, allocations: 20 kB / 375.4 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009613/0.1403, allocations: 323.4 kB / 375.7 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001556/0.1404, allocations: 55.81 kB / 375.8 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001898/0.1406, allocations: 87.52 kB / 375.9 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001205/0.1418, allocations: 390.6 kB / 376.2 MB, free: 2.629 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1418, allocations: 0 / 376.2 MB, free: 2.629 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1418, allocations: 0 / 376.2 MB, free: 2.629 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.1419, allocations: 3.938 kB / 376.3 MB, free: 2.625 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.001908/0.1438, allocations: 0.502 MB / 376.8 MB, free: 2.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/0.1438, allocations: 8.922 kB / 376.8 MB, free: 2.082 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004172/0.1442, allocations: 36.78 kB / 376.8 MB, free: 2.047 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004782/0.1447, allocations: 187.5 kB / 377 MB, free: 1.84 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.583e-05/0.1448, allocations: 20.27 kB / 377 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.224e-05/0.1448, allocations: 20 kB / 377 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007631/0.1456, allocations: 194.9 kB / 377.2 MB, free: 1.605 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.1456, allocations: 0 / 377.2 MB, free: 1.605 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.118e-05/0.1457, allocations: 15.98 kB / 377.2 MB, free: 1.59 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.679e-06/0.1457, allocations: 4 kB / 377.2 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007207/0.1464, allocations: 148.1 kB / 377.4 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001531/0.1479, allocations: 468.4 kB / 377.8 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001692/0.1496, allocations: 302.6 kB / 378.1 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004558/0.1501, allocations: 108.8 kB / 378.2 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.169e-05/0.1501, allocations: 3.984 kB / 378.2 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006088/0.1507, allocations: 163.3 kB / 378.4 MB, free: 372 kB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 3.236e-06/0.1507, allocations: 4 kB / 378.4 MB, free: 368 kB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.001602/0.1523, allocations: 361.2 kB / 378.8 MB, free: 0 / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.714e-05/0.1524, allocations: 55.41 kB / 378.8 MB, free: 15.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003246/0.1527, allocations: 190.3 kB / 379 MB, free: 15.74 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.828e-05/0.1528, allocations: 45.69 kB / 379 MB, free: 15.69 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.153, allocations: 132.6 kB / 379.2 MB, free: 15.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.1531, allocations: 71.39 kB / 379.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/0.1532, allocations: 65.69 kB / 379.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001919/0.1534, allocations: 338.8 kB / 379.6 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004752/0.1539, allocations: 131.9 kB / 379.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005253/0.1544, allocations: 161.5 kB / 379.9 MB, free: 14.78 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009905/0.1554, allocations: 271.2 kB / 380.2 MB, free: 14.51 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.1554, allocations: 0 / 380.2 MB, free: 14.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001356/0.1568, allocations: 376.6 kB / 380.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.1568, allocations: 8 kB / 380.6 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.1568, allocations: 0 / 380.6 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.1568, allocations: 3.938 kB / 380.6 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000475/0.1573, allocations: 71.94 kB / 380.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.62e-05/0.1573, allocations: 3.938 kB / 380.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002613/0.1576, allocations: 39.86 kB / 380.7 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-05/0.1576, allocations: 15.98 kB / 380.7 MB, free: 14 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.0002405/0.1578, allocations: 141.6 kB / 380.8 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.169e-05/0.1579, allocations: 15.91 kB / 380.8 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.175e-05/0.158, allocations: 25.95 kB / 380.9 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.158, allocations: 0 / 380.9 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.158, allocations: 4 kB / 380.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.158, allocations: 4 kB / 380.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001686/0.1597, allocations: 0.5396 MB / 381.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.1597, allocations: 0 / 381.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003841/0.1601, allocations: 55.89 kB / 381.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.1601, allocations: 0 / 381.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.984e-05/0.1601, allocations: 0 / 381.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.1601, allocations: 4 kB / 381.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.1601, allocations: 0 / 381.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001603/0.1617, allocations: 483.6 kB / 382 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.124e-05/0.1618, allocations: 23.73 kB / 382 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.716e-05/0.1619, allocations: 16.05 kB / 382 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002708/0.1621, allocations: 15.98 kB / 382 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.1622, allocations: 23.91 kB / 382 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-05/0.1623, allocations: 8.125 kB / 382 MB, free: 12.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002102/0.1625, allocations: 136.3 kB / 382.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1625, allocations: 0 / 382.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007447/0.1632, allocations: 107.7 kB / 382.3 MB, free: 12.36 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.001169/0.1644, allocations: 268.6 kB / 382.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001159/0.1656, allocations: 264.4 kB / 382.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.1656, allocations: 0 / 382.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004418/0.166, allocations: 107.9 kB / 382.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005346/0.1665, allocations: 31.86 kB / 382.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.1679, allocations: 462.3 kB / 383.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/0.1681, allocations: 133.2 kB / 383.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000185/0.1683, allocations: 29.61 kB / 383.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.1685, allocations: 24.48 kB / 383.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1685, allocations: 4 kB / 383.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of Templates: time 0.01161/0.1801, allocations: 3.645 MB / 387.2 MB, free: 7.43 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.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: 5.667705637984909]