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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 110.4 kB / 19.16 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 205.6 kB / 22.12 MB, free: 0.9922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.365/1.365, allocations: 207.6 MB / 232.5 MB, free: 3.949 MB / 174.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_NormalNoiseProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_NormalNoiseProperties",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 63.92 kB / 343 MB, free: 10.09 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09769/0.09953, allocations: 49.12 MB / 392.1 MB, free: 8.805 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties): time 0.003815/0.1033, allocations: 1.837 MB / 394 MB, free: 6.957 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002268/0.1056, allocations: 1.302 MB / 395.3 MB, free: 5.645 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.156e-05/0.1057, allocations: 0 / 395.3 MB, free: 5.645 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001429/0.1058, allocations: 19.73 kB / 395.3 MB, free: 5.625 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.1059, allocations: 27.73 kB / 395.3 MB, free: 5.598 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.107, allocations: 315.1 kB / 395.6 MB, free: 5.289 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003073/0.1073, allocations: 223.5 kB / 395.8 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000187/0.1075, allocations: 52.27 kB / 395.9 MB, free: 5.02 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001439/0.1076, allocations: 99.61 kB / 396 MB, free: 4.922 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001672/0.1078, allocations: 107.5 kB / 396.1 MB, free: 4.816 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.385e-05/0.1078, allocations: 24 kB / 396.1 MB, free: 4.793 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005256/0.1084, allocations: 307.4 kB / 396.4 MB, free: 4.492 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.626e-05/0.1084, allocations: 63.81 kB / 396.5 MB, free: 4.43 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.1086, allocations: 99.39 kB / 396.6 MB, free: 4.332 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005838/0.1092, allocations: 402.6 kB / 397 MB, free: 3.938 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.1092, allocations: 4 kB / 397 MB, free: 3.934 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1092, allocations: 0 / 397 MB, free: 3.934 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.371e-05/0.1092, allocations: 0 / 397 MB, free: 3.934 MB / 318.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.001419/0.1106, allocations: 0.585 MB / 397.6 MB, free: 3.301 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.1106, allocations: 12.03 kB / 397.6 MB, free: 3.289 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.291e-05/0.1107, allocations: 12.05 kB / 397.6 MB, free: 3.277 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.122e-05/0.1108, allocations: 58.69 kB / 397.6 MB, free: 3.211 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002562/0.111, allocations: 36.78 kB / 397.7 MB, free: 3.176 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003333/0.1114, allocations: 232.9 kB / 397.9 MB, free: 2.91 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.337e-05/0.1114, allocations: 16.38 kB / 397.9 MB, free: 2.895 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.344e-05/0.1115, allocations: 24.33 kB / 397.9 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005474/0.112, allocations: 221.2 kB / 398.2 MB, free: 2.648 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.112, allocations: 3.938 kB / 398.2 MB, free: 2.645 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.323e-05/0.112, allocations: 4 kB / 398.2 MB, free: 2.641 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.112, allocations: 4 kB / 398.2 MB, free: 2.637 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004882/0.1125, allocations: 151.9 kB / 398.3 MB, free: 2.488 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.1137, allocations: 0.5974 MB / 398.9 MB, free: 1.84 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/0.1149, allocations: 318.5 kB / 399.2 MB, free: 1.52 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003349/0.1153, allocations: 124.8 kB / 399.4 MB, free: 1.395 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.113e-05/0.1153, allocations: 19.94 kB / 399.4 MB, free: 1.375 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004604/0.1158, allocations: 171.3 kB / 399.5 MB, free: 1.195 MB / 318.1 MB Notification: Performance of pre-optimization done (n=26): time 2.425e-06/0.1158, allocations: 0 / 399.5 MB, free: 1.195 MB / 318.1 MB Notification: Performance of matching and sorting (n=33): time 0.003141/0.1189, allocations: 1.094 MB / 400.6 MB, free: 52 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.883e-05/0.119, allocations: 71.38 kB / 400.7 MB, free: 15.97 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/0.1192, allocations: 207.8 kB / 400.9 MB, free: 15.75 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.617e-05/0.1193, allocations: 41.7 kB / 400.9 MB, free: 15.71 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.1194, allocations: 136.8 kB / 401.1 MB, free: 15.57 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.1195, allocations: 107.1 kB / 401.2 MB, free: 15.46 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.1196, allocations: 86.09 kB / 401.3 MB, free: 15.38 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.1198, allocations: 342.8 kB / 401.6 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004491/0.1202, allocations: 164.8 kB / 401.8 MB, free: 14.87 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004643/0.1207, allocations: 194.4 kB / 402 MB, free: 14.67 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008013/0.1215, allocations: 329 kB / 402.3 MB, free: 14.34 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1215, allocations: 3.938 kB / 402.3 MB, free: 14.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.00107/0.1226, allocations: 447.8 kB / 402.7 MB, free: 13.9 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.1226, allocations: 4 kB / 402.7 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.1226, allocations: 0 / 402.7 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/0.1226, allocations: 4 kB / 402.7 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000406/0.123, allocations: 95.89 kB / 402.8 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.123, allocations: 7.938 kB / 402.8 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001845/0.1232, allocations: 23.97 kB / 402.8 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.295e-05/0.1233, allocations: 12 kB / 402.9 MB, free: 13.75 MB / 334.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 (49): * Single equations (assignments): 48 * 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.0001999/0.1235, allocations: 157.6 kB / 403 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.683e-05/0.1235, allocations: 27.81 kB / 403 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.897e-05/0.1236, allocations: 30.64 kB / 403.1 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.1236, allocations: 4 kB / 403.1 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.1236, allocations: 0 / 403.1 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.1236, allocations: 0 / 403.1 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001681/0.1253, allocations: 0.8023 MB / 403.9 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.1253, allocations: 4 kB / 403.9 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003326/0.1256, allocations: 63.95 kB / 403.9 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.877e-06/0.1256, allocations: 7.984 kB / 404 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.962e-05/0.1257, allocations: 12 kB / 404 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.1257, allocations: 0 / 404 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.1257, allocations: 0 / 404 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0015/0.1272, allocations: 0.6026 MB / 404.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.91e-05/0.1272, allocations: 101 kB / 404.7 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.571e-05/0.1273, allocations: 12.06 kB / 404.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002367/0.1275, allocations: 23.97 kB / 404.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.774e-05/0.1276, allocations: 20.2 kB / 404.7 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.341e-05/0.1276, allocations: 19.88 kB / 404.7 MB, free: 11.76 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001545/0.1278, allocations: 153.5 kB / 404.9 MB, free: 11.61 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1278, allocations: 4 kB / 404.9 MB, free: 11.61 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000508/0.1283, allocations: 107.8 kB / 405 MB, free: 11.5 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (29): * Single equations (assignments): 27 * 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.002387/0.1307, allocations: 1.307 MB / 406.3 MB, free: 10.16 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009714/0.1316, allocations: 346.2 kB / 406.6 MB, free: 9.824 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1316, allocations: 4.062 kB / 406.6 MB, free: 9.82 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004215/0.1321, allocations: 148 kB / 406.8 MB, free: 9.676 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003658/0.1324, allocations: 40.02 kB / 406.8 MB, free: 9.637 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005109/0.1375, allocations: 3.117 MB / 409.9 MB, free: 6.418 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004199/0.138, allocations: 0.7599 MB / 410.7 MB, free: 5.633 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001516/0.1381, allocations: 42.27 kB / 410.7 MB, free: 5.59 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001743/0.1383, allocations: 79.41 kB / 410.8 MB, free: 5.512 MB / 334.1 MB Notification: Performance of SimCode: time 1.403e-06/0.1383, allocations: 0 / 410.8 MB, free: 5.512 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02878/0.1671, allocations: 7.011 MB / 417.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.674/8.841, allocations: 4.984 kB / 417.8 MB, free: 14.45 MB / 350.1 MB " [Timeout remaining time 651] (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/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 --stepSize=0.004 --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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.167192578024697] Failed to read output from testmodel.py, exit status != 0: ['time', 'mean.mu', 'standardDeviation.variance.mu', 'standardDeviation.variance.var', 'variance.mu', 'variance.var', 'meanError_y', 'sigmaError_y'] 8.970265673007816 8.986371992 8.873926743 Calling exit ...