Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_ActuatorWithNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_ActuatorWithNoise",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001082/0.001083, allocations: 172.9 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.521/1.521, allocations: 205.2 MB / 219.8 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008934/0.0008934, allocations: 86.72 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.141e-05/3.152e-05, allocations: 4 kB / 322.5 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09004/0.09009, allocations: 47.57 MB / 370.1 MB, free: 1.617 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.366/0.4561, allocations: 124.5 MB / 494.6 MB, free: 1.359 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002458/0.4564, allocations: 81.92 kB / 494.7 MB, free: 1.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3877/0.8442, allocations: 79.19 MB / 0.5604 GB, free: 97.26 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.8442, allocations: 0 / 0.5604 GB, free: 97.26 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004149/0.8446, allocations: 84.88 kB / 0.5605 GB, free: 97.25 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 814 * Number of variables: 814 Notification: Performance of Generate backend data structure: time 0.01042/0.8551, allocations: 3.301 MB / 0.5638 GB, free: 95.85 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.8551, allocations: 7.375 kB / 0.5638 GB, free: 95.85 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001527/0.8567, allocations: 448 kB / 0.5642 GB, free: 95.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001919/0.8586, allocations: 465.2 kB / 0.5646 GB, free: 95.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006093/0.8647, allocations: 2.544 MB / 0.5671 GB, free: 95.06 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004865/0.8652, allocations: 368.4 kB / 0.5675 GB, free: 94.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009903/0.8662, allocations: 316.5 kB / 0.5678 GB, free: 94.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007416/0.8737, allocations: 4.093 MB / 0.5718 GB, free: 93.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.999e-05/0.8738, allocations: 7.281 kB / 0.5718 GB, free: 93.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003177/0.8741, allocations: 141.9 kB / 0.5719 GB, free: 93.28 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001199/0.8743, allocations: 142 kB / 0.572 GB, free: 93.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005424/0.8797, allocations: 3.494 MB / 0.5755 GB, free: 91.86 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02036/0.9001, allocations: 14.04 MB / 0.5892 GB, free: 84.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002548/0.9027, allocations: 2.102 MB / 0.5912 GB, free: 83.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00147/0.9042, allocations: 1.194 MB / 0.5924 GB, free: 82.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003108/0.9045, allocations: 234.8 kB / 0.5926 GB, free: 82.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001541/0.906, allocations: 1.242 MB / 0.5938 GB, free: 81.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=193): time 3.827e-06/0.9061, allocations: 0 / 0.5938 GB, free: 81.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=244): time 0.02142/0.9275, allocations: 10.97 MB / 0.6045 GB, free: 75.36 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003403/0.9309, allocations: 3.524 MB / 0.608 GB, free: 71.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003025/0.934, allocations: 1.956 MB / 0.6099 GB, free: 70.19 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005969/0.9346, allocations: 77.36 kB / 0.6099 GB, free: 70.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001142/0.9358, allocations: 1.475 MB / 0.6114 GB, free: 68.78 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007551/0.9365, allocations: 0.8208 MB / 0.6122 GB, free: 68.04 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.9367, allocations: 52 kB / 0.6122 GB, free: 67.99 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.9368, allocations: 414.7 kB / 0.6126 GB, free: 67.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001716/0.9385, allocations: 1.264 MB / 0.6139 GB, free: 66.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001865/0.9404, allocations: 1.9 MB / 0.6157 GB, free: 64.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001906/0.9423, allocations: 1.525 MB / 0.6172 GB, free: 63.03 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.298e-06/0.9423, allocations: 4 kB / 0.6172 GB, free: 63.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=347) (initialization): time 0.00562/0.948, allocations: 3.848 MB / 0.621 GB, free: 59.47 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.327e-05/0.948, allocations: 12 kB / 0.621 GB, free: 59.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.095e-05/0.9481, allocations: 16 kB / 0.621 GB, free: 59.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001117/0.9492, allocations: 0.4906 MB / 0.6215 GB, free: 59.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002524/0.9517, allocations: 0.6861 MB / 0.6222 GB, free: 58.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004321/0.9561, allocations: 4.627 MB / 0.6267 GB, free: 53.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002659/0.9588, allocations: 205.5 kB / 0.6269 GB, free: 53.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003699/0.9591, allocations: 111.4 kB / 0.627 GB, free: 53.6 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition1,$PRE.motor.uniformNoise.state[1],motor.uniformNoise.state[1],$PRE.motor.uniformNoise.state[2],motor.uniformNoise.state[2],$PRE.motor.uniformNoise.state[3],motor.uniformNoise.state[3],$PRE.motor.uniformNoise.state[4],motor.uniformNoise.state[4],$PRE.motor.uniformNoise.r,motor.uniformNoise.r,$PRE.motor.uniformNoise.r_raw,motor.uniformNoise.r_raw,gearbox.lossyGear.tau_aPos,gearbox.lossyGear.startForward,gearbox.lossyGear.startBackward,gearbox.lossyGear.locked,$PRE.gearbox.lossyGear.mode,gearbox.lossyGear.mode,gearbox.lossyGear.ideal,motor.uniformNoise.localSeed,motor.uniformNoise.actualGlobalSeed,globalSeed.seed,globalSeed.id_impure) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (316): * Single equations (assignments): 310 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {2 23} Notification: Performance of prepare postOptimizeDAE: time 0.0005296/0.9597, allocations: 279.8 kB / 0.6272 GB, free: 53.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005181/0.9602, allocations: 264.7 kB / 0.6275 GB, free: 53.06 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005705/0.9659, allocations: 3.561 MB / 0.631 GB, free: 49.97 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-05/0.966, allocations: 24 kB / 0.631 GB, free: 49.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.966, allocations: 4 kB / 0.631 GB, free: 49.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.16e-05/0.966, allocations: 14.31 kB / 0.631 GB, free: 49.94 MB / 410.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01418/0.9802, allocations: 9.29 MB / 0.6401 GB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/0.9803, allocations: 3.953 kB / 0.6401 GB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001878/0.9821, allocations: 471.4 kB / 0.6405 GB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001499/0.9837, allocations: 0.6436 MB / 0.6412 GB, free: 39.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001837/0.9839, allocations: 59.97 kB / 0.6412 GB, free: 39.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007279/0.9912, allocations: 7.712 MB / 0.6488 GB, free: 31.46 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003248/0.9944, allocations: 3.3 MB / 0.652 GB, free: 28.03 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007594/1.002, allocations: 5.367 MB / 0.6572 GB, free: 22.56 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001962/1.004, allocations: 0.6461 MB / 0.6578 GB, free: 21.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005021/1.005, allocations: 52.11 kB / 0.6579 GB, free: 21.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001531/1.006, allocations: 167.8 kB / 0.6581 GB, free: 21.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004675/1.007, allocations: 205.6 kB / 0.6583 GB, free: 21.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001526/1.007, allocations: 69.28 kB / 0.6583 GB, free: 21.41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002357/1.009, allocations: 1.483 MB / 0.6598 GB, free: 19.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.91e-07/1.009, allocations: 0 / 0.6598 GB, free: 19.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003218/1.012, allocations: 0.8514 MB / 0.6606 GB, free: 19.05 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 11 ($STATESET1.x,controller.speed_PI.x,controller.positionToSpeed.x,controller.position_PI.x,gearbox.phi_rel,gearbox.w_rel,slewRateLimiter.y,rodMass.s,rodMass.v,elastoGap.s_rel,elastoGap.v_rel) * Number of discrete variables: 12 ($whenCondition1,motor.uniformNoise.state[1],motor.uniformNoise.state[2],motor.uniformNoise.state[3],motor.uniformNoise.state[4],motor.uniformNoise.r,motor.uniformNoise.r_raw,gearbox.lossyGear.tau_aPos,gearbox.lossyGear.startForward,gearbox.lossyGear.startBackward,gearbox.lossyGear.locked,gearbox.lossyGear.mode) * Number of discrete states: 5 (motor.uniformNoise.state[1],motor.uniformNoise.state[2],motor.uniformNoise.state[3],motor.uniformNoise.state[4],gearbox.lossyGear.mode) * Top-level inputs: 0 Notification: Strong component statistics for simulation (204): * Single equations (assignments): 198 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(3,100.0%) 11} * Non-linear torn systems: 1 {2 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.008578/1.021, allocations: 6.792 MB / 0.6672 GB, free: 12.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005357/1.026, allocations: 3.612 MB / 0.6708 GB, free: 8.559 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/1.026, allocations: 4 kB / 0.6708 GB, free: 8.555 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003061/1.029, allocations: 2.199 MB / 0.6729 GB, free: 6.297 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003478/1.033, allocations: 0.5937 MB / 0.6735 GB, free: 5.719 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01743/1.05, allocations: 6.822 MB / 0.6802 GB, free: 14.83 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002766/1.053, allocations: 2.455 MB / 0.6826 GB, free: 12.35 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003432/1.057, allocations: 0.6139 MB / 0.6831 GB, free: 11.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003325/1.06, allocations: 1.339 MB / 0.6845 GB, free: 10.39 MB / 426.7 MB Notification: Performance of SimCode: time 1.924e-06/1.06, allocations: 0 / 0.6845 GB, free: 10.39 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3932/1.453, allocations: 72.42 MB / 0.7552 GB, free: 86.35 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001651/1.454, allocations: 241 kB / 0.7554 GB, free: 86.09 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.891/6.345, allocations: 0 / 0.7554 GB, free: 86.09 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_ActuatorWithNoise_fmu --startTime=0 --stopTime=8 --timeout=50 --tolerance=1e-05 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_ActuatorWithNoise.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise_res.mat does not exist to compare? outputFormat=mat