Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.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.NormalNoiseProperties,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.NormalNoiseProperties") translateModel(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties,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.NormalNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 104.2 kB / 17.58 MB, free: 5.559 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.001148/0.001149, allocations: 192 kB / 18.51 MB, free: 4.641 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.563/1.563, allocations: 205.1 MB / 224.4 MB, free: 12.31 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.001406/0.001406, allocations: 55.92 kB / 280.7 MB, free: 3.172 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1275, allocations: 46.63 MB / 327.3 MB, free: 4.473 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties): time 0.005131/0.1327, allocations: 1.824 MB / 329.1 MB, free: 2.625 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00273/0.1354, allocations: 1.275 MB / 330.4 MB, free: 1.34 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001755/0.1357, allocations: 0 / 330.4 MB, free: 1.34 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001592/0.1359, allocations: 23.67 kB / 330.4 MB, free: 1.316 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001567/0.136, allocations: 35.72 kB / 330.4 MB, free: 1.281 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001411/0.1374, allocations: 307.1 kB / 330.7 MB, free: 0.9805 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003869/0.1378, allocations: 219.5 kB / 331 MB, free: 0.7656 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002715/0.1381, allocations: 76.03 kB / 331 MB, free: 0.6914 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002346/0.1384, allocations: 91.64 kB / 331.1 MB, free: 0.6016 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002192/0.1386, allocations: 111.5 kB / 331.2 MB, free: 0.4922 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.698e-05/0.1387, allocations: 24 kB / 331.3 MB, free: 480 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006866/0.1394, allocations: 295.5 kB / 331.5 MB, free: 184 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.724e-05/0.1395, allocations: 51.83 kB / 331.6 MB, free: 132 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.1396, allocations: 107.4 kB / 331.7 MB, free: 24 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008033/0.1404, allocations: 391.3 kB / 332.1 MB, free: 15.64 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.1405, allocations: 0 / 332.1 MB, free: 15.64 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.469e-06/0.1405, allocations: 0 / 332.1 MB, free: 15.64 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.888e-06/0.1405, allocations: 3.938 kB / 332.1 MB, free: 15.64 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.001438/0.1419, allocations: 0.574 MB / 332.7 MB, free: 15.02 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.142, allocations: 16.03 kB / 332.7 MB, free: 15 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002992/0.1423, allocations: 32.64 kB / 332.7 MB, free: 14.97 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003342/0.1426, allocations: 236.7 kB / 332.9 MB, free: 14.7 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.376e-05/0.1427, allocations: 16.66 kB / 333 MB, free: 14.68 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.527e-05/0.1427, allocations: 20.38 kB / 333 MB, free: 14.66 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005264/0.1433, allocations: 202.9 kB / 333.2 MB, free: 14.46 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.1433, allocations: 7.984 kB / 333.2 MB, free: 14.45 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.745e-05/0.1433, allocations: 8 kB / 333.2 MB, free: 14.45 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.1433, allocations: 4 kB / 333.2 MB, free: 14.44 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004609/0.1438, allocations: 148.1 kB / 333.3 MB, free: 14.3 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001171/0.145, allocations: 0.5816 MB / 333.9 MB, free: 13.66 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/0.1461, allocations: 306.6 kB / 334.2 MB, free: 13.36 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002943/0.1464, allocations: 116.7 kB / 334.3 MB, free: 13.24 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.1464, allocations: 8 kB / 334.3 MB, free: 13.23 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004135/0.1468, allocations: 167.2 kB / 334.5 MB, free: 13.05 MB / 286.1 MB Notification: Performance of pre-optimization done (n=22): time 1.864e-06/0.1469, allocations: 0 / 334.5 MB, free: 13.05 MB / 286.1 MB Notification: Performance of matching and sorting (n=22): time 0.001056/0.1479, allocations: 353.1 kB / 334.8 MB, free: 12.7 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.999e-05/0.148, allocations: 59.39 kB / 334.9 MB, free: 12.63 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002802/0.1483, allocations: 211.7 kB / 335.1 MB, free: 12.41 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.031e-05/0.1483, allocations: 41.7 kB / 335.1 MB, free: 12.36 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.1485, allocations: 128.7 kB / 335.3 MB, free: 12.23 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.939e-05/0.1485, allocations: 70.92 kB / 335.3 MB, free: 12.16 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.1487, allocations: 73.67 kB / 335.4 MB, free: 12.09 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1488, allocations: 334.8 kB / 335.7 MB, free: 11.75 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003478/0.1492, allocations: 131.8 kB / 335.9 MB, free: 11.62 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003806/0.1496, allocations: 165.4 kB / 336 MB, free: 11.45 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006514/0.1502, allocations: 260.6 kB / 336.3 MB, free: 11.2 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.872e-06/0.1503, allocations: 7.938 kB / 336.3 MB, free: 11.19 MB / 286.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008359/0.1511, allocations: 378.6 kB / 336.7 MB, free: 10.81 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.1511, allocations: 7.125 kB / 336.7 MB, free: 10.81 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.1511, allocations: 4 kB / 336.7 MB, free: 10.8 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.477e-05/0.1512, allocations: 4.031 kB / 336.7 MB, free: 10.8 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002975/0.1515, allocations: 63.89 kB / 336.7 MB, free: 10.74 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.1515, allocations: 4 kB / 336.7 MB, free: 10.73 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001848/0.1517, allocations: 39.72 kB / 336.8 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.493e-05/0.1517, allocations: 8 kB / 336.8 MB, free: 10.69 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.0001646/0.1519, allocations: 153.6 kB / 336.9 MB, free: 10.53 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.788e-05/0.1519, allocations: 15.81 kB / 337 MB, free: 10.51 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.083e-05/0.152, allocations: 25.86 kB / 337 MB, free: 10.48 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.152, allocations: 0 / 337 MB, free: 10.48 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.152, allocations: 4 kB / 337 MB, free: 10.48 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1521, allocations: 0 / 337 MB, free: 10.48 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.1532, allocations: 0.6385 MB / 337.6 MB, free: 9.785 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.1532, allocations: 0 / 337.6 MB, free: 9.785 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002411/0.1535, allocations: 43.95 kB / 337.7 MB, free: 9.742 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.1535, allocations: 4 kB / 337.7 MB, free: 9.738 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.224e-05/0.1535, allocations: 8 kB / 337.7 MB, free: 9.73 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.1535, allocations: 3.938 kB / 337.7 MB, free: 9.727 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.1535, allocations: 3.984 kB / 337.7 MB, free: 9.723 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.1546, allocations: 495.9 kB / 338.2 MB, free: 9.223 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.787e-05/0.1547, allocations: 92.86 kB / 338.3 MB, free: 9.113 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.187e-05/0.1548, allocations: 12 kB / 338.3 MB, free: 9.102 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/0.155, allocations: 23.97 kB / 338.3 MB, free: 9.078 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.106e-05/0.1551, allocations: 11.98 kB / 338.3 MB, free: 9.066 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.1551, allocations: 11.98 kB / 338.3 MB, free: 9.055 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001597/0.1553, allocations: 147.2 kB / 338.5 MB, free: 8.91 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1553, allocations: 3.938 kB / 338.5 MB, free: 8.906 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005621/0.1558, allocations: 107.9 kB / 338.6 MB, free: 8.801 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.0009189/0.1568, allocations: 285.1 kB / 338.9 MB, free: 8.523 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009001/0.1577, allocations: 299.4 kB / 339.1 MB, free: 8.23 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.1577, allocations: 0 / 339.1 MB, free: 8.23 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003225/0.158, allocations: 115.9 kB / 339.3 MB, free: 8.117 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003855/0.1584, allocations: 36.11 kB / 339.3 MB, free: 8.082 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.1595, allocations: 446.7 kB / 339.7 MB, free: 7.621 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004338/0.16, allocations: 0.7398 MB / 340.5 MB, free: 6.852 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001489/0.1601, allocations: 29.94 kB / 340.5 MB, free: 6.82 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.208e-05/0.1602, allocations: 27.42 kB / 340.5 MB, free: 6.793 MB / 286.1 MB Notification: Performance of SimCode: time 9.22e-07/0.1602, allocations: 0 / 340.5 MB, free: 6.793 MB / 286.1 MB Notification: Performance of Templates: time 0.009918/0.1701, allocations: 3.736 MB / 344.3 MB, free: 3.055 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches