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: translateModel(Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1600,variableFilter="time|controller.busdelay.y|controller.positionToSpeed.x|controller.position_PI.x|controller.speed_PI.x|elastoGap.s_rel|elastoGap.v_rel|gearbox.phi_rel|gearbox.w_rel|rodMass.s|rodMass.v|slewRateLimiter.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise") translateModel(Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1600,variableFilter="time|controller.busdelay.y|controller.positionToSpeed.x|controller.position_PI.x|controller.speed_PI.x|elastoGap.s_rel|elastoGap.v_rel|gearbox.phi_rel|gearbox.w_rel|rodMass.s|rodMass.v|slewRateLimiter.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001524/0.001524, allocations: 182.4 kB / 13.66 MB, free: 1.664 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.972/1.972, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001115/0.001115, allocations: 82.66 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.15e-05/3.167e-05, allocations: 4 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09292/0.09298, allocations: 47.57 MB / 369.1 MB, free: 2.207 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5239/0.617, allocations: 124.5 MB / 493.6 MB, free: 1.289 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003133/0.6173, allocations: 86.89 kB / 493.7 MB, free: 1.246 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.639/1.256, allocations: 79.16 MB / 0.5594 GB, free: 97.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.324e-06/1.256, allocations: 0 / 0.5594 GB, free: 97.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000433/1.257, allocations: 86.12 kB / 0.5595 GB, free: 97.1 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.01335/1.27, allocations: 3.305 MB / 0.5627 GB, free: 95.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/1.27, allocations: 7.781 kB / 0.5627 GB, free: 95.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003219/1.274, allocations: 462.7 kB / 0.5632 GB, free: 95.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008613/1.282, allocations: 2.547 MB / 0.5657 GB, free: 94.97 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008198/1.283, allocations: 368 kB / 0.566 GB, free: 94.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001554/1.285, allocations: 313.1 kB / 0.5663 GB, free: 94.86 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01401/1.299, allocations: 4.094 MB / 0.5703 GB, free: 93.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002212/1.299, allocations: 12.06 kB / 0.5703 GB, free: 93.56 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008399/1.3, allocations: 134.4 kB / 0.5705 GB, free: 93.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001866/1.3, allocations: 143.1 kB / 0.5706 GB, free: 93.44 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01138/1.311, allocations: 3.496 MB / 0.574 GB, free: 92.04 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03611/1.348, allocations: 14.05 MB / 0.5877 GB, free: 84.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004717/1.352, allocations: 2.101 MB / 0.5898 GB, free: 83.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002822/1.355, allocations: 1.197 MB / 0.591 GB, free: 82.81 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004882/1.356, allocations: 232.9 kB / 0.5912 GB, free: 82.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002751/1.359, allocations: 1.238 MB / 0.5924 GB, free: 82.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=193): time 5.24e-06/1.359, allocations: 0 / 0.5924 GB, free: 82.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=244): time 0.03831/1.397, allocations: 10.97 MB / 0.6031 GB, free: 75.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.006178/1.403, allocations: 3.514 MB / 0.6065 GB, free: 72.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004633/1.408, allocations: 1.945 MB / 0.6084 GB, free: 70.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007083/1.409, allocations: 77.17 kB / 0.6085 GB, free: 70.69 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001524/1.41, allocations: 1.381 MB / 0.6099 GB, free: 69.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001327/1.412, allocations: 0.8238 MB / 0.6107 GB, free: 68.67 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000288/1.412, allocations: 52 kB / 0.6107 GB, free: 68.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001882/1.412, allocations: 418.6 kB / 0.6111 GB, free: 68.24 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003466/1.415, allocations: 1.266 MB / 0.6123 GB, free: 67.05 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004399/1.42, allocations: 1.895 MB / 0.6142 GB, free: 65.03 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004371/1.424, allocations: 1.524 MB / 0.6157 GB, free: 63.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.171e-05/1.424, allocations: 4 kB / 0.6157 GB, free: 63.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=347) (initialization): time 0.01118/1.436, allocations: 3.699 MB / 0.6193 GB, free: 60.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.641e-05/1.436, allocations: 12 kB / 0.6193 GB, free: 60.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.874e-05/1.436, allocations: 16 kB / 0.6193 GB, free: 60.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002016/1.438, allocations: 0.4896 MB / 0.6198 GB, free: 59.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005586/1.444, allocations: 0.6859 MB / 0.6205 GB, free: 59.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008064/1.452, allocations: 4.636 MB / 0.625 GB, free: 54.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004497/1.456, allocations: 205 kB / 0.6252 GB, free: 54.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008607/1.457, allocations: 115.4 kB / 0.6253 GB, free: 54.37 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 () * 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.00116/1.458, allocations: 276.4 kB / 0.6256 GB, free: 54.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001134/1.459, allocations: 260.8 kB / 0.6258 GB, free: 53.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01175/1.471, allocations: 3.554 MB / 0.6293 GB, free: 50.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-05/1.471, allocations: 24 kB / 0.6293 GB, free: 50.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.591e-05/1.471, allocations: 7.516 kB / 0.6293 GB, free: 50.72 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.069e-05/1.471, allocations: 14.88 kB / 0.6293 GB, free: 50.72 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.02791/1.499, allocations: 9.288 MB / 0.6384 GB, free: 41.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-05/1.499, allocations: 8.031 kB / 0.6384 GB, free: 41.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004371/1.504, allocations: 475.3 kB / 0.6389 GB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003024/1.507, allocations: 0.6387 MB / 0.6395 GB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000659/1.508, allocations: 55.97 kB / 0.6395 GB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01329/1.521, allocations: 7.714 MB / 0.6471 GB, free: 32.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005898/1.527, allocations: 3.286 MB / 0.6503 GB, free: 29.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01406/1.541, allocations: 5.376 MB / 0.6555 GB, free: 23.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002529/1.544, allocations: 0.6499 MB / 0.6562 GB, free: 22.92 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001015/1.545, allocations: 48 kB / 0.6562 GB, free: 22.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003444/1.548, allocations: 167.8 kB / 0.6564 GB, free: 22.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008999/1.549, allocations: 201.6 kB / 0.6566 GB, free: 22.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002654/1.549, allocations: 71.97 kB / 0.6566 GB, free: 22.45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003934/1.553, allocations: 1.479 MB / 0.6581 GB, free: 20.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.252e-06/1.553, allocations: 4 kB / 0.6581 GB, free: 20.94 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004944/1.558, allocations: 0.8554 MB / 0.6589 GB, free: 20.09 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 (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.001946/1.56, allocations: 0.5806 MB / 0.6595 GB, free: 19.58 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009308/1.57, allocations: 3.604 MB / 0.663 GB, free: 15.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/1.57, allocations: 0 / 0.663 GB, free: 15.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005973/1.576, allocations: 2.195 MB / 0.6651 GB, free: 13.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005334/1.581, allocations: 0.591 MB / 0.6657 GB, free: 13.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01876/1.6, allocations: 6.048 MB / 0.6716 GB, free: 6.961 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003825/1.604, allocations: 2.436 MB / 0.674 GB, free: 4.488 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001933/1.606, allocations: 219.3 kB / 0.6742 GB, free: 4.273 MB / 410.7 MB Notification: Performance of SimCode: time 3.136e-06/1.606, allocations: 4 kB / 0.6742 GB, free: 4.27 MB / 410.7 MB Notification: Performance of Templates: time 0.4975/2.103, allocations: 110.3 MB / 0.782 GB, free: 54.91 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.makefile make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.makefile b'clang++ -fopenmp=libomp -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoiseCalcHelperMain.o OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoiseCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoiseCalcHelperMain.cpp:29:\n./OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoiseInitialize.cpp:3066:3: error: use of undeclared identifier \'$PRE_P_motor_P_uniformNoise_P_state_\'; did you mean \'_motor_P_uniformNoise_P_state_\'?\n $PRE_P_motor_P_uniformNoise_P_state_.assign(tmp180);\n ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n _motor_P_uniformNoise_P_state_\n./OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.h:482:33: note: \'_motor_P_uniformNoise_P_state_\' declared here\n StatArrayDim1 _motor_P_uniformNoise_P_state_;\n ^\n1 error generated.\n: recipe for target \'OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoiseCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoiseCalcHelperMain.o] Error 1\n'