Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Noise.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_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise") translateModel(Modelica.Blocks.Examples.Noise.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_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009766/0.0009769, allocations: 92.81 kB / 16.95 MB, free: 6.41 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.001118/0.001118, allocations: 179.8 kB / 17.84 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 223.2 MB / 241.9 MB, free: 308 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002821/0.0002821, allocations: 8 kB / 301.5 MB, free: 6.445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1159, allocations: 50.42 MB / 351.9 MB, free: 4.016 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ActuatorWithNoise): time 0.01275/0.1287, allocations: 12.02 MB / 363.9 MB, free: 7.945 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01083/0.1396, allocations: 4.904 MB / 368.8 MB, free: 3.031 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002752/0.1424, allocations: 75.62 kB / 368.9 MB, free: 2.957 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002632/0.1451, allocations: 0.7259 MB / 369.6 MB, free: 2.227 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003877/0.149, allocations: 0.939 MB / 370.5 MB, free: 1.285 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom‘ contains a call to impure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState‘. Notification: Performance of NFTyping.typeClassSections: time 0.002267/0.1512, allocations: 0.5999 MB / 371.1 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.2433/0.3945, allocations: 4.064 MB / 375.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003518/0.3981, allocations: 2.176 MB / 377.4 MB, free: 9.684 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003108/0.4012, allocations: 1.344 MB / 378.7 MB, free: 9.684 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002987/0.4042, allocations: 1.799 MB / 380.5 MB, free: 9.441 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000471/0.4047, allocations: 203.7 kB / 380.7 MB, free: 9.441 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001406/0.4061, allocations: 448 kB / 381.2 MB, free: 9.434 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001443/0.4076, allocations: 0.9724 MB / 382.1 MB, free: 9.297 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001187/0.4088, allocations: 0.7611 MB / 382.9 MB, free: 9.145 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006906/0.4157, allocations: 6.078 MB / 389 MB, free: 6.961 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.857e-06/0.4157, allocations: 3.594 kB / 389 MB, free: 6.961 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.4157, allocations: 0 / 389 MB, free: 6.961 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001737/0.4159, allocations: 0 / 389 MB, free: 6.961 MB / 302.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.009324/0.4253, allocations: 3.686 MB / 392.7 MB, free: 4.824 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.4253, allocations: 11.39 kB / 392.7 MB, free: 4.824 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001773/0.4271, allocations: 447.5 kB / 393.1 MB, free: 4.613 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004217/0.4313, allocations: 2.326 MB / 395.4 MB, free: 3.703 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006678/0.432, allocations: 428.1 kB / 395.8 MB, free: 3.562 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004862/0.4325, allocations: 328.5 kB / 396.2 MB, free: 3.547 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008442/0.441, allocations: 4.249 MB / 400.4 MB, free: 2.199 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.935e-05/0.4411, allocations: 7.031 kB / 400.4 MB, free: 2.195 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003072/0.4414, allocations: 126.9 kB / 400.5 MB, free: 2.098 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001611/0.4416, allocations: 149.9 kB / 400.7 MB, free: 2.07 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007429/0.449, allocations: 3.853 MB / 404.5 MB, free: 14.37 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03531/0.4844, allocations: 14.21 MB / 418.8 MB, free: 15.9 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004733/0.4891, allocations: 2.168 MB / 420.9 MB, free: 13.65 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002921/0.4921, allocations: 1.315 MB / 422.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004763/0.4926, allocations: 217.3 kB / 422.5 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003312/0.496, allocations: 1.322 MB / 423.8 MB, free: 10.75 MB / 334.1 MB Notification: Performance of pre-optimization done (n=186): time 7.434e-06/0.496, allocations: 0 / 423.8 MB, free: 10.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=234): time 0.03665/0.5327, allocations: 13.02 MB / 436.8 MB, free: 13.63 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004803/0.5375, allocations: 3.258 MB / 440.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004671/0.5422, allocations: 2.272 MB / 442.3 MB, free: 7.898 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006001/0.5429, allocations: 77.7 kB / 442.4 MB, free: 7.816 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001789/0.5447, allocations: 1.496 MB / 443.9 MB, free: 6.305 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001012/0.5457, allocations: 0.7845 MB / 444.7 MB, free: 5.527 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001536/0.5459, allocations: 49.53 kB / 444.7 MB, free: 5.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0003328/0.5462, allocations: 415.4 kB / 445.1 MB, free: 5.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002483/0.5487, allocations: 1.286 MB / 446.4 MB, free: 3.781 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002784/0.5515, allocations: 1.935 MB / 448.4 MB, free: 1.586 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002665/0.5542, allocations: 1.553 MB / 449.9 MB, free: 12 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.291e-05/0.5542, allocations: 7.953 kB / 449.9 MB, free: 4 kB / 350.1 MB Notification: Performance of matching and sorting (n=339) (initialization): time 0.007285/0.5615, allocations: 3.883 MB / 453.8 MB, free: 12.06 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.22e-05/0.5615, allocations: 12 kB / 453.8 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-05/0.5616, allocations: 16 kB / 453.8 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001275/0.5629, allocations: 0.5073 MB / 454.3 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002473/0.5653, allocations: 0.6631 MB / 455 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005776/0.5711, allocations: 4.65 MB / 459.7 MB, free: 5.934 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002862/0.574, allocations: 203.8 kB / 459.9 MB, free: 5.734 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002816/0.5743, allocations: 104 kB / 460 MB, free: 5.633 MB / 366.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,$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 (308): * Single equations (assignments): 303 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * 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.002951/0.5773, allocations: 1.09 MB / 461 MB, free: 4.535 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008396/0.5781, allocations: 256.8 kB / 461.3 MB, free: 4.281 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008023/0.5862, allocations: 3.655 MB / 465 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.359e-05/0.5862, allocations: 20 kB / 465 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.5862, allocations: 4 kB / 465 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-05/0.5863, allocations: 11.95 kB / 465 MB, free: 0.5586 MB / 366.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.0198/0.6061, allocations: 9.427 MB / 474.4 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-05/0.6061, allocations: 0 / 474.4 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001924/0.6081, allocations: 431.6 kB / 474.8 MB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001849/0.6099, allocations: 0.6334 MB / 475.5 MB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002286/0.6102, allocations: 51.97 kB / 475.5 MB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009993/0.6202, allocations: 7.47 MB / 483 MB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003974/0.6242, allocations: 3.031 MB / 486 MB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01024/0.6345, allocations: 5.418 MB / 491.4 MB, free: 5.426 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002209/0.6368, allocations: 0.6345 MB / 492.1 MB, free: 4.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005114/0.6373, allocations: 51.98 kB / 492.1 MB, free: 4.719 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001464/0.6388, allocations: 163.8 kB / 492.3 MB, free: 4.559 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005523/0.6393, allocations: 197.6 kB / 492.5 MB, free: 4.367 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001522/0.6395, allocations: 63.97 kB / 492.5 MB, free: 4.305 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.003126/0.6426, allocations: 1.551 MB / 494.1 MB, free: 2.738 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.765e-06/0.6427, allocations: 0 / 494.1 MB, free: 2.738 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003812/0.6465, allocations: 0.7848 MB / 494.9 MB, free: 1.957 MB / 398.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 (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%) 8} * Non-linear torn systems: 1 {2 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.001083/0.6476, allocations: 311.5 kB / 495.2 MB, free: 1.676 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006887/0.6545, allocations: 3.703 MB / 498.9 MB, free: 13.9 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/0.6545, allocations: 0.5 kB / 498.9 MB, free: 13.9 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004004/0.6585, allocations: 2.261 MB / 0.4894 GB, free: 11.58 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003869/0.6624, allocations: 0.6158 MB / 0.49 GB, free: 10.97 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01854/0.681, allocations: 8.523 MB / 0.4983 GB, free: 2.398 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002677/0.6837, allocations: 2.362 MB / 0.5006 GB, free: 0 / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001571/0.6853, allocations: 215.4 kB / 0.5008 GB, free: 15.79 MB / 430.1 MB Notification: Performance of SimCode: time 1.814e-06/0.6853, allocations: 4 kB / 0.5008 GB, free: 15.79 MB / 430.1 MB Notification: Performance of Templates: time 0.3893/1.075, allocations: 115 MB / 0.6131 GB, free: 84.36 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.makefile make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoiseCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoiseCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoiseCalcHelperMain.o] Error 1