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.001765/0.001765, allocations: 108.5 kB / 17.81 MB, free: 5.559 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.002036/0.002036, allocations: 197.9 kB / 18.73 MB, free: 4.641 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.913/1.913, allocations: 205.1 MB / 224.6 MB, free: 12.48 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.001308/0.001308, allocations: 47.92 kB / 280.6 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1624, allocations: 46.62 MB / 327.2 MB, free: 4.902 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise): time 0.01909/0.1815, allocations: 13.4 MB / 340.6 MB, free: 7.43 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01499/0.1966, allocations: 5.179 MB / 345.8 MB, free: 2.234 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004929/0.2016, allocations: 71.62 kB / 345.9 MB, free: 2.164 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003944/0.2056, allocations: 0.8195 MB / 346.7 MB, free: 1.34 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006318/0.212, allocations: 1.01 MB / 347.7 MB, free: 332 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003814/0.2158, allocations: 0.8898 MB / 348.6 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01038/0.2262, allocations: 4.451 MB / 353.1 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006805/0.2331, allocations: 2.604 MB / 355.7 MB, free: 8.293 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00464/0.2378, allocations: 1.557 MB / 357.2 MB, free: 6.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004684/0.2425, allocations: 2.129 MB / 359.4 MB, free: 4.594 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001071/0.2436, allocations: 296 kB / 359.6 MB, free: 4.305 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002591/0.2462, allocations: 0.5854 MB / 360.2 MB, free: 3.719 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001684/0.2479, allocations: 1.118 MB / 361.4 MB, free: 2.598 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004095/0.252, allocations: 1.967 MB / 363.3 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01055/0.2626, allocations: 6.259 MB / 369.6 MB, free: 10.35 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.435e-05/0.2627, allocations: 3.984 kB / 369.6 MB, free: 10.34 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.2627, allocations: 0 / 369.6 MB, free: 10.34 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003565/0.263, allocations: 4 kB / 369.6 MB, free: 10.34 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.02091/0.284, allocations: 4.344 MB / 373.9 MB, free: 5.926 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.195e-05/0.2841, allocations: 12.03 kB / 373.9 MB, free: 5.914 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0038/0.2879, allocations: 452.1 kB / 374.4 MB, free: 5.469 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008798/0.2967, allocations: 2.288 MB / 376.7 MB, free: 3.129 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001485/0.2983, allocations: 403.1 kB / 377.1 MB, free: 2.715 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002519/0.3009, allocations: 323.8 kB / 377.4 MB, free: 2.398 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3683/0.6692, allocations: 4.232 MB / 381.6 MB, free: 47.71 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001225/0.6693, allocations: 7.562 kB / 381.6 MB, free: 47.71 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003556/0.6697, allocations: 129.1 kB / 381.7 MB, free: 47.61 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002786/0.67, allocations: 148.5 kB / 381.9 MB, free: 47.59 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01099/0.681, allocations: 3.822 MB / 385.7 MB, free: 46.19 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03459/0.7156, allocations: 14.16 MB / 399.9 MB, free: 37.14 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003967/0.7197, allocations: 2.147 MB / 402 MB, free: 35.84 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002183/0.7219, allocations: 1.276 MB / 403.3 MB, free: 35.2 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003766/0.7223, allocations: 222.9 kB / 403.5 MB, free: 34.99 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002396/0.7248, allocations: 1.298 MB / 404.8 MB, free: 34.21 MB / 318.1 MB Notification: Performance of pre-optimization done (n=186): time 9.899e-06/0.7248, allocations: 0 / 404.8 MB, free: 34.21 MB / 318.1 MB Notification: Performance of matching and sorting (n=234): time 0.03096/0.7558, allocations: 12.77 MB / 417.6 MB, free: 23.03 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003527/0.7593, allocations: 3.267 MB / 420.8 MB, free: 19.59 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00624/0.7656, allocations: 2.29 MB / 423.1 MB, free: 17.27 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003743/0.7661, allocations: 81.69 kB / 423.2 MB, free: 17.18 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002015/0.7681, allocations: 1.497 MB / 424.7 MB, free: 15.67 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009761/0.7691, allocations: 0.7808 MB / 425.5 MB, free: 14.9 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001238/0.7704, allocations: 477.3 kB / 426 MB, free: 14.43 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.51e-05/0.7704, allocations: 305.1 kB / 426.3 MB, free: 14.12 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002015/0.7725, allocations: 1.29 MB / 427.5 MB, free: 12.83 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002607/0.7751, allocations: 1.933 MB / 429.5 MB, free: 10.64 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00448/0.7796, allocations: 3.287 MB / 432.8 MB, free: 7.078 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.117e-05/0.7796, allocations: 8 kB / 432.8 MB, free: 7.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=339) (initialization): time 0.006531/0.7862, allocations: 3.89 MB / 436.7 MB, free: 3.117 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.348e-05/0.7862, allocations: 12 kB / 436.7 MB, free: 3.105 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.277e-05/0.7862, allocations: 20 kB / 436.7 MB, free: 3.086 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001316/0.7876, allocations: 0.4957 MB / 437.2 MB, free: 2.578 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002529/0.7901, allocations: 0.6513 MB / 437.8 MB, free: 1.926 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006815/0.7969, allocations: 4.634 MB / 442.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003107/0.8001, allocations: 203.6 kB / 442.7 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002363/0.8003, allocations: 111.4 kB / 442.8 MB, free: 12.71 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.002959/0.8033, allocations: 1.09 MB / 443.9 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007493/0.804, allocations: 256.8 kB / 444.1 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007435/0.8115, allocations: 3.616 MB / 447.7 MB, free: 7.711 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.22e-05/0.8115, allocations: 24 kB / 447.8 MB, free: 7.688 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.8115, allocations: 0 / 447.8 MB, free: 7.688 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-05/0.8116, allocations: 11.97 kB / 447.8 MB, free: 7.676 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.02187/0.8335, allocations: 9.322 MB / 457.1 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.85e-05/0.8335, allocations: 0.6562 kB / 457.1 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002005/0.8355, allocations: 419.4 kB / 457.5 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00195/0.8375, allocations: 0.6315 MB / 458.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002649/0.8378, allocations: 55.97 kB / 458.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01121/0.849, allocations: 7.473 MB / 465.7 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004223/0.8533, allocations: 3.024 MB / 468.7 MB, free: 2.137 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01153/0.8649, allocations: 5.366 MB / 474.1 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002574/0.8675, allocations: 0.6229 MB / 474.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001151/0.8687, allocations: 51.94 kB / 474.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002412/0.8711, allocations: 147.8 kB / 474.9 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000726/0.8719, allocations: 193.6 kB / 475.1 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002137/0.8721, allocations: 63.98 kB / 475.1 MB, free: 11.63 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.004645/0.8768, allocations: 1.559 MB / 476.7 MB, free: 10.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.8768, allocations: 0 / 476.7 MB, free: 10.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.004797/0.8816, allocations: 0.7823 MB / 477.5 MB, free: 9.281 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.001706/0.8833, allocations: 367.8 kB / 477.8 MB, free: 8.945 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.008649/0.892, allocations: 3.68 MB / 481.5 MB, free: 5.199 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.334e-05/0.8921, allocations: 0 / 481.5 MB, free: 5.199 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004747/0.8968, allocations: 2.244 MB / 483.8 MB, free: 2.891 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005485/0.9023, allocations: 0.6084 MB / 484.4 MB, free: 2.277 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02242/0.9248, allocations: 8.686 MB / 493 MB, free: 9.543 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002772/0.9276, allocations: 2.358 MB / 495.4 MB, free: 7.148 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00164/0.9293, allocations: 215.4 kB / 495.6 MB, free: 6.938 MB / 382.1 MB Notification: Performance of SimCode: time 2.374e-06/0.9293, allocations: 0 / 495.6 MB, free: 6.938 MB / 382.1 MB Notification: Performance of Templates: time 0.4324/1.362, allocations: 115.5 MB / 0.5968 GB, free: 103.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