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: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 96.5 kB / 16.93 MB, free: 5.984 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.001112/0.001112, allocations: 179.1 kB / 17.82 MB, free: 5.652 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.417/1.417, allocations: 205.4 MB / 224 MB, free: 13.17 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.0004767/0.0004769, allocations: 11.98 kB / 280.8 MB, free: 3.652 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1035, allocations: 47.57 MB / 328.4 MB, free: 4.008 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties): time 0.002165/0.1058, allocations: 1.518 MB / 329.9 MB, free: 2.477 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002207/0.108, allocations: 1.198 MB / 331.1 MB, free: 1.27 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.434e-05/0.1081, allocations: 4 kB / 331.1 MB, free: 1.266 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001248/0.1082, allocations: 15.8 kB / 331.2 MB, free: 1.25 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.462e-05/0.1083, allocations: 19.97 kB / 331.2 MB, free: 1.23 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007258/0.1091, allocations: 243.3 kB / 331.4 MB, free: 0.9922 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001797/0.1093, allocations: 123.8 kB / 331.5 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001679/0.1094, allocations: 60.03 kB / 331.6 MB, free: 0.8125 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.49e-05/0.1095, allocations: 71.69 kB / 331.7 MB, free: 0.7422 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.1097, allocations: 95.58 kB / 331.8 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.888e-05/0.1097, allocations: 8 kB / 331.8 MB, free: 0.6406 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004367/0.1102, allocations: 287.6 kB / 332 MB, free: 368 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.977e-05/0.1102, allocations: 47.75 kB / 332.1 MB, free: 320 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.502e-05/0.1103, allocations: 49.64 kB / 332.1 MB, free: 264 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003888/0.1107, allocations: 275.8 kB / 332.4 MB, free: 15.98 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1107, allocations: 0 / 332.4 MB, free: 15.98 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.1107, allocations: 0 / 332.4 MB, free: 15.98 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.383e-06/0.1108, allocations: 0 / 332.4 MB, free: 15.98 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.001045/0.1118, allocations: 0.566 MB / 333 MB, free: 15.38 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.1119, allocations: 12.03 kB / 333 MB, free: 15.36 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.094e-05/0.1119, allocations: 46.55 kB / 333 MB, free: 15.31 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001985/0.1122, allocations: 39.7 kB / 333.1 MB, free: 15.27 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002439/0.1124, allocations: 227.5 kB / 333.3 MB, free: 15.01 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/0.1124, allocations: 16 kB / 333.3 MB, free: 14.99 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.124e-05/0.1125, allocations: 24 kB / 333.3 MB, free: 14.97 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004786/0.113, allocations: 218.4 kB / 333.5 MB, free: 14.75 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.113, allocations: 0 / 333.5 MB, free: 14.75 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.033e-05/0.113, allocations: 11.94 kB / 333.6 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.113, allocations: 4 kB / 333.6 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000453/0.1135, allocations: 180.1 kB / 333.7 MB, free: 14.55 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009715/0.1145, allocations: 0.5942 MB / 334.3 MB, free: 13.91 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.1155, allocations: 382.8 kB / 334.7 MB, free: 13.53 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.1156, allocations: 160 / 334.7 MB, free: 13.53 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003897/0.116, allocations: 183.8 kB / 334.9 MB, free: 13.34 MB / 286.1 MB Notification: Performance of pre-optimization done (n=22): time 1.613e-06/0.116, allocations: 0 / 334.9 MB, free: 13.34 MB / 286.1 MB Notification: Performance of matching and sorting (n=22): time 0.001043/0.117, allocations: 0.4934 MB / 335.4 MB, free: 12.82 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.1171, allocations: 63.34 kB / 335.4 MB, free: 12.75 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.1173, allocations: 207.8 kB / 335.6 MB, free: 12.53 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.516e-05/0.1173, allocations: 37.7 kB / 335.7 MB, free: 12.48 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.592e-05/0.1174, allocations: 136.6 kB / 335.8 MB, free: 12.35 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.259e-05/0.1175, allocations: 67.02 kB / 335.9 MB, free: 12.28 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.46e-05/0.1175, allocations: 4 kB / 335.9 MB, free: 12.28 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.1176, allocations: 338.8 kB / 336.2 MB, free: 11.94 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003416/0.118, allocations: 151.9 kB / 336.4 MB, free: 11.79 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003463/0.1183, allocations: 173.6 kB / 336.5 MB, free: 11.61 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003306/0.1187, allocations: 158.5 kB / 336.7 MB, free: 11.46 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.1187, allocations: 0 / 336.7 MB, free: 11.46 MB / 286.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007893/0.1195, allocations: 424.8 kB / 337.1 MB, free: 11.04 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.1195, allocations: 4 kB / 337.1 MB, free: 11.04 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.1195, allocations: 4 kB / 337.1 MB, free: 11.03 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.1195, allocations: 0 / 337.1 MB, free: 11.03 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003074/0.1199, allocations: 71.89 kB / 337.2 MB, free: 10.96 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.1199, allocations: 7.938 kB / 337.2 MB, free: 10.95 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001725/0.1201, allocations: 63.59 kB / 337.2 MB, free: 10.89 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.457e-05/0.1201, allocations: 8 kB / 337.3 MB, free: 10.88 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,$PRE.noise.state[1],noise.state[1],$PRE.noise.state[2],noise.state[2],$PRE.noise.state[3],noise.state[3],$PRE.noise.state[4],noise.state[4],$PRE.noise.r,noise.r,$PRE.noise.r_raw,noise.r_raw,globalSeed.id_impure,noise.localSeed,noise.actualGlobalSeed,globalSeed.seed) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000152/0.1202, allocations: 150.1 kB / 337.4 MB, free: 10.73 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.986e-05/0.1203, allocations: 19.72 kB / 337.4 MB, free: 10.71 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.436e-05/0.1203, allocations: 21.86 kB / 337.4 MB, free: 10.68 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.1204, allocations: 4 kB / 337.4 MB, free: 10.68 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.1204, allocations: 0 / 337.4 MB, free: 10.68 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1204, allocations: 0 / 337.4 MB, free: 10.68 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.1215, allocations: 0.6777 MB / 338.1 MB, free: 9.945 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.1215, allocations: 0 / 338.1 MB, free: 9.945 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002443/0.1218, allocations: 59.95 kB / 338.2 MB, free: 9.887 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1218, allocations: 0 / 338.2 MB, free: 9.887 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/0.1218, allocations: 8 kB / 338.2 MB, free: 9.879 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1218, allocations: 0 / 338.2 MB, free: 9.879 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.1218, allocations: 0 / 338.2 MB, free: 9.879 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.1228, allocations: 0.5537 MB / 338.7 MB, free: 9.312 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.598e-05/0.1229, allocations: 92.98 kB / 338.8 MB, free: 9.203 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.774e-05/0.1229, allocations: 7.984 kB / 338.8 MB, free: 9.195 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.1231, allocations: 31.98 kB / 338.9 MB, free: 9.164 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.982e-05/0.1232, allocations: 15.97 kB / 338.9 MB, free: 9.148 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.1232, allocations: 8 kB / 338.9 MB, free: 9.141 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001232/0.1233, allocations: 147.2 kB / 339 MB, free: 8.996 MB / 286.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1233, allocations: 0 / 339 MB, free: 8.996 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004464/0.1238, allocations: 107.8 kB / 339.1 MB, free: 8.891 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001737/0.1255, allocations: 1.249 MB / 340.4 MB, free: 7.625 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007017/0.1263, allocations: 323.2 kB / 340.7 MB, free: 7.312 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.1263, allocations: 8.062 kB / 340.7 MB, free: 7.305 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003025/0.1266, allocations: 127.9 kB / 340.8 MB, free: 7.18 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.1268, allocations: 32.11 kB / 340.9 MB, free: 7.148 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.128, allocations: 0.9668 MB / 341.8 MB, free: 6.133 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.1283, allocations: 0.7479 MB / 342.6 MB, free: 5.359 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001151/0.1284, allocations: 29.94 kB / 342.6 MB, free: 5.328 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.1286, allocations: 71.41 kB / 342.7 MB, free: 5.258 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1286, allocations: 0 / 342.7 MB, free: 5.258 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01596/0.1445, allocations: 5.553 MB / 348.2 MB, free: 15.7 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001784/0.1448, allocations: 232.7 kB / 348.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.797/1.942, allocations: 0 / 348.5 MB, free: 15.45 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_NormalNoiseProperties_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-09 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_NormalNoiseProperties.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties_res.mat does not exist to compare? outputFormat=mat