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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009639/0.0009639, allocations: 101.2 kB / 16.95 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 182.2 kB / 17.84 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.825/1.825, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004724/0.0004726, allocations: 12 kB / 280.9 MB, free: 3.621 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1274, allocations: 47.57 MB / 328.5 MB, free: 3.98 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise): time 0.01484/0.1423, allocations: 11.97 MB / 340.4 MB, free: 7.957 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01132/0.1537, allocations: 4.939 MB / 345.4 MB, free: 3.004 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003007/0.1568, allocations: 67.62 kB / 345.4 MB, free: 2.938 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002702/0.1595, allocations: 0.7181 MB / 346.1 MB, free: 2.215 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004354/0.1639, allocations: 0.9359 MB / 347.1 MB, free: 1.273 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002594/0.1665, allocations: 0.62 MB / 347.7 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.008399/0.1749, allocations: 4.085 MB / 351.8 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003973/0.1789, allocations: 2.125 MB / 353.9 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003297/0.1823, allocations: 1.342 MB / 355.3 MB, free: 9.039 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004017/0.1863, allocations: 1.806 MB / 357.1 MB, free: 7.227 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001148/0.1875, allocations: 208 kB / 357.3 MB, free: 7.023 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00268/0.1902, allocations: 471.6 kB / 357.7 MB, free: 6.562 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001661/0.1919, allocations: 0.9734 MB / 358.7 MB, free: 5.586 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002172/0.194, allocations: 0.7537 MB / 359.5 MB, free: 4.824 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01061/0.2047, allocations: 6.089 MB / 365.5 MB, free: 14.72 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.111e-05/0.2047, allocations: 0 / 365.5 MB, free: 14.72 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.937e-06/0.2047, allocations: 4 kB / 365.5 MB, free: 14.71 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002596/0.205, allocations: 0 / 365.5 MB, free: 14.71 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: 814 * Number of variables: 814 Notification: Performance of Generate backend data structure: time 0.01053/0.2156, allocations: 3.674 MB / 369.2 MB, free: 10.97 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.2156, allocations: 8.031 kB / 369.2 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001553/0.2172, allocations: 446.8 kB / 369.7 MB, free: 10.52 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002154/0.2194, allocations: 451.2 kB / 370.1 MB, free: 10.07 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005998/0.2254, allocations: 2.211 MB / 372.3 MB, free: 7.809 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008572/0.2263, allocations: 423.2 kB / 372.7 MB, free: 7.375 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001048/0.2273, allocations: 319.9 kB / 373 MB, free: 7.062 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01249/0.2398, allocations: 4.246 MB / 377.3 MB, free: 2.746 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002142/0.2401, allocations: 19.8 kB / 377.3 MB, free: 2.727 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001011/0.2412, allocations: 124 kB / 377.4 MB, free: 2.605 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000223/0.2414, allocations: 146.1 kB / 377.6 MB, free: 2.461 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2717/0.5132, allocations: 3.844 MB / 381.4 MB, free: 47.16 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03109/0.5443, allocations: 14.23 MB / 395.6 MB, free: 39.25 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003695/0.548, allocations: 2.176 MB / 397.8 MB, free: 37.93 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002683/0.5508, allocations: 1.305 MB / 399.1 MB, free: 37.29 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003804/0.5512, allocations: 213.1 kB / 399.3 MB, free: 37.09 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002268/0.5535, allocations: 1.323 MB / 400.7 MB, free: 36.31 MB / 318.1 MB Notification: Performance of pre-optimization done (n=186): time 2.936e-06/0.5535, allocations: 0 / 400.7 MB, free: 36.31 MB / 318.1 MB Notification: Performance of matching and sorting (n=234): time 0.02887/0.5824, allocations: 12.99 MB / 413.6 MB, free: 26.6 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003069/0.5855, allocations: 3.271 MB / 416.9 MB, free: 23.15 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003551/0.5891, allocations: 2.268 MB / 419.2 MB, free: 20.86 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00056/0.5896, allocations: 81.69 kB / 419.3 MB, free: 20.77 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001291/0.5909, allocations: 1.495 MB / 420.8 MB, free: 19.26 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001283/0.5922, allocations: 0.7858 MB / 421.5 MB, free: 18.48 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001745/0.5924, allocations: 48 kB / 421.6 MB, free: 18.43 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002592/0.5927, allocations: 411.4 kB / 422 MB, free: 18.03 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002136/0.5948, allocations: 1.286 MB / 423.3 MB, free: 16.74 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002463/0.5973, allocations: 1.944 MB / 425.2 MB, free: 14.53 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00228/0.5996, allocations: 1.545 MB / 426.8 MB, free: 12.96 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.309e-05/0.5996, allocations: 7.062 kB / 426.8 MB, free: 12.96 MB / 318.1 MB Notification: Performance of matching and sorting (n=339) (initialization): time 0.006797/0.6064, allocations: 3.881 MB / 430.7 MB, free: 9.016 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.458e-05/0.6065, allocations: 12 kB / 430.7 MB, free: 9.004 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-05/0.6066, allocations: 16 kB / 430.7 MB, free: 8.988 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00125/0.6078, allocations: 0.5002 MB / 431.2 MB, free: 8.477 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002543/0.6104, allocations: 0.6591 MB / 431.8 MB, free: 7.816 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005013/0.6154, allocations: 4.662 MB / 436.5 MB, free: 2.879 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003047/0.6185, allocations: 195.8 kB / 436.7 MB, free: 2.688 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006066/0.6192, allocations: 114.4 kB / 436.8 MB, free: 2.578 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * 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 (308): * Single equations (assignments): 303 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * 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.002974/0.6222, allocations: 1.086 MB / 437.9 MB, free: 1.48 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009387/0.6231, allocations: 264.8 kB / 438.2 MB, free: 1.219 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008148/0.6313, allocations: 3.655 MB / 441.8 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.908e-05/0.6314, allocations: 28 kB / 441.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.468e-05/0.6314, allocations: 4 kB / 441.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.839e-05/0.6314, allocations: 11.95 kB / 441.9 MB, free: 13.48 MB / 334.1 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.02158/0.653, allocations: 9.389 MB / 451.2 MB, free: 4.004 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.622e-05/0.6532, allocations: 0 / 451.2 MB, free: 4.004 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002223/0.6554, allocations: 439.6 kB / 451.7 MB, free: 3.574 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001981/0.6574, allocations: 0.6216 MB / 452.3 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005103/0.658, allocations: 51.97 kB / 452.3 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01137/0.6693, allocations: 7.487 MB / 459.8 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004448/0.6739, allocations: 3.014 MB / 462.8 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01302/0.687, allocations: 5.42 MB / 468.3 MB, free: 2.391 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00219/0.6892, allocations: 0.6305 MB / 468.9 MB, free: 1.738 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001006/0.6902, allocations: 55.95 kB / 468.9 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001969/0.6922, allocations: 163.8 kB / 469.1 MB, free: 1.523 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005562/0.6928, allocations: 197.7 kB / 469.3 MB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002017/0.693, allocations: 71.91 kB / 469.4 MB, free: 1.262 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00384/0.6969, allocations: 1.547 MB / 470.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6969, allocations: 0 / 470.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.004706/0.7016, allocations: 0.7812 MB / 471.7 MB, free: 14.93 MB / 366.1 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 (197): * Single equations (assignments): 191 * 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%) 8} * Non-linear torn systems: 1 {2 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.01177/0.7134, allocations: 6.22 MB / 477.9 MB, free: 8.688 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006865/0.7203, allocations: 3.708 MB / 481.6 MB, free: 4.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/0.7204, allocations: 0 / 481.6 MB, free: 4.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004426/0.7248, allocations: 2.269 MB / 483.9 MB, free: 2.582 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00449/0.7293, allocations: 0.6006 MB / 484.5 MB, free: 1.977 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06258/0.7919, allocations: 22.64 MB / 0.4952 GB, free: 9.934 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0035/0.7955, allocations: 2.385 MB / 0.4976 GB, free: 7.516 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002914/0.7984, allocations: 0.5914 MB / 0.4982 GB, free: 6.918 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002709/0.8012, allocations: 1.335 MB / 0.4995 GB, free: 5.582 MB / 398.1 MB Notification: Performance of SimCode: time 1.132e-06/0.8012, allocations: 0 / 0.4995 GB, free: 5.582 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3628/1.164, allocations: 67.06 MB / 0.5649 GB, free: 133.2 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002406/1.164, allocations: 262.1 kB / 0.5652 GB, free: 132.9 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.225/5.389, allocations: 0 / 0.5652 GB, free: 132.9 MB / 430.1 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) Environment - environmentSimulation: 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