Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_Modelica_Blocks_Examples_NoiseExamples_ActuatorWithNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise,fileNamePrefix="Modelica_3_2_3_cpp_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.0009156/0.0009156, allocations: 179.4 kB / 16.72 MB, free: 5.07 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.372/1.372, allocations: 205.4 MB / 222.9 MB, free: 8.945 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.0007182/0.0007185, allocations: 88.73 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003556/0.0003558, allocations: 8 kB / 327.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2535, allocations: 47.58 MB / 375.2 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise): time 0.01225/0.2658, allocations: 11.98 MB / 387.2 MB, free: 36.06 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01013/0.276, allocations: 4.928 MB / 392.1 MB, free: 31.75 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002366/0.2784, allocations: 67.69 kB / 392.2 MB, free: 31.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001827/0.2802, allocations: 0.7336 MB / 392.9 MB, free: 30.95 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002957/0.2832, allocations: 0.9398 MB / 393.8 MB, free: 30 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00185/0.2851, allocations: 0.6123 MB / 394.4 MB, free: 29.39 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00422/0.2893, allocations: 4.163 MB / 398.6 MB, free: 25.21 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002434/0.2918, allocations: 2.59 MB / 401.2 MB, free: 22.55 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001861/0.2936, allocations: 1.35 MB / 402.6 MB, free: 21.2 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00202/0.2957, allocations: 1.802 MB / 404.4 MB, free: 19.39 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003567/0.296, allocations: 207.9 kB / 404.6 MB, free: 19.19 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001189/0.2972, allocations: 499.5 kB / 405 MB, free: 18.7 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000747/0.298, allocations: 0.9774 MB / 406 MB, free: 17.72 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001498/0.2995, allocations: 1.759 MB / 407.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003981/0.3035, allocations: 6.081 MB / 413.9 MB, free: 9.848 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3035, allocations: 0 / 413.9 MB, free: 9.848 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.336e-06/0.3035, allocations: 0 / 413.9 MB, free: 9.848 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001349/0.3037, allocations: 3.938 kB / 413.9 MB, free: 9.844 MB / 298.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.007317/0.311, allocations: 3.643 MB / 417.5 MB, free: 6.133 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.311, allocations: 8.031 kB / 417.5 MB, free: 6.125 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006808/0.3117, allocations: 443 kB / 417.9 MB, free: 5.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001161/0.3129, allocations: 452.1 kB / 418.4 MB, free: 5.234 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003099/0.316, allocations: 2.292 MB / 420.7 MB, free: 2.891 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005945/0.3166, allocations: 423.1 kB / 421.1 MB, free: 2.457 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003895/0.317, allocations: 319.8 kB / 421.4 MB, free: 2.145 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007131/0.3242, allocations: 4.242 MB / 425.6 MB, free: 13.83 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.755e-05/0.3243, allocations: 11.89 kB / 425.7 MB, free: 13.82 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002953/0.3246, allocations: 128 kB / 425.8 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001686/0.3248, allocations: 150 kB / 425.9 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007311/0.3321, allocations: 3.85 MB / 429.8 MB, free: 9.688 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02413/0.3562, allocations: 14.24 MB / 444 MB, free: 11.06 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003937/0.3602, allocations: 2.161 MB / 446.2 MB, free: 8.824 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002552/0.3628, allocations: 1.306 MB / 447.5 MB, free: 7.52 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004003/0.3633, allocations: 220.2 kB / 447.7 MB, free: 7.27 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002614/0.3659, allocations: 1.322 MB / 449 MB, free: 5.922 MB / 330.7 MB Notification: Performance of pre-optimization done (n=186): time 5.881e-06/0.3659, allocations: 0 / 449 MB, free: 5.922 MB / 330.7 MB Notification: Performance of matching and sorting (n=234): time 0.03187/0.3978, allocations: 13.02 MB / 462 MB, free: 8.793 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003905/0.4018, allocations: 3.256 MB / 465.3 MB, free: 5.352 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006917/0.4087, allocations: 2.268 MB / 467.6 MB, free: 3.055 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008672/0.4097, allocations: 81.69 kB / 467.7 MB, free: 2.969 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002231/0.412, allocations: 1.493 MB / 469.1 MB, free: 1.453 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001556/0.4136, allocations: 0.7818 MB / 469.9 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005281/0.4141, allocations: 56 kB / 470 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003747/0.4145, allocations: 403.4 kB / 470.4 MB, free: 212 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003203/0.4177, allocations: 1.294 MB / 471.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003754/0.4215, allocations: 1.94 MB / 473.6 MB, free: 12.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006523/0.4281, allocations: 3.3 MB / 476.9 MB, free: 9.133 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-05/0.4282, allocations: 7.938 kB / 476.9 MB, free: 9.125 MB / 362.7 MB Notification: Performance of matching and sorting (n=339) (initialization): time 0.009531/0.4377, allocations: 3.881 MB / 480.8 MB, free: 5.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.892e-05/0.4378, allocations: 12 kB / 480.8 MB, free: 5.168 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.652e-05/0.4378, allocations: 20 kB / 480.8 MB, free: 5.148 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001361/0.4392, allocations: 0.5012 MB / 481.3 MB, free: 4.637 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002663/0.4419, allocations: 0.6669 MB / 482 MB, free: 3.969 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005814/0.4477, allocations: 4.647 MB / 486.6 MB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00247/0.4502, allocations: 199.8 kB / 486.8 MB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003969/0.4506, allocations: 108 kB / 486.9 MB, free: 14.75 MB / 378.7 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.002439/0.4531, allocations: 1.09 MB / 488 MB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007132/0.4538, allocations: 260.8 kB / 488.3 MB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007122/0.4609, allocations: 3.651 MB / 491.9 MB, free: 9.707 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.987e-05/0.461, allocations: 24 kB / 492 MB, free: 9.684 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.461, allocations: 0 / 492 MB, free: 9.684 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.74e-05/0.4611, allocations: 15.95 kB / 492 MB, free: 9.668 MB / 378.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.01835/0.4794, allocations: 9.392 MB / 0.4896 GB, free: 132 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/0.4795, allocations: 0 / 0.4896 GB, free: 132 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2098/0.6892, allocations: 430.7 kB / 0.49 GB, free: 106.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001886/0.6912, allocations: 0.6345 MB / 0.4907 GB, free: 106.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000479/0.6917, allocations: 49.83 kB / 0.4907 GB, free: 106.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008626/0.7003, allocations: 7.477 MB / 0.498 GB, free: 101.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003535/0.7039, allocations: 3.015 MB / 0.5009 GB, free: 99.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009249/0.7132, allocations: 5.426 MB / 0.5062 GB, free: 97.64 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001644/0.7149, allocations: 0.6418 MB / 0.5069 GB, free: 97.35 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005136/0.7154, allocations: 47 kB / 0.5069 GB, free: 97.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001449/0.7168, allocations: 162.5 kB / 0.5071 GB, free: 97.29 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005499/0.7174, allocations: 202.6 kB / 0.5073 GB, free: 97.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001318/0.7175, allocations: 64.77 kB / 0.5073 GB, free: 97.24 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002271/0.7198, allocations: 1.546 MB / 0.5088 GB, free: 96.62 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.7198, allocations: 0 / 0.5088 GB, free: 96.62 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002493/0.7223, allocations: 0.776 MB / 0.5096 GB, free: 96.54 MB / 378.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 (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.008419/0.7308, allocations: 6.258 MB / 0.5157 GB, free: 91.12 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005259/0.7361, allocations: 3.7 MB / 0.5193 GB, free: 87.38 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/0.7361, allocations: 7.984 kB / 0.5193 GB, free: 87.37 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003114/0.7392, allocations: 2.257 MB / 0.5215 GB, free: 85.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00342/0.7427, allocations: 0.6018 MB / 0.5221 GB, free: 84.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04512/0.7878, allocations: 22.71 MB / 0.5443 GB, free: 60.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001627/0.7895, allocations: 2.358 MB / 0.5466 GB, free: 58.01 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001848/0.7914, allocations: 1.351 MB / 0.5479 GB, free: 56.66 MB / 378.7 MB Notification: Performance of SimCode: time 7.02e-07/0.7914, allocations: 0 / 0.5479 GB, free: 56.66 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 8.876/9.667, allocations: 123.8 MB / 0.6688 GB, free: 141.6 MB / 426.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_ActuatorWithNoise_fmu --startTime=0 --stopTime=8 --timeout=50 --tolerance=1e-05 Modelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_ActuatorWithNoise.fmu > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/ActuatorWithNoise/ActuatorWithNoise.csv","../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches