Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.ActuatorWithNoise,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_ActuatorWithNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.ActuatorWithNoise,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_ActuatorWithNoise",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 179.5 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 99.19 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002719/0.000272, allocations: 4 kB / 351.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2586, allocations: 50.4 MB / 401.6 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4055/0.6642, allocations: 125.1 MB / 0.5143 GB, free: 52.39 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003231/0.6646, allocations: 84.17 kB / 0.5144 GB, free: 52.39 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1837/0.8483, allocations: 79.55 MB / 0.5921 GB, free: 11.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.8484, allocations: 3.938 kB / 0.5921 GB, free: 11.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003254/0.8487, allocations: 91.92 kB / 0.5922 GB, free: 11.57 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.01234/0.861, allocations: 3.713 MB / 0.5958 GB, free: 7.785 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/0.8611, allocations: 11.97 kB / 0.5958 GB, free: 7.773 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001989/0.8631, allocations: 450.8 kB / 0.5962 GB, free: 7.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002026/0.8651, allocations: 463.1 kB / 0.5967 GB, free: 6.863 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006883/0.872, allocations: 2.573 MB / 0.5992 GB, free: 4.238 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005416/0.8726, allocations: 363.3 kB / 0.5995 GB, free: 3.863 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001166/0.8738, allocations: 324.1 kB / 0.5999 GB, free: 3.547 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009841/0.8837, allocations: 4.217 MB / 0.604 GB, free: 15.19 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001338/0.8839, allocations: 11.84 kB / 0.604 GB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004049/0.8843, allocations: 128 kB / 0.6041 GB, free: 15.05 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001595/0.8844, allocations: 138.1 kB / 0.6042 GB, free: 14.91 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0089/0.8933, allocations: 3.705 MB / 0.6079 GB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03113/0.9245, allocations: 14.04 MB / 0.6216 GB, free: 12.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004035/0.9286, allocations: 2.219 MB / 0.6237 GB, free: 10.49 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004407/0.9291, allocations: 232.1 kB / 0.624 GB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002496/0.9316, allocations: 1.342 MB / 0.6253 GB, free: 8.863 MB / 410.7 MB Notification: Performance of pre-optimization done (n=193): time 3.577e-06/0.9316, allocations: 0 / 0.6253 GB, free: 8.863 MB / 410.7 MB Notification: Performance of matching and sorting (n=244): time 0.03322/0.9648, allocations: 13.38 MB / 0.6383 GB, free: 11.36 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004653/0.9695, allocations: 3.645 MB / 0.6419 GB, free: 7.543 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004046/0.9736, allocations: 1.984 MB / 0.6438 GB, free: 5.535 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006575/0.9743, allocations: 73.7 kB / 0.6439 GB, free: 5.457 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001701/0.976, allocations: 1.482 MB / 0.6453 GB, free: 3.953 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001307/0.9774, allocations: 0.8164 MB / 0.6461 GB, free: 3.125 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001877/0.9776, allocations: 59.98 kB / 0.6462 GB, free: 3.066 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002413/0.9778, allocations: 407.5 kB / 0.6466 GB, free: 2.664 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002522/0.9803, allocations: 1.313 MB / 0.6479 GB, free: 1.348 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002913/0.9833, allocations: 1.95 MB / 0.6498 GB, free: 15.14 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002912/0.9862, allocations: 1.589 MB / 0.6513 GB, free: 13.54 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.166e-05/0.9862, allocations: 4 kB / 0.6513 GB, free: 13.53 MB / 442.7 MB Notification: Performance of matching and sorting (n=347) (initialization): time 0.00817/0.9944, allocations: 3.953 MB / 0.6552 GB, free: 9.516 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.132e-05/0.9945, allocations: 12 kB / 0.6552 GB, free: 9.504 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.566e-05/0.9945, allocations: 20 kB / 0.6552 GB, free: 9.484 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001402/0.996, allocations: 0.4995 MB / 0.6557 GB, free: 8.973 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003354/0.9993, allocations: 0.6865 MB / 0.6564 GB, free: 8.285 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00648/1.006, allocations: 4.729 MB / 0.661 GB, free: 3.281 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003395/1.009, allocations: 211.7 kB / 0.6612 GB, free: 3.074 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006746/1.01, allocations: 108 kB / 0.6613 GB, free: 2.969 MB / 442.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.003435/1.013, allocations: 1.104 MB / 0.6624 GB, free: 1.859 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009106/1.014, allocations: 260.8 kB / 0.6626 GB, free: 1.602 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2568/1.271, allocations: 3.759 MB / 0.6663 GB, free: 93.6 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.231e-05/1.271, allocations: 23.66 kB / 0.6663 GB, free: 93.6 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/1.271, allocations: 0 / 0.6663 GB, free: 93.6 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.112e-05/1.271, allocations: 16.98 kB / 0.6663 GB, free: 93.6 MB / 442.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.01822/1.29, allocations: 9.469 MB / 0.6756 GB, free: 92.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.204e-05/1.29, allocations: 1 kB / 0.6756 GB, free: 92.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002199/1.292, allocations: 475 kB / 0.676 GB, free: 92.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001906/1.294, allocations: 0.6517 MB / 0.6767 GB, free: 92.84 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003097/1.294, allocations: 60.27 kB / 0.6767 GB, free: 92.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008539/1.303, allocations: 7.942 MB / 0.6845 GB, free: 89.01 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003637/1.306, allocations: 3.395 MB / 0.6878 GB, free: 87.65 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01017/1.317, allocations: 5.708 MB / 0.6934 GB, free: 87.19 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002229/1.319, allocations: 0.65 MB / 0.694 GB, free: 87.1 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008109/1.32, allocations: 48.94 kB / 0.6941 GB, free: 87.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002045/1.322, allocations: 169.8 kB / 0.6942 GB, free: 87.1 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005354/1.322, allocations: 199.7 kB / 0.6944 GB, free: 87.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001689/1.322, allocations: 68.72 kB / 0.6945 GB, free: 87.09 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003246/1.326, allocations: 1.511 MB / 0.696 GB, free: 86.95 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.91e-07/1.326, allocations: 0 / 0.696 GB, free: 86.95 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005091/1.331, allocations: 0.8574 MB / 0.6968 GB, free: 86.95 MB / 442.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.01145/1.342, allocations: 7.128 MB / 0.7037 GB, free: 84.96 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006809/1.349, allocations: 3.809 MB / 0.7075 GB, free: 83.35 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/1.349, allocations: 0 / 0.7075 GB, free: 83.35 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004287/1.353, allocations: 2.332 MB / 0.7097 GB, free: 82.26 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003749/1.357, allocations: 0.577 MB / 0.7103 GB, free: 82.11 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02501/1.382, allocations: 21.99 MB / 0.7318 GB, free: 64.57 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003742/1.386, allocations: 2.46 MB / 0.7342 GB, free: 63.5 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002984/1.389, allocations: 0.6118 MB / 0.7348 GB, free: 63.43 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002356/1.392, allocations: 1.336 MB / 0.7361 GB, free: 62.36 MB / 442.7 MB Notification: Performance of SimCode: time 1.022e-06/1.392, allocations: 0 / 0.7361 GB, free: 62.36 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1162/1.508, allocations: 70.95 MB / 0.8054 GB, free: 13.78 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001966/1.508, allocations: 254.4 kB / 0.8056 GB, free: 13.44 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.361/5.869, allocations: 4 kB / 0.8056 GB, free: 13.43 MB / 442.7 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_ActuatorWithNoise_fmu --startTime=0 --stopTime=8 --timeout=50 --tolerance=1e-05 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_ActuatorWithNoise.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise_res.mat does not exist to compare? outputFormat=mat