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.001435/0.001438, allocations: 186.2 kB / 16.4 MB, free: 5.746 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.834/1.834, allocations: 205.4 MB / 222.5 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.001098/0.001097, allocations: 94 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003763/0.0003765, allocations: 19.97 kB / 327 MB, free: 200 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3249, allocations: 47.56 MB / 374.5 MB, free: 45.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1916/0.5166, allocations: 124.6 MB / 499.1 MB, free: 4.062 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003041/0.517, allocations: 87.97 kB / 499.2 MB, free: 3.977 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5482/1.065, allocations: 79.14 MB / 0.5648 GB, free: 52.78 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.564e-06/1.065, allocations: 0 / 0.5648 GB, free: 52.78 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003777/1.066, allocations: 91.88 kB / 0.5649 GB, free: 52.69 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.01412/1.08, allocations: 3.686 MB / 0.5685 GB, free: 48.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/1.08, allocations: 16.03 kB / 0.5685 GB, free: 48.92 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002868/1.083, allocations: 459 kB / 0.569 GB, free: 48.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008254/1.091, allocations: 2.581 MB / 0.5715 GB, free: 45.83 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006649/1.092, allocations: 359.6 kB / 0.5718 GB, free: 45.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001191/1.093, allocations: 319.8 kB / 0.5721 GB, free: 45.15 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01309/1.106, allocations: 4.217 MB / 0.5762 GB, free: 40.79 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000187/1.106, allocations: 19.91 kB / 0.5763 GB, free: 40.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007493/1.107, allocations: 128 kB / 0.5764 GB, free: 40.64 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001736/1.107, allocations: 138.1 kB / 0.5765 GB, free: 40.51 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01238/1.12, allocations: 3.709 MB / 0.5801 GB, free: 36.79 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03514/1.155, allocations: 14.04 MB / 0.5938 GB, free: 22.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005918/1.161, allocations: 2.226 MB / 0.596 GB, free: 20.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005672/1.161, allocations: 232.1 kB / 0.5962 GB, free: 19.81 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003979/1.165, allocations: 1.342 MB / 0.5976 GB, free: 18.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=193): time 5.38e-06/1.165, allocations: 4 kB / 0.5976 GB, free: 18.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=244): time 0.05089/1.216, allocations: 13.36 MB / 0.6106 GB, free: 4.957 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.006104/1.223, allocations: 3.639 MB / 0.6142 GB, free: 1.141 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005178/1.228, allocations: 1.969 MB / 0.6161 GB, free: 15.15 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006529/1.228, allocations: 77.69 kB / 0.6162 GB, free: 15.07 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001891/1.23, allocations: 1.382 MB / 0.6175 GB, free: 13.67 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001467/1.232, allocations: 0.8164 MB / 0.6183 GB, free: 12.84 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003848/1.232, allocations: 56 kB / 0.6184 GB, free: 12.79 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002963/1.233, allocations: 424.4 kB / 0.6188 GB, free: 12.36 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004397/1.237, allocations: 1.317 MB / 0.62 GB, free: 11.04 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005139/1.242, allocations: 1.946 MB / 0.6219 GB, free: 8.844 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00509/1.247, allocations: 1.585 MB / 0.6235 GB, free: 7.238 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.579e-05/1.247, allocations: 8 kB / 0.6235 GB, free: 7.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=347) (initialization): time 0.01278/1.26, allocations: 3.81 MB / 0.6272 GB, free: 3.359 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.279e-05/1.26, allocations: 12.94 kB / 0.6272 GB, free: 3.348 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.844e-05/1.26, allocations: 24 kB / 0.6273 GB, free: 3.324 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002192/1.263, allocations: 0.4926 MB / 0.6277 GB, free: 2.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005563/1.268, allocations: 0.6865 MB / 0.6284 GB, free: 2.133 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009198/1.277, allocations: 4.742 MB / 0.633 GB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004101/1.282, allocations: 211.7 kB / 0.6332 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006548/1.282, allocations: 108 kB / 0.6333 GB, free: 12.8 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.003557/1.286, allocations: 1.099 MB / 0.6344 GB, free: 11.69 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009545/1.287, allocations: 260.8 kB / 0.6347 GB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01303/1.3, allocations: 3.765 MB / 0.6383 GB, free: 7.637 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.391e-05/1.3, allocations: 27.98 kB / 0.6384 GB, free: 7.609 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.377e-05/1.3, allocations: 4 kB / 0.6384 GB, free: 7.605 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.415e-05/1.3, allocations: 7.969 kB / 0.6384 GB, free: 7.598 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.3174/1.617, allocations: 9.49 MB / 0.6476 GB, free: 87.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.396e-05/1.617, allocations: 0 / 0.6476 GB, free: 87.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004029/1.622, allocations: 474.8 kB / 0.6481 GB, free: 87.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002806/1.624, allocations: 0.6534 MB / 0.6487 GB, free: 87.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004228/1.625, allocations: 55.05 kB / 0.6488 GB, free: 87.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01304/1.638, allocations: 7.934 MB / 0.6565 GB, free: 84 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005668/1.644, allocations: 3.388 MB / 0.6598 GB, free: 82.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01486/1.658, allocations: 5.719 MB / 0.6654 GB, free: 82.17 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002031/1.661, allocations: 0.6485 MB / 0.6661 GB, free: 82.08 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006603/1.661, allocations: 56.84 kB / 0.6661 GB, free: 82.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002867/1.664, allocations: 162.7 kB / 0.6663 GB, free: 82.08 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007259/1.665, allocations: 206.6 kB / 0.6665 GB, free: 82.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002558/1.665, allocations: 70.48 kB / 0.6665 GB, free: 82.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003473/1.669, allocations: 1.507 MB / 0.668 GB, free: 81.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.01e-07/1.669, allocations: 2.438 kB / 0.668 GB, free: 81.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00434/1.673, allocations: 0.853 MB / 0.6688 GB, free: 81.93 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.001668/1.675, allocations: 0.599 MB / 0.6694 GB, free: 81.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01026/1.685, allocations: 3.814 MB / 0.6732 GB, free: 81.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/1.685, allocations: 4.531 kB / 0.6732 GB, free: 81.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006393/1.691, allocations: 2.321 MB / 0.6754 GB, free: 80.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004952/1.696, allocations: 0.573 MB / 0.676 GB, free: 80.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0218/1.718, allocations: 8.658 MB / 0.6844 GB, free: 77.49 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003146/1.722, allocations: 2.431 MB / 0.6868 GB, free: 76.69 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001766/1.723, allocations: 221.3 kB / 0.687 GB, free: 76.68 MB / 410.7 MB Notification: Performance of SimCode: time 1.333e-06/1.723, allocations: 0 / 0.687 GB, free: 76.68 MB / 410.7 MB Notification: Performance of Templates: time 0.1678/1.891, allocations: 110.5 MB / 0.7949 GB, free: 4.836 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'