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.001508/0.001508, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.964/1.964, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001099/0.001099, allocations: 97.72 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.073e-05/2.074e-05, allocations: 4 kB / 314.8 MB, free: 9.176 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3294, allocations: 47.57 MB / 362.3 MB, free: 45.85 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2041/0.5336, allocations: 123.9 MB / 486.2 MB, free: 10.39 MB / 379.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/0.5339, allocations: 87.95 kB / 486.3 MB, free: 10.3 MB / 379.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.5761/1.11, allocations: 78.29 MB / 0.5513 GB, free: 92.52 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.653e-06/1.11, allocations: 3.938 kB / 0.5513 GB, free: 92.52 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0004364/1.111, allocations: 87.94 kB / 0.5514 GB, free: 92.43 MB / 395.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.01264/1.123, allocations: 3.287 MB / 0.5546 GB, free: 89.09 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/1.123, allocations: 12.03 kB / 0.5547 GB, free: 89.08 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002994/1.126, allocations: 460.1 kB / 0.5551 GB, free: 88.62 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01273/1.139, allocations: 2.558 MB / 0.5576 GB, free: 86.05 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001227/1.14, allocations: 259.2 kB / 0.5578 GB, free: 85.78 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001972/1.142, allocations: 187.9 kB / 0.558 GB, free: 85.6 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01326/1.156, allocations: 3.304 MB / 0.5612 GB, free: 82.29 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01304/1.169, allocations: 3.65 MB / 0.5648 GB, free: 78.5 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002434/1.169, allocations: 11.91 kB / 0.5648 GB, free: 78.49 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001067/1.17, allocations: 7.984 kB / 0.5648 GB, free: 78.48 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002037/1.17, allocations: 138.1 kB / 0.565 GB, free: 78.34 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04905/1.219, allocations: 13.41 MB / 0.5781 GB, free: 64.7 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007337/1.227, allocations: 2.048 MB / 0.5801 GB, free: 62.57 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004665/1.232, allocations: 1.151 MB / 0.5812 GB, free: 61.42 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008546/1.232, allocations: 239.1 kB / 0.5814 GB, free: 61.16 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005223/1.238, allocations: 1.198 MB / 0.5826 GB, free: 59.93 MB / 395.1 MB Notification: Performance of pre-optimization done (n=197): time 1.216e-05/1.238, allocations: 0 / 0.5826 GB, free: 59.93 MB / 395.1 MB Notification: Performance of matching and sorting (n=250): time 0.04964/1.287, allocations: 9.483 MB / 0.5918 GB, free: 50.42 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/1.288, allocations: 188.2 kB / 0.592 GB, free: 50.2 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006481/1.294, allocations: 1.635 MB / 0.5936 GB, free: 48.53 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008771/1.295, allocations: 37.69 kB / 0.5937 GB, free: 48.49 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002384/1.298, allocations: 1.405 MB / 0.595 GB, free: 47.07 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001944/1.3, allocations: 0.8069 MB / 0.5958 GB, free: 46.25 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007389/1.3, allocations: 4 kB / 0.5958 GB, free: 46.25 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0003755/1.301, allocations: 420.5 kB / 0.5962 GB, free: 45.83 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005122/1.306, allocations: 1.228 MB / 0.5974 GB, free: 44.6 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006061/1.312, allocations: 1.841 MB / 0.5992 GB, free: 42.5 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00658/1.319, allocations: 1.514 MB / 0.6007 GB, free: 40.97 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.524e-05/1.319, allocations: 4 kB / 0.6007 GB, free: 40.97 MB / 395.1 MB Notification: Performance of matching and sorting (n=353) (initialization): time 0.01665/1.335, allocations: 3.491 MB / 0.6041 GB, free: 37.42 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.642e-05/1.336, allocations: 15.98 kB / 0.6041 GB, free: 37.4 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.386e-05/1.336, allocations: 16 kB / 0.6041 GB, free: 37.39 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003021/1.339, allocations: 499.5 kB / 0.6046 GB, free: 36.89 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008214/1.347, allocations: 0.6903 MB / 0.6053 GB, free: 36.2 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009558/1.357, allocations: 4.482 MB / 0.6097 GB, free: 31.49 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003887/1.361, allocations: 151.8 kB / 0.6098 GB, free: 31.34 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006223/1.361, allocations: 115.9 kB / 0.6099 GB, free: 31.23 MB / 395.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: gearbox.flange_a.tau:VARIABLE(flow=true unit = "N.m" ) "Cut torque in the flange" type: Real gearbox.lossyGear.sa:VARIABLE(unit = "1" ) "Path parameter for acceleration and torque loss" type: Real 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 (322): * Single equations (assignments): 316 * 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.0007836/1.362, allocations: 191.8 kB / 0.6101 GB, free: 31.04 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008356/1.363, allocations: 252.9 kB / 0.6103 GB, free: 30.79 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009189/1.372, allocations: 3.403 MB / 0.6137 GB, free: 27.36 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.719e-05/1.372, allocations: 24 kB / 0.6137 GB, free: 27.34 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/1.372, allocations: 4 kB / 0.6137 GB, free: 27.34 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.502e-05/1.372, allocations: 11.95 kB / 0.6137 GB, free: 27.32 MB / 395.1 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.02317/1.395, allocations: 8.912 MB / 0.6224 GB, free: 18.33 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.687e-05/1.396, allocations: 4 kB / 0.6224 GB, free: 18.33 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004085/1.4, allocations: 475.5 kB / 0.6229 GB, free: 17.86 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002778/1.402, allocations: 0.6474 MB / 0.6235 GB, free: 17.2 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005174/1.403, allocations: 23.97 kB / 0.6235 GB, free: 17.18 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01181/1.415, allocations: 7.506 MB / 0.6309 GB, free: 9.336 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005393/1.42, allocations: 3.239 MB / 0.634 GB, free: 5.973 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01293/1.433, allocations: 5.28 MB / 0.6392 GB, free: 0.5859 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00259/1.436, allocations: 0.6296 MB / 0.6398 GB, free: 15.94 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001109/1.437, allocations: 15.98 kB / 0.6398 GB, free: 15.93 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003671/1.441, allocations: 135.8 kB / 0.6399 GB, free: 15.79 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001058/1.442, allocations: 209.6 kB / 0.6401 GB, free: 15.59 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003608/1.442, allocations: 75.97 kB / 0.6402 GB, free: 15.51 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.003417/1.446, allocations: 1.218 MB / 0.6414 GB, free: 14.27 MB / 411.1 MB Notification: Performance of sort global known variables: time 8.31e-07/1.446, allocations: 0 / 0.6414 GB, free: 14.27 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.005038/1.451, allocations: 0.7304 MB / 0.6421 GB, free: 13.54 MB / 411.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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (208): * Single equations (assignments): 202 * 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.001984/1.453, allocations: 0.5585 MB / 0.6427 GB, free: 13.03 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.009835/1.463, allocations: 3.508 MB / 0.6461 GB, free: 9.453 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 9.838e-06/1.463, allocations: 5.562 kB / 0.6461 GB, free: 9.449 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006338/1.469, allocations: 2.141 MB / 0.6482 GB, free: 7.254 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004818/1.474, allocations: 477.2 kB / 0.6486 GB, free: 6.785 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02025/1.494, allocations: 5.935 MB / 0.6544 GB, free: 0.7773 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2918/1.786, allocations: 2.442 MB / 0.6568 GB, free: 97.96 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001822/1.788, allocations: 212.8 kB / 0.657 GB, free: 97.95 MB / 411.1 MB Notification: Performance of SimCode: time 1.293e-06/1.788, allocations: 6.344 kB / 0.657 GB, free: 97.95 MB / 411.1 MB Notification: Performance of Templates: time 0.1801/1.968, allocations: 108.7 MB / 0.7632 GB, free: 27.94 MB / 411.1 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/OMCompiler/build/include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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:3126: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'