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.001386/0.001386, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.515/1.515, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007925/0.0007925, allocations: 78.72 kB / 262.4 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.472e-05/2.47e-05, allocations: 7.984 kB / 315.6 MB, free: 22.62 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09207/0.09211, allocations: 47.58 MB / 363.2 MB, free: 6.977 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3733/0.4654, allocations: 124.1 MB / 487.3 MB, free: 3.867 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/0.4657, allocations: 85.7 kB / 487.4 MB, free: 3.824 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3869/0.8526, allocations: 78.29 MB / 0.5524 GB, free: 94.67 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.8527, allocations: 0 / 0.5524 GB, free: 94.67 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002627/0.853, allocations: 85.58 kB / 0.5525 GB, free: 94.66 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.007091/0.8601, allocations: 3.307 MB / 0.5557 GB, free: 93.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.8601, allocations: 9.938 kB / 0.5557 GB, free: 93.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001318/0.8614, allocations: 455.2 kB / 0.5561 GB, free: 93.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003858/0.8653, allocations: 2.559 MB / 0.5586 GB, free: 92.53 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003303/0.8657, allocations: 259.8 kB / 0.5589 GB, free: 92.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003792/0.8661, allocations: 188.9 kB / 0.5591 GB, free: 92.42 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004734/0.8708, allocations: 3.298 MB / 0.5623 GB, free: 92.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005003/0.8758, allocations: 3.645 MB / 0.5659 GB, free: 91.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.002e-05/0.8759, allocations: 10.94 kB / 0.5659 GB, free: 91.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002601/0.8762, allocations: 3.875 kB / 0.5659 GB, free: 91.98 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001107/0.8763, allocations: 142.5 kB / 0.566 GB, free: 91.97 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01701/0.8933, allocations: 13.42 MB / 0.5791 GB, free: 86.26 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002245/0.8956, allocations: 2.051 MB / 0.5811 GB, free: 85.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001339/0.897, allocations: 1.159 MB / 0.5822 GB, free: 84.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003281/0.8973, allocations: 234.3 kB / 0.5825 GB, free: 84.49 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001393/0.8987, allocations: 1.2 MB / 0.5836 GB, free: 83.97 MB / 410.7 MB Notification: Performance of pre-optimization done (n=197): time 3.146e-06/0.8987, allocations: 0 / 0.5836 GB, free: 83.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=250): time 0.01584/0.9146, allocations: 9.484 MB / 0.5929 GB, free: 79.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.491e-05/0.9147, allocations: 195.4 kB / 0.5931 GB, free: 79.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002392/0.9171, allocations: 1.626 MB / 0.5947 GB, free: 79.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002025/0.9173, allocations: 40.78 kB / 0.5947 GB, free: 79.03 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001051/0.9184, allocations: 1.482 MB / 0.5962 GB, free: 77.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005187/0.9189, allocations: 0.8052 MB / 0.5969 GB, free: 77.26 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/0.9191, allocations: 0 / 0.5969 GB, free: 77.26 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.9192, allocations: 425.1 kB / 0.5974 GB, free: 76.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001494/0.9207, allocations: 1.232 MB / 0.5986 GB, free: 76.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001697/0.9224, allocations: 1.841 MB / 0.6004 GB, free: 75.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00197/0.9244, allocations: 1.503 MB / 0.6018 GB, free: 74.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-05/0.9244, allocations: 7.531 kB / 0.6018 GB, free: 74.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=353) (initialization): time 0.005188/0.9296, allocations: 3.617 MB / 0.6054 GB, free: 72.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.159e-05/0.9297, allocations: 12 kB / 0.6054 GB, free: 72.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.064e-05/0.9297, allocations: 16 kB / 0.6054 GB, free: 72.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001046/0.9307, allocations: 498.4 kB / 0.6059 GB, free: 71.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002499/0.9333, allocations: 0.6973 MB / 0.6065 GB, free: 71.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004113/0.9374, allocations: 4.486 MB / 0.6109 GB, free: 66.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002323/0.9397, allocations: 149.8 kB / 0.6111 GB, free: 66.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000233/0.94, allocations: 115.9 kB / 0.6112 GB, free: 66.62 MB / 410.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: gearbox.flange_a.tau:VARIABLE(flow=true unit = "N.m" ) "Cut torque in the flange" type: Real gearbox.lossyGear.sa:VARIABLE(unit = "1" ) "Path parameter for acceleration and torque loss" type: Real 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 (322): * Single equations (assignments): 316 * 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.0005175/0.9405, allocations: 200.4 kB / 0.6114 GB, free: 66.43 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004645/0.9451, allocations: 3.164 MB / 0.6145 GB, free: 63.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004133/0.9456, allocations: 245 kB / 0.6147 GB, free: 63.35 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00515/0.9507, allocations: 3.409 MB / 0.618 GB, free: 60.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.465e-05/0.9508, allocations: 24 kB / 0.618 GB, free: 60.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.9508, allocations: 0 / 0.618 GB, free: 60.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.147e-05/0.9508, allocations: 10.69 kB / 0.6181 GB, free: 60.4 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.01593/0.9667, allocations: 8.9 MB / 0.6267 GB, free: 53.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.164e-05/0.9668, allocations: 0 / 0.6267 GB, free: 53.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002058/0.9689, allocations: 485.3 kB / 0.6272 GB, free: 52.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001548/0.9704, allocations: 0.6531 MB / 0.6278 GB, free: 52.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002191/0.9707, allocations: 18.52 kB / 0.6279 GB, free: 52.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007251/0.9779, allocations: 7.515 MB / 0.6352 GB, free: 45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002998/0.981, allocations: 3.234 MB / 0.6384 GB, free: 41.97 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008327/0.9893, allocations: 5.291 MB / 0.6435 GB, free: 37.06 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002016/0.9914, allocations: 0.6259 MB / 0.6441 GB, free: 36.49 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009696/0.9924, allocations: 19.25 kB / 0.6442 GB, free: 36.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001946/0.9943, allocations: 126 kB / 0.6443 GB, free: 36.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004582/0.9948, allocations: 209.6 kB / 0.6445 GB, free: 36.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001602/0.995, allocations: 75.11 kB / 0.6445 GB, free: 36.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001878/0.9969, allocations: 1.214 MB / 0.6457 GB, free: 35.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-07/0.9969, allocations: 0 / 0.6457 GB, free: 35.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00313/1, allocations: 0.7372 MB / 0.6465 GB, free: 34.37 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 (208): * Single equations (assignments): 202 * 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.008072/1.008, allocations: 6.7 MB / 0.653 GB, free: 28.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004903/1.013, allocations: 3.493 MB / 0.6564 GB, free: 24.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/1.013, allocations: 8.062 kB / 0.6564 GB, free: 24.87 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002928/1.016, allocations: 2.163 MB / 0.6585 GB, free: 22.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003242/1.019, allocations: 484.6 kB / 0.659 GB, free: 22.47 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01324/1.033, allocations: 6.619 MB / 0.6655 GB, free: 15.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002063/1.035, allocations: 2.459 MB / 0.6679 GB, free: 13.38 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002362/1.037, allocations: 0.6132 MB / 0.6685 GB, free: 12.78 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001769/1.039, allocations: 1.347 MB / 0.6698 GB, free: 11.43 MB / 410.7 MB Notification: Performance of SimCode: time 9.72e-07/1.039, allocations: 0 / 0.6698 GB, free: 11.43 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3564/1.395, allocations: 63.31 MB / 0.7316 GB, free: 77.86 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001432/1.395, allocations: 173.7 kB / 0.7318 GB, free: 77.66 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.004/5.399, allocations: 0 / 0.7318 GB, free: 77.66 MB / 410.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