Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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.NoiseExamples.UniformNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties") translateModel(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 107.2 kB / 18.34 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 192.1 kB / 19.28 MB, free: 3.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.614/1.614, allocations: 205.1 MB / 225.2 MB, free: 12.26 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 47.94 kB / 282.1 MB, free: 2.453 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1245, allocations: 46.62 MB / 328.7 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties): time 0.003692/0.1283, allocations: 1.832 MB / 330.5 MB, free: 1.902 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002012/0.1303, allocations: 1.006 MB / 331.6 MB, free: 0.8867 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.1304, allocations: 4 kB / 331.6 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001332/0.1306, allocations: 23.67 kB / 331.6 MB, free: 0.8594 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001881/0.1308, allocations: 31.72 kB / 331.6 MB, free: 0.8281 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00065/0.1314, allocations: 187.5 kB / 331.8 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000321/0.1318, allocations: 219.5 kB / 332 MB, free: 440 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002414/0.132, allocations: 64.28 kB / 332.1 MB, free: 376 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001658/0.1322, allocations: 99.61 kB / 332.2 MB, free: 276 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001708/0.1324, allocations: 111.5 kB / 332.3 MB, free: 164 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.23e-05/0.1324, allocations: 20 kB / 332.3 MB, free: 144 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000288/0.1327, allocations: 139.8 kB / 332.4 MB, free: 4 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.274e-05/0.1328, allocations: 55.81 kB / 332.5 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001192/0.133, allocations: 111.4 kB / 332.6 MB, free: 15.84 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004398/0.1334, allocations: 311 kB / 332.9 MB, free: 15.54 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1334, allocations: 0 / 332.9 MB, free: 15.54 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1334, allocations: 0 / 332.9 MB, free: 15.54 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.1334, allocations: 0 / 332.9 MB, free: 15.54 MB / 286.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.001246/0.1347, allocations: 0.5583 MB / 333.5 MB, free: 14.93 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.1347, allocations: 12.03 kB / 333.5 MB, free: 14.92 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002537/0.135, allocations: 32.64 kB / 333.5 MB, free: 14.89 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003011/0.1353, allocations: 240.7 kB / 333.7 MB, free: 14.61 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.48e-05/0.1354, allocations: 16.66 kB / 333.8 MB, free: 14.6 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.346e-05/0.1354, allocations: 20.38 kB / 333.8 MB, free: 14.58 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005071/0.1359, allocations: 203.2 kB / 334 MB, free: 14.38 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.136, allocations: 0 / 334 MB, free: 14.38 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.154e-05/0.136, allocations: 4 kB / 334 MB, free: 14.37 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.136, allocations: 4 kB / 334 MB, free: 14.37 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004738/0.1365, allocations: 152.1 kB / 334.1 MB, free: 14.22 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.1375, allocations: 0.5738 MB / 334.7 MB, free: 13.59 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009984/0.1386, allocations: 302.6 kB / 335 MB, free: 13.29 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002898/0.1389, allocations: 124.7 kB / 335.1 MB, free: 13.16 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.172e-05/0.1389, allocations: 8.062 kB / 335.1 MB, free: 13.16 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003813/0.1393, allocations: 163.3 kB / 335.3 MB, free: 12.98 MB / 286.1 MB Notification: Performance of pre-optimization done (n=22): time 4.929e-06/0.1393, allocations: 0 / 335.3 MB, free: 12.98 MB / 286.1 MB Notification: Performance of matching and sorting (n=22): time 0.001005/0.1403, allocations: 365 kB / 335.6 MB, free: 12.62 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.226e-05/0.1404, allocations: 63.39 kB / 335.7 MB, free: 12.55 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002549/0.1407, allocations: 211.7 kB / 335.9 MB, free: 12.32 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.15e-05/0.1407, allocations: 37.7 kB / 336 MB, free: 12.28 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.1408, allocations: 124.6 kB / 336.1 MB, free: 12.15 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.331e-05/0.1409, allocations: 78.91 kB / 336.2 MB, free: 12.07 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.1411, allocations: 69.67 kB / 336.2 MB, free: 12 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.1412, allocations: 338.8 kB / 336.5 MB, free: 11.66 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003315/0.1416, allocations: 127.9 kB / 336.7 MB, free: 11.54 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003786/0.1419, allocations: 161.4 kB / 336.8 MB, free: 11.37 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006112/0.1426, allocations: 268.6 kB / 337.1 MB, free: 11.11 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/0.1426, allocations: 3.938 kB / 337.1 MB, free: 11.1 MB / 286.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008817/0.1435, allocations: 375.1 kB / 337.5 MB, free: 10.73 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/0.1435, allocations: 4 kB / 337.5 MB, free: 10.73 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.1435, allocations: 0 / 337.5 MB, free: 10.73 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.012e-05/0.1436, allocations: 7.984 kB / 337.5 MB, free: 10.72 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003303/0.1439, allocations: 75.91 kB / 337.5 MB, free: 10.64 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.1439, allocations: 0 / 337.5 MB, free: 10.64 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002081/0.1441, allocations: 35.73 kB / 337.6 MB, free: 10.61 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.303e-05/0.1442, allocations: 11.98 kB / 337.6 MB, free: 10.6 MB / 286.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.0002329/0.1444, allocations: 149.6 kB / 337.7 MB, free: 10.44 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.994e-05/0.1445, allocations: 19.8 kB / 337.8 MB, free: 10.42 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.865e-05/0.1446, allocations: 29.81 kB / 337.8 MB, free: 10.39 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.1446, allocations: 0 / 337.8 MB, free: 10.39 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/0.1446, allocations: 0 / 337.8 MB, free: 10.39 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.79e-06/0.1446, allocations: 7.875 kB / 337.8 MB, free: 10.38 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001223/0.1459, allocations: 0.634 MB / 338.4 MB, free: 9.695 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1459, allocations: 0 / 338.4 MB, free: 9.695 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002468/0.1461, allocations: 47.89 kB / 338.5 MB, free: 9.648 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1461, allocations: 0 / 338.5 MB, free: 9.648 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.574e-05/0.1462, allocations: 8 kB / 338.5 MB, free: 9.641 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.1462, allocations: 0 / 338.5 MB, free: 9.641 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1462, allocations: 0 / 338.5 MB, free: 9.641 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009772/0.1472, allocations: 499.8 kB / 339 MB, free: 9.137 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.21e-05/0.1472, allocations: 96.86 kB / 339.1 MB, free: 9.023 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.296e-05/0.1473, allocations: 12 kB / 339.1 MB, free: 9.012 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/0.1475, allocations: 19.97 kB / 339.1 MB, free: 8.992 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.244e-05/0.1475, allocations: 11.98 kB / 339.1 MB, free: 8.98 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.757e-05/0.1476, allocations: 8.109 kB / 339.1 MB, free: 8.973 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000147/0.1477, allocations: 151.2 kB / 339.3 MB, free: 8.824 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.205e-06/0.1477, allocations: 0 / 339.3 MB, free: 8.824 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004458/0.1482, allocations: 79.84 kB / 339.3 MB, free: 8.746 MB / 286.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.0005717/0.1488, allocations: 216.9 kB / 339.6 MB, free: 8.535 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007698/0.1496, allocations: 275.5 kB / 339.8 MB, free: 8.266 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1496, allocations: 8.062 kB / 339.8 MB, free: 8.258 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002899/0.1499, allocations: 115.8 kB / 339.9 MB, free: 8.145 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.1502, allocations: 23.94 kB / 340 MB, free: 8.121 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009608/0.1512, allocations: 458.6 kB / 340.4 MB, free: 7.648 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004296/0.1516, allocations: 0.7359 MB / 341.2 MB, free: 6.883 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001356/0.1518, allocations: 29.94 kB / 341.2 MB, free: 6.852 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.546e-05/0.1519, allocations: 31.36 kB / 341.2 MB, free: 6.82 MB / 286.1 MB Notification: Performance of SimCode: time 3e-07/0.1519, allocations: 0 / 341.2 MB, free: 6.82 MB / 286.1 MB Notification: Performance of Templates: time 0.007926/0.1598, allocations: 3.089 MB / 344.3 MB, free: 3.73 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/UniformNoiseProperties/UniformNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches