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: 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_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_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009392/0.0009388, allocations: 93.95 kB / 17.96 MB, free: 5.625 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.001425/0.001426, allocations: 175.8 kB / 18.86 MB, free: 4.773 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.973/1.973, allocations: 205.4 MB / 225 MB, free: 13.07 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.0005567/0.0005566, allocations: 12.22 kB / 282 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1289, allocations: 47.58 MB / 329.6 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise): time 0.0164/0.1454, allocations: 12.77 MB / 342.4 MB, free: 6.93 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01363/0.1591, allocations: 5.121 MB / 347.5 MB, free: 1.793 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003883/0.163, allocations: 63.69 kB / 347.6 MB, free: 1.73 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004029/0.1671, allocations: 0.8234 MB / 348.4 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006874/0.174, allocations: 1.022 MB / 349.4 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003715/0.1777, allocations: 0.878 MB / 350.3 MB, free: 15 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009449/0.1872, allocations: 4.451 MB / 354.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007318/0.1946, allocations: 2.577 MB / 357.3 MB, free: 7.883 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004296/0.1989, allocations: 1.358 MB / 358.7 MB, free: 6.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005235/0.2042, allocations: 1.879 MB / 360.6 MB, free: 4.633 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0014/0.2056, allocations: 204 kB / 360.8 MB, free: 4.434 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002618/0.2083, allocations: 0.5112 MB / 361.3 MB, free: 3.922 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001722/0.21, allocations: 0.981 MB / 362.2 MB, free: 2.938 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004459/0.2145, allocations: 1.836 MB / 364.1 MB, free: 1.086 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009784/0.2243, allocations: 6.089 MB / 370.2 MB, free: 10.98 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.178e-06/0.2244, allocations: 0 / 370.2 MB, free: 10.98 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.607e-06/0.2244, allocations: 4 kB / 370.2 MB, free: 10.98 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003679/0.2248, allocations: 0 / 370.2 MB, free: 10.98 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.0136/0.2384, allocations: 3.639 MB / 373.8 MB, free: 7.27 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.721e-05/0.2385, allocations: 12.03 kB / 373.8 MB, free: 7.258 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003184/0.2417, allocations: 452.1 kB / 374.3 MB, free: 6.812 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006532/0.2482, allocations: 2.296 MB / 376.6 MB, free: 4.465 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001046/0.2493, allocations: 415.2 kB / 377 MB, free: 4.039 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001025/0.2504, allocations: 315.9 kB / 377.3 MB, free: 3.73 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3214/0.5718, allocations: 4.271 MB / 381.5 MB, free: 46.55 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000165/0.572, allocations: 8.5 kB / 381.6 MB, free: 46.55 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003618/0.5724, allocations: 127 kB / 381.7 MB, free: 46.55 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002451/0.5726, allocations: 145.5 kB / 381.8 MB, free: 46.55 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01156/0.5842, allocations: 3.873 MB / 385.7 MB, free: 45.67 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03087/0.6151, allocations: 14.24 MB / 399.9 MB, free: 36.63 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004018/0.6192, allocations: 2.184 MB / 402.1 MB, free: 35.32 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002227/0.6215, allocations: 1.31 MB / 403.4 MB, free: 34.68 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003687/0.6219, allocations: 215 kB / 403.6 MB, free: 34.48 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002426/0.6243, allocations: 1.325 MB / 405 MB, free: 33.7 MB / 318.1 MB Notification: Performance of pre-optimization done (n=186): time 7.784e-06/0.6244, allocations: 0 / 405 MB, free: 33.7 MB / 318.1 MB Notification: Performance of matching and sorting (n=234): time 0.03094/0.6553, allocations: 13.04 MB / 418 MB, free: 22.73 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003606/0.6589, allocations: 3.264 MB / 421.3 MB, free: 19.29 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004641/0.6636, allocations: 2.287 MB / 423.6 MB, free: 16.97 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000311/0.664, allocations: 77.69 kB / 423.6 MB, free: 16.89 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001493/0.6655, allocations: 1.497 MB / 425.1 MB, free: 15.38 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009011/0.6664, allocations: 0.7845 MB / 425.9 MB, free: 14.6 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004377/0.6669, allocations: 215.1 kB / 426.1 MB, free: 14.38 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.974e-05/0.667, allocations: 305.1 kB / 426.4 MB, free: 14.08 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00235/0.6693, allocations: 1.301 MB / 427.7 MB, free: 12.78 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002682/0.672, allocations: 1.948 MB / 429.7 MB, free: 10.57 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004889/0.6769, allocations: 3.316 MB / 433 MB, free: 6.977 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-05/0.677, allocations: 8 kB / 433 MB, free: 6.969 MB / 318.1 MB Notification: Performance of matching and sorting (n=339) (initialization): time 0.007148/0.6841, allocations: 3.91 MB / 436.9 MB, free: 2.996 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.799e-05/0.6842, allocations: 12.98 kB / 436.9 MB, free: 2.984 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.811e-05/0.6842, allocations: 16 kB / 436.9 MB, free: 2.969 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001334/0.6856, allocations: 0.4995 MB / 437.4 MB, free: 2.457 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002597/0.6882, allocations: 0.667 MB / 438.1 MB, free: 1.789 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007042/0.6952, allocations: 4.651 MB / 442.7 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003049/0.6983, allocations: 211.7 kB / 443 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005709/0.6989, allocations: 111.9 kB / 443.1 MB, free: 12.55 MB / 334.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,globalSeed.id_impure,globalSeed.seed,motor.uniformNoise.actualGlobalSeed,motor.uniformNoise.localSeed,gearbox.lossyGear.ideal,gearbox.lossyGear.mode,$PRE.gearbox.lossyGear.mode,gearbox.lossyGear.locked,gearbox.lossyGear.startBackward,gearbox.lossyGear.startForward,gearbox.lossyGear.tau_aPos,motor.uniformNoise.r_raw,$PRE.motor.uniformNoise.r_raw,motor.uniformNoise.r,$PRE.motor.uniformNoise.r,motor.uniformNoise.state[4],$PRE.motor.uniformNoise.state[4],motor.uniformNoise.state[3],$PRE.motor.uniformNoise.state[3],motor.uniformNoise.state[2],$PRE.motor.uniformNoise.state[2],motor.uniformNoise.state[1],$PRE.motor.uniformNoise.state[1]) * 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 (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,23)} Notification: Performance of prepare postOptimizeDAE: time 0.003824/0.7028, allocations: 1.086 MB / 444.2 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001204/0.704, allocations: 256.8 kB / 444.4 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009039/0.713, allocations: 3.675 MB / 448.1 MB, free: 7.488 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.591e-05/0.7131, allocations: 24 kB / 448.1 MB, free: 7.465 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.804e-05/0.7131, allocations: 4 kB / 448.1 MB, free: 7.461 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.142e-05/0.7132, allocations: 11.95 kB / 448.1 MB, free: 7.449 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.02363/0.7368, allocations: 9.401 MB / 457.5 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.595e-05/0.7369, allocations: 4 kB / 457.5 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002169/0.739, allocations: 431.6 kB / 457.9 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002112/0.7412, allocations: 0.6289 MB / 458.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000321/0.7416, allocations: 51.97 kB / 458.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01148/0.7531, allocations: 7.494 MB / 466.1 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004245/0.7574, allocations: 3.021 MB / 469.1 MB, free: 1.793 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01218/0.7696, allocations: 5.458 MB / 474.6 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002142/0.7718, allocations: 0.6382 MB / 475.2 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009935/0.7728, allocations: 48 kB / 475.3 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002226/0.775, allocations: 163.8 kB / 475.4 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005814/0.7757, allocations: 189.6 kB / 475.6 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001973/0.7759, allocations: 67.97 kB / 475.7 MB, free: 11.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.004458/0.7803, allocations: 1.563 MB / 477.3 MB, free: 9.582 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.7804, allocations: 4 kB / 477.3 MB, free: 9.578 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.004543/0.7849, allocations: 0.7784 MB / 478 MB, free: 8.809 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 (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (3,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001329/0.7863, allocations: 367.4 kB / 478.4 MB, free: 8.477 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.008798/0.7951, allocations: 3.719 MB / 482.1 MB, free: 4.688 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.486e-05/0.7951, allocations: 0 / 482.1 MB, free: 4.688 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005148/0.8003, allocations: 2.279 MB / 484.4 MB, free: 2.348 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006217/0.8065, allocations: 0.6046 MB / 485 MB, free: 1.738 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02057/0.8271, allocations: 8.899 MB / 493.9 MB, free: 8.777 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002562/0.8298, allocations: 2.358 MB / 496.3 MB, free: 6.383 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001308/0.8311, allocations: 211.4 kB / 496.5 MB, free: 6.176 MB / 382.1 MB Notification: Performance of SimCode: time 1.082e-06/0.8311, allocations: 0 / 496.5 MB, free: 6.176 MB / 382.1 MB Notification: Performance of Templates: time 0.5379/1.369, allocations: 115 MB / 0.5971 GB, free: 102.3 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.makefile make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoiseCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoiseCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoiseCalcHelperMain.o] Error 1