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.001181/0.001181, allocations: 180.8 kB / 17.01 MB, free: 5.125 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.321/1.321, allocations: 205.4 MB / 223.1 MB, free: 9.121 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.0009048/0.0009047, allocations: 106.6 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002979/0.0002981, allocations: 8 kB / 328.3 MB, free: 15.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2748, allocations: 47.57 MB / 375.9 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1422/0.417, allocations: 124.6 MB / 0.4888 GB, free: 3.926 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000252/0.4173, allocations: 87.95 kB / 0.4889 GB, free: 3.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3902/0.8076, allocations: 79.13 MB / 0.5662 GB, free: 52.65 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.8077, allocations: 0 / 0.5662 GB, free: 52.65 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004228/0.8081, allocations: 91.88 kB / 0.5662 GB, free: 52.56 MB / 378.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.01035/0.8185, allocations: 3.705 MB / 0.5699 GB, free: 48.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.8185, allocations: 12.03 kB / 0.5699 GB, free: 48.77 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009251/0.8195, allocations: 450.7 kB / 0.5703 GB, free: 48.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001282/0.8207, allocations: 459.1 kB / 0.5707 GB, free: 47.87 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004786/0.8255, allocations: 2.577 MB / 0.5733 GB, free: 45.24 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003499/0.8259, allocations: 363.6 kB / 0.5736 GB, free: 44.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003948/0.8263, allocations: 319.8 kB / 0.5739 GB, free: 44.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006277/0.8326, allocations: 4.213 MB / 0.578 GB, free: 40.2 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.822e-05/0.8327, allocations: 19.81 kB / 0.578 GB, free: 40.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000336/0.8331, allocations: 132 kB / 0.5782 GB, free: 40.05 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001277/0.8332, allocations: 142.1 kB / 0.5783 GB, free: 39.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006871/0.8401, allocations: 3.705 MB / 0.5819 GB, free: 36.19 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01967/0.8598, allocations: 14.05 MB / 0.5956 GB, free: 21.78 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00291/0.8627, allocations: 2.222 MB / 0.5978 GB, free: 19.47 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003108/0.8631, allocations: 228.1 kB / 0.598 GB, free: 19.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001863/0.8649, allocations: 1.35 MB / 0.5993 GB, free: 17.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=193): time 4.038e-06/0.865, allocations: 0 / 0.5993 GB, free: 17.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=244): time 0.02531/0.8903, allocations: 13.35 MB / 0.6124 GB, free: 4.363 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003402/0.8937, allocations: 3.642 MB / 0.6159 GB, free: 0.543 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003346/0.8971, allocations: 1.972 MB / 0.6179 GB, free: 14.55 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003237/0.8974, allocations: 81.69 kB / 0.618 GB, free: 14.46 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001602/0.899, allocations: 1.474 MB / 0.6194 GB, free: 12.96 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008546/0.8999, allocations: 0.8164 MB / 0.6202 GB, free: 12.14 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002079/0.9001, allocations: 56 kB / 0.6202 GB, free: 12.08 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002374/0.9004, allocations: 419.6 kB / 0.6206 GB, free: 11.67 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002291/0.9027, allocations: 1.317 MB / 0.6219 GB, free: 10.35 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002589/0.9053, allocations: 1.942 MB / 0.6238 GB, free: 8.152 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002441/0.9077, allocations: 1.592 MB / 0.6254 GB, free: 6.539 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.859e-06/0.9077, allocations: 4 kB / 0.6254 GB, free: 6.535 MB / 394.7 MB Notification: Performance of matching and sorting (n=347) (initialization): time 0.006582/0.9143, allocations: 3.957 MB / 0.6292 GB, free: 2.516 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.91e-05/0.9144, allocations: 12 kB / 0.6293 GB, free: 2.504 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.037e-05/0.9144, allocations: 20 kB / 0.6293 GB, free: 2.484 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001213/0.9156, allocations: 0.4964 MB / 0.6298 GB, free: 1.977 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002609/0.9183, allocations: 0.6864 MB / 0.6304 GB, free: 1.289 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005397/0.9237, allocations: 4.744 MB / 0.6351 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002531/0.9262, allocations: 199.8 kB / 0.6353 GB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000262/0.9265, allocations: 112 kB / 0.6354 GB, free: 11.96 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 () * Number of clocked 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.002351/0.9289, allocations: 1.099 MB / 0.6364 GB, free: 10.85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005668/0.9294, allocations: 260.7 kB / 0.6367 GB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006692/0.9361, allocations: 3.773 MB / 0.6404 GB, free: 6.789 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.651e-05/0.9362, allocations: 20 kB / 0.6404 GB, free: 6.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.9362, allocations: 4 kB / 0.6404 GB, free: 6.766 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.012e-05/0.9362, allocations: 11.95 kB / 0.6404 GB, free: 6.754 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.2534/1.19, allocations: 9.479 MB / 0.6497 GB, free: 88.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.908e-06/1.19, allocations: 0 / 0.6497 GB, free: 88.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001893/1.192, allocations: 475.1 kB / 0.6501 GB, free: 88.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001678/1.193, allocations: 0.6579 MB / 0.6508 GB, free: 88.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002276/1.194, allocations: 55.64 kB / 0.6508 GB, free: 88.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008247/1.202, allocations: 7.936 MB / 0.6586 GB, free: 84.44 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00332/1.205, allocations: 3.4 MB / 0.6619 GB, free: 83.08 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008582/1.214, allocations: 5.713 MB / 0.6675 GB, free: 82.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001668/1.215, allocations: 0.6481 MB / 0.6681 GB, free: 82.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003534/1.216, allocations: 54.88 kB / 0.6681 GB, free: 82.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001455/1.217, allocations: 162.5 kB / 0.6683 GB, free: 82.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003925/1.218, allocations: 206.6 kB / 0.6685 GB, free: 82.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001477/1.218, allocations: 71.69 kB / 0.6686 GB, free: 82.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002243/1.22, allocations: 1.508 MB / 0.67 GB, free: 82.37 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.22, allocations: 0 / 0.67 GB, free: 82.37 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003063/1.223, allocations: 0.8555 MB / 0.6709 GB, free: 82.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) * Number of clocked states: 0 () * 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.01002/1.233, allocations: 7.143 MB / 0.6778 GB, free: 80.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007431/1.241, allocations: 3.816 MB / 0.6816 GB, free: 80.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/1.241, allocations: 0 / 0.6816 GB, free: 80.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003942/1.245, allocations: 2.336 MB / 0.6839 GB, free: 79.46 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003138/1.248, allocations: 0.5778 MB / 0.6844 GB, free: 79.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0164/1.264, allocations: 21.98 MB / 0.7059 GB, free: 61.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00205/1.266, allocations: 2.459 MB / 0.7083 GB, free: 60.74 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002323/1.269, allocations: 0.6068 MB / 0.7089 GB, free: 60.67 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001735/1.27, allocations: 1.339 MB / 0.7102 GB, free: 59.61 MB / 410.7 MB Notification: Performance of SimCode: time 1.263e-06/1.27, allocations: 0 / 0.7102 GB, free: 59.61 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09921/1.37, allocations: 70.94 MB / 0.7795 GB, free: 5.656 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001513/1.37, allocations: 253.7 kB / 0.7797 GB, free: 5.316 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.143/5.513, allocations: 3.938 kB / 0.7797 GB, free: 5.312 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